Troubleshooting
Problem
Attempt to run getCompleteOrderLineDetails API does not return container details in IBM Sterling Order Management.
Symptom
Steps to reproduce:
- Create an Order.
- Schedule and Release the Order.
- Execute createShipment API using the following input:
<Shipment Action="Create" DocumentType="0001" IgnoreOrdering="Y">
<ShipmentLines>
<ShipmentLine OrderNo="Y100000400" UnitOfMeasure="EACH" ReleaseNo="1"
OrderLineKey="2017041717335644506" Quantity="1"/>
</ShipmentLines>
<Containers>
<Container ContainerNo="1" ContainerGrossWeight="10" TrackingNo="ABCD"
ContainerNetWeight="10" ContainerNetWeightUOM=""
AppliedWeight="10" AppliedWeightUOM="" ContainerHeight="40"
ContainerHeightUOM=" " ContainerWidth="20" ContainerWidthUOM=""
ContainerLength="20" ContainerLengthUOM=" " ContainerType="Normal">
<ContainerDetails>
<ContainerDetail>
<ShipmentLine DocumentType="0001" EnterpriseCode="DEFAULT" OrderNo="Y100000400" ReleaseNo="1" OrderReleaseKey="2017041717394544530" PrimeLineNo="1" SubLineNo="1" Quantity="1" >
</ShipmentLine>
</ContainerDetail>
</ContainerDetails>
</Container>
</Containers>
</Shipment>
- Execute getCompleteOrderLineDetails with the following input:
<OrderLineDetail OrderLineKey="2017041717331234567"/>
The output will not container Container attribute/details :
<ContainerDetail ContainerDetailsKey="">
Cause
This is working as designed.
Diagnosing The Problem
The container details are not returned in the output even though the order's shipment line has the container details. Capacity container is 0.
The log will show the following:
2017-04-17 17:45:09,048:DEBUG :WebContainer : 0: Capacity of container 2017041717402444741 is 0.0.
Resolving The Problem
getCompleteOrderLineDetails is designed to return only containers with non zero quantity.
[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"9.5;9.4;9.3;9.2.1;9.2;9.1","Edition":"All Editions","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg22003716