Suraj Khurana created OFBIZ-10570: ------------------------------------- Summary: Requirement is created for wrong facility Key: OFBIZ-10570 URL: https://issues.apache.org/jira/browse/OFBIZ-10570 Project: OFBiz Issue Type: Improvement Components: order Affects Versions: Upcoming Branch Reporter: Suraj Khurana Assignee: Suraj Khurana
Design description: In service _createAutoRequirementsForOrder_ ProductStore.inventoryFacilityId is directly used for creating requirement. Here, an order can have multiple ship group and each ship group can be fulfilled from various facilities, so instead of creating requirement for ProductStore.inventoryFacilityId, it should create requirement using OrderItemShipGroup.facilityId. If not found, we can have an additional check to use orderHeader.facilityId. -- This message was sent by Atlassian JIRA (v7.6.3#76005)