- Link from ReceiveInventoryAgainstPurchaseOrder and orderview (for approved purchase orders) screens calls completePurchaseOrder service group
- Unreceived order item quantities are cancelled and product requirements generated for those quantities
- Order item status set to completed (or cancelled, if total quantity was cancelled)
- checkOrderItemStatus service is called to make sure that the order status correctly reflects the item statuses
Small fixes to ReceiveInventoryAgainstPurchaseOrder screen:
- Adding a UPCA column
- Cancelled quantity in a separate column
- Using orderItem to calculate quantities instead of orderItemAndShipGroupAssoc, since the latter can have its quantity figure manipulated in some cases
- Formatting fixes and fix to possible NPE when an orderId is not passed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520120 13f79535-47bb-0310-9956-ffa450edef68
- If a product is set to always drop ship (Product.requirementMethodEnumId == 'PRODRQM_DS').
- If a product is set to drop ship when inventory is low (Product.requirementMethodEnumId == 'PRODRQM_DSATP'). In this case, item quantities > ATP will be drop shipped.
- Items are reassigned to ship groups based on supplier.
- Ship groups are created if necessary.
- Suppliers are determined using by ProductSupplier.canDropShip == Y, and ProductSupplier.supplierPrefOrderId - main suppliers are used in preference to alternate suppliers.
- Changing Enumeration.enumId PRODRQM_DSQOH to PRODRQM_DSATP in ProductTypeData.xml.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512373 13f79535-47bb-0310-9956-ffa450edef68