System is not releasing capacity when reservation got expired.

Technote (FAQ)


Question

Why system is not releasing capacity when reservation got expired ?

Scenario : Whenever user create a reservation for an Item, the node capacity is getting consumed.
But when reservation got expired system should release the capacity.

Steps :

1. Reserve the inventory using ReserveavailableInventory API.

<Promise AggregateSupplyOfNonRequestedTag="Y" AllocationRuleID="SYSTEM" EnterpriseCode="DEFAULT" IgnoreMinNotificationTime="Y" OrganizationCode="DEFAULT">
<ReservationParameters AllowMultipleReservations="" ReservationID="AB3" ExpirationDate="2013-04-16T10:42:00" />
<PromiseLines>
<PromiseLine ItemID="Item_Cap1" LineId="1" RequiredQty="1" FulfillmentType="PRODUCT_SOURCING" ShipNode="N4" UnitOfMeasure="EACH" >
<ReservationParameters ReservationID="AB4"/>
</PromiseLine>
</PromiseLines>
</Promise>

2. Create order for the reservation

createOrder Input XML :


<Order DocumentType="0001" EnterpriseCode="DEFAULT" DraftOrderFlag="N" ReserveInventoryFlag="Y">
<OrderLines>
<OrderLine PrimeLineNo="1" SubLineNo="1" ShipNode="N4" OrderedQty="1" ReservationMandatory="Y">
<Item ItemID="Item_Cap1" UnitOfMeasure="EACH"/>
<OrderLineReservations>
<OrderLineReservation ItemID="Item_Cap1" Node="N4" Quantity="1" ReservationID="AB3" UnitOfMeasure="EACH" />
</OrderLineReservations>
</OrderLine>
</OrderLines>
<PersonInfoShipTo Country="US"/>
<PersonInfoBillTo Country="US"/>
</Order>

3. Reservation will expiry after ExpirationDate mentioned in input of reserveAvailableInventory API. After reservation got expired, system is not releasing the consumed capacity.

Cause

.

Answer

Node Capacity will get released on Reservation expiration only after execution of Inventory Reservation Purge Agent.

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Sterling Order Management

Software version:

9.0, 9.1, 9.2, 9.2.1

Operating system(s):

Windows

Reference #:

1638634

Modified date:

2013-06-30

Translate my page

Machine Translation

Content navigation