ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amardeep Singh Jhajj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OFBIZ-5027) Product Facility record should be created in case of its no record when calling setLastInventoryCount service as EECA.
Date Thu, 06 Sep 2012 06:15:07 GMT
Amardeep Singh Jhajj created OFBIZ-5027:
-------------------------------------------

             Summary: Product Facility record should be created in case of its no record when
calling setLastInventoryCount service as EECA.
                 Key: OFBIZ-5027
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5027
             Project: OFBiz
          Issue Type: Improvement
          Components: product
            Reporter: Amardeep Singh Jhajj
            Priority: Minor
             Fix For: Release Branch 10.04, Release Branch 11.04, SVN trunk, Release Branch
12.04


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message