[ 
https://issues.apache.org/jira/browse/OFBIZ-7481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338119#comment-15338119
 ] 

Pierre Smits commented on OFBIZ-7481:
-------------------------------------

Additional info:
It can occur that a product ordered is sent to the wrong warehouse. In a JIT 
setup it could be so that it is preferred to accept the product and transfer it 
internally to the right warehouse, in stead of contacting the supplier and 
waiting for a transporter to pick it up, etc. In such case it is possible that 
there is no association between the warehouse and the product, and then the 
association should be created automatically.

But what if a warehouse operator isn't allowed to adjust product details? How 
do we handle that scenario? Then the inventory registration should fail. Nor 
should he be able to assign the inventory to a warehouse he is not associated 
with.


> ProductFacility record must exist before creating inventoryItem for a facility
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7481
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7481
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: 14.12.01, Upcoming Branch, 15.12.01, 13.07.04
>            Reporter: Suraj Khurana
>            Assignee: Suraj Khurana
>
> ProductFacility entity is used to decide that  a particular  product is 
> maintained in which facility. So, in case of receiving a product in a 
> facility or in case creating InventoryItem for a facility, the 
> ProductFacility record must exist. But in these cases, currently in OFBiz 
> inventoryItem gets created even if ProductFacility record doesn't exist.
> Proposed solution:
> 1) In receiveInventoryProduct service check and create ProductFacility record 
> if not exist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to