[ https://issues.apache.org/jira/browse/OFBIZ-7481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vaibhav Jain reassigned OFBIZ-7481: ----------------------------------- Assignee: Vaibhav Jain (was: Suraj Khurana) > 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, 16.11.01, 15.12.01, 13.07.04 > Reporter: Suraj Khurana > Assignee: Vaibhav Jain > > 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.4.14#64029)