IBM Support

Shipment Tracking number is not displayed at order details screen of Call center for Commerce(CCC)

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:

  1. Create an order , and confirm it.

  2. Schedule and release the order.

  3. 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>
---------------------------------------------------

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Documentation","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.4;9.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21989563