Details
-
Improvement
-
Status: Reopened
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
Bug Crush Event - 21/2/2015
Description
Currently, ProductFacility record is updated by setLastInventoryCount service when create-store-remove operation performed on InventoryItemDetail entity (by EECA).
This service is called to update lastInventoryCount field in ProductFacility and this field helps us for checking product in-stock/out-of-stock.
This service helps only when ProductFacility will already present. Suppose, if catalog manager forgot to setup facility or deleted it at
https://demo-trunk.ofbiz.apache.org:8443/catalog/control/EditProductFacilities?productId=WG-9943-B3
and just setup Inventory during product setup then setLastInventoryCount service would not be helpful.
So in my opinion, here ProductFacility should be first created in case of its no record when updating lastInventoryCount in ProductFacility.
I am attaching patch for the same here.
Attachments
Attachments
Issue Links
- relates to
-
OFBIZ-6964 Support for replenishment of a secondary warehouse from a main warehouse
- Patch Available