[ https://issues.apache.org/jira/browse/OFBIZ-10570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suraj Khurana closed OFBIZ-10570. --------------------------------- > 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 > Priority: Major > Fix For: Trunk > > Attachments: OFBIZ-10570.patch > > > 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)