Question & Answer
Question
How do you populate YFS_INVENTORY_ACTIVITY table for all the inventory items for the node using createInventoryActivityList API in IBM Sterling Order Management?
Cause
CreateForInvItemsAtNode is currently not supported by createInventoryActivityList.
Answer
By setting attribute CreateForInvItemsAtNode to "Y" in the createInventoryActivityList API input , it did not create entries in the YFS_INVENTORY_ACTIVITY table for all the inventory items of the node passed in the input. The API just created entry for the item passed in the input.
However, when you use the same attribute in the createInventoryActivity API which is deprecated for Sterling OMS V9.5 version, it populates the YFS_INVENTORY_ACTIVITY table for all the inventory items for the node that is passed in the input.
As a workaround, You can use the getInventoryItemList API and use its output for batch calls of the createInventoryActivityList API.
Was this topic helpful?
Document Information
Modified date:
29 June 2018
UID
ibm10715931