IBM Support

reserveAvailableInventory is not reserving available Item inventory

Troubleshooting


Problem

reserveAvailableInventory is not reserving available Item inventory

Symptom

Trying to reserve 2 items using reserveAvailableInventory API.

Suppose there are 2 items, Item1 and Item2 which are normal items having no substitution or Preferred substitutes. Item1 is available at Node1 as required. However Item2 is not available at all.

Following input is provided to the reserveAvailableInventory API:

<Promise AllocationRuleID="SYSTEM" CheckInventory="Y" FulfillmentType="PRODUCT_SOURCING" OrganizationCode="DEFAULT"

<ReservationParameters AllowMultipleReservations="Y" AllowPartialReservation="N" />
<ShipToAddress City="Plano" State="Texas" Country="US" ZipCode="75024"/>
<PromiseLines>

<PromiseLine LineId="1" ItemID="Item1" RequiredQty="4" UnitOfMeasure="EACH" FulfillmentType="PRODUCT_SOURCING" >
<ReservationParameters AllowMultipleReservations="Y" AllowPartialReservation="N" ReservationID="Rev1" />
</PromiseLine>
<PromiseLine LineId="2" ItemID="Item2" RequiredQty="3" UnitOfMeasure="EACH" FulfillmentType="PRODUCT_SOURCING" >
<ReservationParameters AllowMultipleReservations="Y" AllowPartialReservation="N" ReservationID="Rev2" />
</PromiseLine>
</PromiseLines>
</Promise>

Error Message

No error is thrown. But Item1 for which inventory is available is not reserved either.

Resolving The Problem

If the attribute AllowPartialReservation="N" is passed at the order header level, reservation will succeed only if complete inventory is available for all the items provided in the input.

[{"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

NFX6180

Product Synonym

[<p><b>]Escalation ID[</b><p>];00050272;[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix

Document Information

Modified date:
16 June 2018

UID

swg21559775