IBM Support

ConfirmShipment Api for Bundle parent. 

Question & Answer


Question

ConfirmShipment Api for Bundle parent. 

Answer

In the input of confirmShipment Api it is required to pass the components (Bundle comp) in the xml, if we pass the parent item (Bundle) in the input xml then the following error is thrown “Bundle components not present for the bundle item”
Input Xml of confirmShipment Api for the parent (Bundle):
<Shipment Action="Create" ActualShipmentDate="" CarrierServiceCode="FURNITURE_REGULAR" DocumentType="0001" EnterpriseCode="WS" SCAC="MW_CARRIER" SellerOrganizationCode="WSDTC" ShipNode="JERDTC">
<ShipmentLines>
<ShipmentLine Action="Create" DocumentType="0001" OrderNo="WSI20090521012743506" PrimeLineNo="100" Quantity="7" SubLineNo="1"/>
</ShipmentLines>
</Shipment>
Error:
Error ErrorCode="YDM80_0002" ErrorDescription="Bundle components not present for the bundle item." ErrorRelatedMoreInfo="">
<Attribute Name="ErrorCode" Value="YDM80_0002"</div>
Reason:
ConfirmShipment Api can be used to create and confirm the shipment. While creating the Shipment our product will create the shipments for components passed in the input only.
For a bundle item since the inventory is maintained at child components level , while creating the shipment we need to pass all the child components so that product can look up for the inventory at warehouse and suggest options of shipping from multiple warehouses based on availability of child components. Hence for a bundle item while confirming a Shipment, the child components must be passed in the input otherwise error is thrown.
Also while calling the confirmShipment Api if we do not pass the correct component ratio (Say for eg: P:C1:C2= 1:1:1) in the Quantity (attribute in the confirmShipment Api) as Quantity=1 for the components, then it will throw the following error.
Error ErrorCode="OMP10079"
ErrorDescription="Quantity greater than the allowed over shipment percentage limit"

Solution: While calling confirmShipment for bundle, child components must be passed in the input with correct component ratio as configured

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

HTG2498

Document Information

Modified date:
16 June 2018

UID

swg21563404