Description
Return remainingReserved=reserved-cancelled-fulfilled and available=onHand-reserved+cancelled after feasible integer reservation, cancellation, and fulfillment checks.
A logistics record separates ordered, reserved, dispatched, received, lost, and available quantities. It can also distinguish volume, mass, packaging, and cost bases. A balance or ratio checks supplied records and assumptions without verifying physical inventory, a contract, or safe loading.
Return remainingReserved=reserved-cancelled-fulfilled and available=onHand-reserved+cancelled after feasible integer reservation, cancellation, and fulfillment checks.
When to use this tool
Use Stock Reservation Cancel Release when you need the particular supplied count, loading-budget, timing, or cost term in a logistics record.
How to use the tool and how it works
- Enter onHand, reserved, cancelled, fulfilled. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read remainingReserved, available. Use the output convention below.
Return remainingReserved=reserved-cancelled-fulfilled and available=onHand-reserved+cancelled after feasible integer reservation, cancellation, and fulfillment checks.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| onHand | On Hand | Required. Safe integer; minimum 0. |
| reserved | Reserved | Required. Safe integer; minimum 0. |
| cancelled | Cancelled | Required. Safe integer; minimum 0. |
| fulfilled | Fulfilled | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| remainingReserved | Remaining Reserved | Required. Safe integer. |
| available | On-hand minus original reservations plus cancellations; fulfillment cancels algebraically. | Required. Safe integer. |
{
"input": {
"onHand": 100,
"reserved": 40,
"cancelled": 10,
"fulfilled": 5
},
"output": {
"remainingReserved": 25,
"available": 70
}
} Limitations and assumptions
- Fulfillment reduces on-hand and reservations equally, so available is independent of fulfilled. The tool calculates a supplied state transition without updating inventory or verifying actual stock.
- The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.
Alternative or Complementary methods
Check the original stock, shipment, measurement, and contract records before acting on a balance. A full packing, routing, procurement, or load assessment may require more than the returned term.
References
Similar or alternative tools
- Inventory Reservation Release Update
Return nextReserved=reserved-release+newReservation and available=onHand-nextReserved.
- Stock Transfer In Transit Balance
Return inTransit=dispatched-received and unresolved=inTransit-confirmedLost.