Troubleshooting
Problem
Attempts to run createShipment shows the Tracking No as blank in Shipment Tracking screen in IBM Call Center for Commerce.
Symptom
Steps to simulate:
- Create an order , and confirm it.
- Schedule and release the order.
- Ship the order by calling the createShipment API with below Input –
---------------------------------------------------
<Shipment OverrideModificationRules="Y" OrderNo="Y100000204" ConfirmShip="Y" DocumentType="0001" EnterpriseCode="Matrix" ReleaseNo="1" SellerOrganizationCode="Matrix" ShipNode="Mtrx_Store_1">
<ShipmentLines>
<ShipmentLine OrderNo="Y100000204" ReleaseNo="1" OrderReleaseKey="2016062915015720356" DocumentType="0001" EnterpriseCode="Matrix" PrimeLineNo="1" SubLineNo="1" Quantity="1" CountryOfOrigin="US"/>
</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="Matrix" OrderNo="Y100000204" ReleaseNo="1" OrderReleaseKey="2016062915015720356"
PrimeLineNo="1" SubLineNo="1" Quantity="1" >
</ShipmentLine>
</ContainerDetail>
</ContainerDetails>
</Container>
</Containers>
</Shipment>
---------------------------------------------------
As a result, Tracking No is coming blank at Shipment Tracking screen of CCC for above mentioned order. Although the tracking no is passed at container level
Cause
Quantity of the item packed in container is zero and hence its not coming in the output of getCompleteOrderLineDetails API.
Diagnosing The Problem
TrackingNo (ContainerDetail.Container.TrackingNo) is fetched from yfs_shipment_container table.
Resolving The Problem
Correct quantity need to be passed for the item packed in container Only then trackingNo will be displayed properly at Shipment Tracking screen of CCC.
For example, shipment should be created with below input to createShipment API -
---------------------------------------------------
<Shipment OverrideModificationRules="Y" OrderNo="Y100000204" ConfirmShip="Y" DocumentType="0001" EnterpriseCode="Matrix" ReleaseNo="1" SellerOrganizationCode="Matrix" TrackingNo="ABCD" ShipNode="Mtrx_Store_1">
<ShipmentLines>
<ShipmentLine OrderNo="Y100000204" ReleaseNo="1" OrderReleaseKey="2016062915015720356" DocumentType="0001" EnterpriseCode="Matrix" PrimeLineNo="1" SubLineNo="1" Quantity="1" CountryOfOrigin="US"/>
</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 Quantity="1">
<ShipmentLine DocumentType="0001" EnterpriseCode="Matrix" OrderNo="Y100000204" ReleaseNo="1" OrderReleaseKey="2016062915015720356"
PrimeLineNo="1" SubLineNo="1" Quantity="1" >
</ShipmentLine>
</ContainerDetail>
</ContainerDetails>
</Container>
</Containers>
</Shipment>
---------------------------------------------------
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21989563