Question & Answer
Question
How do you stop consumption of node capacity for a Transfer Order in IBM Sterling Order Management?
Cause
You want to continue node capacity consumption for Sales Order only.
Answer
Sales Order is created with SuppressNodeCapacity="Y" at OrderLineSourcingCntrl but when Transfer Order is created the node capacity is still consumed from the procurement node.
<Order DocumentType="0001" DraftOrderFlag="N" EnterpriseCode="ENT" SellerOrganizationCode="ENT">
<OrderLines>
<OrderLine ItemGroupCode="PROD" PrimeLineNo="1" OrderedQty="1" ShipNode="Nod"
DeliveryMethod="PICK">
<Item ItemID="Item1" UnitOfMeasure="EACH"/>
<OrderLineSourcingControls>
<OrderLineSourcingCntrl Node="DC" SuppressNodeCapacity="Y" />
</OrderLineSourcingControls>
<PersonInfoShipTo Country="US" ZipCode="60601" />
</OrderLine>
</OrderLines>
<PersonInfoBillTo Country="US" ZipCode="60601"/>
</Order>
Order line sourcing control is not propagated from Sales Order to Transfer Order automatically.
Order line sourcing control are for an order line in which it is specified and is not copied to chained order. Hence it is not available in chained order propagation template.
Steps to resolve:
- Keep the configuration for procurement as it is for item and node being used.
- Create sales order for item and node as mentioned above.
- Implement YFSBeforeCreateOrderUE such that if document type is 0006, a sourcing control is added to an order line based on node of an order line.
- Schedule Sales Order. This will create Transfer order.
Since transfer order is being created, YFSBeforeCreateOrderUE will be invoked and an order line sourcing control is appended on it.
Below element needs to be appended in chained order line:
<OrderLineSourcingControls>
<OrderLineSourcingCntrl Node="DC" SuppressNodeCapacity="Y"/>
</OrderLineSourcingControls>
- This way transfer order is created and node capacity is not consumed at the procurement node.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg22009404