Question & Answer
Question
How can we over come the error "Quantity is greater than the allowed over-shipment percentage limit" in createShipment or confirmShipment API , when the overship percentage is configured correctly
Cause
createShipment or confirmShipment API input xml does not have the necessary attributes to uniquely identify order release.
Answer
This error usually occurs when the ReleaseNo or ReleaseKey (which will uniquely identify order release) attribute is not provided in the input xml . Following is a sample input xml which creates the shipment correctly without issuing this error
<MultiApi>
<API IsExtendedDbApi="" Name="createOrder" Version="">
<Input>
<Order BuyerOrganizationCode="DEFAULT" DocumentType="0005" EnterpriseCode="DEFAULT" OrderNo="Order03" ReceivingNode="ibnode" SellerOrganizationCode="ibseller" ShipNode="ibsellernode">
<OrderLines>
<OrderLine OrderedQty="40" PrimeLineNo="00001" SubLineNo="1"><Item ItemID="ibitem" UnitOfMeasure="EACH" ProductClass="FQ"/></OrderLine>
</OrderLines>
</Order>
</Input>
</API>
<API FlowName="" IsExtendedDbApi="" Name="scheduleOrder" Version="">
<Input>
<ScheduleOrder OrderNo="Order03" ScheduleAndRelease="Y" DocumentType="0005" EnterpriseCode="DEFAULT"/>
</Input>
</API>
<API FlowName="" IsExtendedDbApi="" Name="createShipment" Version="">
<Input>
<Shipment DocumentType="0005" EnterpriseCode="DEFAULT" ReceivingNode="ibnode" SellerOrganizationCode="ibseller" BuyerOrganizationCode="DEFAULT" ShipNode="ibsellernode" ShipmentNo="Shipment03" DoNotVerifyCaseContent="Y" DoNotVerifyPalletContent="Y">
<ShipmentLines>
<ShipmentLine DocumentType="0005" OrderNo="Order03" PrimeLineNo="00001" ReleaseNo="1" SubLineNo="1" ItemID="ibitem" Quantity="39.8" UnitOfMeasure="EACH" ProductClass="FQ"/>
<ShipmentLine DocumentType="0005" OrderNo="Order03" PrimeLineNo="00001" ReleaseNo="1" SubLineNo="1" ItemID="ibitem" Quantity="40.1" UnitOfMeasure="EACH" ProductClass="FQ"/>
</ShipmentLines>
</Shipment>
</Input>
</API>
<API FlowName="" IsExtendedDbApi="" Name="confirmShipment" Version="">
<Input>
<Shipment DocumentType="0005" EnterpriseCode="DEFAULT" ReceivingNode="ibnode" SellerOrganizationCode="ibseller" BuyerOrganizationCode="DEFAULT" ShipNode="ibsellernode" ShipmentNo="Shipment03"/>
</Input>
</API>
</MultiApi>
[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Distributed Order Management","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Historical Number
88315;082;000
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21635778