Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRP Product Info might leave back stale entries after fast changes #409

Open
metas-ts opened this issue Sep 20, 2016 · 0 comments
Open

MRP Product Info might leave back stale entries after fast changes #409

metas-ts opened this issue Sep 20, 2016 · 0 comments
Assignees

Comments

@metas-ts
Copy link
Member

Thx for @metas-dh for finding the issue during e2e :-)

Problem

  • reactivate a order that has DateOrdered='2016-09-19'
    • the C_OrderLines are enqueued for the UpdateMRPProductInfoTableWorkPackageProcessor
    • this processor is busy and can'T process the update right now
  • change the ordered's DateOrderd to '2016-09-20' and complete it
    • the C_OrderLines are again enqueued for the UpdateMRPProductInfoTableWorkPackageProcessor, (but note that this doesn't really matter anymore)
    • only now does the processor get to process the first work package.
    • the processor extracts the date ('2016-09-20') and updates the X_MRP_ProductInfo_Detail_MV table. the old record that was about '2016-09-19' stays behind and becomes stale

Solution

  • we need to store the parameters (date, and product, for that matter) as async-parameters instead of extracting them when they might already have been changed
  • this means that we need to create as many packages as we have different parameters..or we prefix the params..
metas-ts added a commit that referenced this issue Sep 20, 2016
metas-ts added a commit that referenced this issue Sep 20, 2016
…el is enqueued

this way we avoid stale records if date or product are already different
at the time async processing starts
@metas-ts metas-ts self-assigned this Sep 20, 2016
metas-ts added a commit that referenced this issue Sep 20, 2016
FRESH-697 #409 MRP Product Info might leave back stale entries after fast changes
metas-ts added a commit that referenced this issue Sep 29, 2016
…fast changes

* allowing the same item to be collected more than once, see code
comment
metas-ts added a commit that referenced this issue Oct 5, 2016
…fast changes

* be lenient towards missing parameters
* fix a bug wrt PMM_PurchaseCandidate
metas-ts added a commit that referenced this issue Oct 5, 2016
…fast changes

slightly related: add Q&D AD_Process to process workpackages in a crude
manner
metas-ts added a commit that referenced this issue Oct 7, 2016
metas-ts added a commit that referenced this issue Oct 10, 2016
metas-ts added a commit that referenced this issue May 25, 2017
[#409](metasfresh/metasfresh-webui-api-legacy#409) backend: change view attributes endpoint location
[#1639](#1635) cannot complete distribution order
[#760](metasfresh/metasfresh-webui-frontend-legacy#760) Fix the texts displayed while loading
[#787](metasfresh/metasfresh-webui-frontend-legacy#787) window endpoint: change "attribute" to "field"
 [#763](metasfresh/metasfresh-webui-frontend-legacy#763) grid: right click on a cell and zoom into
 * [#1617](#1617) Check if imported esr file is v11 file
* [#1615](#1615) Address lines is cut off on shipment jasper document
* [#1591](#1591) Password Field is missing in user window in WebUI
* [#1586](#1586) New Window for OrgType in WebUI
* [#1584](#1584) New Window for Org in WebUI
* [#1585](#1585) New Window Client in WebUI
* [#762](metasfresh/metasfresh-webui-frontend-legacy#762) Empty Filter vs. Default Value in Window Filtering
* [#778](metasfresh/metasfresh-webui-frontend-legacy#778) Yellow pulse effect w/o data change
* [#407](metasfresh/metasfresh-webui-api-legacy#407) View filtering by virtual SQL column not working
* [#412](metasfresh/metasfresh-webui-api-legacy#412) Provide API for sorting included tab
* [#411](metasfresh/metasfresh-webui-api-legacy#411) Provide "size" to layout element
* [#396](metasfresh/metasfresh-webui-api-legacy#396) Vendor Return Actions in WebUI
* [#772](metasfresh/metasfresh-webui-frontend-legacy#772) automatic Column sizing not showing all text although space would be available
* [#774](metasfresh/metasfresh-webui-frontend-legacy#774) Fix invalid "GET /window/{windowId}/{tabId} call
* [#764](metasfresh/metasfresh-webui-frontend-legacy#764) Long text boxes shall have a border around
* [#769](metasfresh/metasfresh-webui-frontend-legacy#769) Honor tab stale flag also when editing in advanced mode
* [#767](metasfresh/metasfresh-webui-frontend-legacy#767) Got same notification several times
^* [#766](metasfresh/metasfresh-webui-frontend-legacy#766) issue panel doesn't open
* [#765](metasfresh/metasfresh-webui-frontend-legacy#765) Date + Time Info in Notification window
[#378](metasfresh/metasfresh-webui-api-legacy#378) Document changes: provide the validStatus and saveStatus only when changed
* [#405](metasfresh/metasfresh-webui-api-legacy#405) Backend shall provide JSON document fields indexed by field's name
* [#1560](#1560) Add description fields to invoice window
* [#1577](#1577) Introduce /test/ping/notifications server troubleshooting endpoint

me-45
dragospodariu96 added a commit that referenced this issue Jan 8, 2020
dragospodariu96 added a commit that referenced this issue Jan 9, 2020
dragospodariu96 added a commit that referenced this issue Jan 10, 2020
#409 Aded UOM conversion check when adding a new price to a product.
metas-ts pushed a commit that referenced this issue Jan 10, 2020
metas-ts pushed a commit that referenced this issue Jan 10, 2020
(cherry picked from commit 7c3e298)
metas-ts pushed a commit that referenced this issue Jan 10, 2020
metas-ts pushed a commit that referenced this issue Jan 10, 2020
metas-ts pushed a commit that referenced this issue Jan 10, 2020
metas-ts pushed a commit that referenced this issue Jan 10, 2020
metas-ts pushed a commit that referenced this issue Jan 10, 2020
(cherry picked from commit b603656)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant