Extend the drop shipment process to manage an agreement for the supplier related to the order context. For a supplier we have different agreements with same products but on different prices Agreement A GIZMO-1 100€ GIZMO-1 110$ Agreement B GIZMO-1 90€ Agreement C GIZMO-1 600¥ During sales order process we resolve the purchase agreement that match the case and put on OrderItemShipGroup related to the supplier. Like that when the drop shipment process run it to resolve the product price for the agreement present on the OrderItemShipGroup. With this implementation we have an adaptable system to manage complex case. Properly this patch implemented : an attribute on entity OrderItemShipGroup.supplierAgreementId an attribute on entity OrderHeader.agreementId (necessary when you update the order to keep the price) update the service caculatePurchasePrice for resolve the price from a agreement if it's present update the shoppingCart to insert a purchase agreement git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825002 13f79535-47bb-0310-9956-ffa450edef68
Datamodel component
This OFBiz component contains all entity definitions used in the various components in the base and plugins stack.
more information
For more information about this component visit the product page in the OFBiz WIKI, which can be found at https://cwiki.apache.org/confluence/display/OFBIZ/Datamodel
issues
JIRA issues related to this component can be found at https://issues.apache.org/jira/browse/OFBIZ/component/12330107
commits
Committed revisions can be viewed at https://svn.apache.org/viewvc/ofbiz/trunk/applications/datamodel/