IBM Support

ReserveItemInventory and ReserveItemInventoryList APIs over-reserve inventory beyond inventory availability dates

Question & Answer


Question

Why are ReserveItemInventory and ReserveItemInventoryList APIs not considering inventory availability dates during reservation calls?

Answer

This is because these 2 APIs are designed to reserve current inventory only.  They do not have the ability to search and reserve based on availability.
Current inventory is internally tracked by Demand_End_Date and is calculated as follows:
  • If item exists, the DemandEndDate is set to Current date + Processing time + lead days from item
  • If item does not exist, then DemandEndDate is set to Current date + Processing time + lead days from ATP rule
What happens if quantity is not available during the reservation call?
  • ReserveItemInventoryList API - in the output we see the reserved quantity as 0 even though the API call is successful.  (ReservedQty="0.00")
  • ReserveItemInventory API fails and we see the following error:
<Attribute Name="ErrorCode" Value="YFS10265"/>
        <Attribute Name="ErrorDescription" Value="YFS: Reservation Failed"/>
 
  • These APIS don't have the ability to search and reserve based on availability.
How can I make reservations while also taking inventory availability into account?
We can call ReserveAvailableInventory API instead, as this API can reserve single or multiple items based on request and for future dates based on scheduling rules.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"ARM Category":[{"code":"a8m50000000CbxwAAC","label":"Sterling Order Management System->Inventory APIs"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
04 August 2020

UID

ibm16238936