IBM Support

How to use Alternate Unit of Measure in Sterling Order Management

Question & Answer


Question

How do you use Alternate Unit of Measure (UOM) in IBM Sterling Order Management?

Cause

createOrder API called with Alternate UOM it gives the error Item(Item Id and UOM) does not exist.

Answer

Item is created with UOM as KILOGRAM. Another ordering UOM is EACH. In Item setup, EACH is marked as the Alternate UOM with conversion factor of 0.5. The check box stating that this UOM can also be used for ordering is selected.

You will have to pass the UOM details in the OrderLineTranQuantity tag in the input to createOrder API.

For example:
<Order DocumentType="0001" EnterpriseCode="DEFAULT">
   <OrderLines>
       <OrderLine>
           <Item ItemID="Item"/>
           <OrderLineTranQuantity OrderedQty="1.0"
TransactionalUOM="CASE"/>
          </OrderLine>
   </OrderLines>
<PersonInfoBillTo Country="US" />
</Order>

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Documentation","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"9.2;9.2.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21678855