Skip to content

Stock Reservation Applet

Hold units of an item at a location for a customer until a date, so they stop counting as available to sell. Nothing checks a hold against the stock on hand, and where the expiry job runs, an expired reservation is deleted without being released: it vanishes from the listing but keeps lowering availability, so release a reservation before it expires (for one reserved with bin lines on this screen, see Expiry and temporary reservations first).

Your job, and the screen for it

The jobScreen or tabRead
Hold units of an item at a location for a customer until a date — a plain hold is not checked against stock on handStock Reservation › + (Create Stock Reservation), customer on Account, then RESERVE (click twice)Screens and menus; What reserving does
Release a hold — before its expiry date, and before you delete itEdit Stock Reservation › RELEASE (click twice)Statuses; Expiry and temporary reservations
Hold specific bins — on a reservation, RESERVE moves bin availability only and adds nothing to the reserved figure, yet RELEASE still tries to take the quantity off it; a hold made in Bin Reservation is a record only, which bin availability does not count and this applet cannot deleteBin Number tab on the reservation; Bin Reservation only to note a hold against a sales orderBin Reservation (standalone); What reserving does
Check that a RESERVE worked — the screen shows no error when one is refused, and RESERVED alone does not prove the reserved figure movedReopen the reservation: still DRAFT or TMP means it was refused; if RESERVED, read the reserved figure in Stock AvailabilityTroubleshooting
Explain a reserved figure that no reservation on the listing accounts forThis listing against the reserved figure in the Stock Availability applet; if nothing older than the listing’s 100 rows explains it either, the cure is a correction from supportOverview
Set up locations, stocked items, customers and bins — and know that the expiry job, once scheduled, deletes expired holds without releasing themOrganization, Inventory Item Maintenance and Customer Maintenance applets; bins come from receiving the item with its bin numbers; the expiry job in the Scheduler appletBefore you can use it

Overview

The Stock Reservation applet records a promise: this many units of this item, at this location, are held for this customer until this date. A reservation does not move stock and posts nothing to the ledger; when it is set to RESERVED it adds its quantity to the reserved column of the stock balance (a reservation with bin lines reserved from this screen is the exception — see What reserving does), and the Stock Availability screens subtract that column from what can still be sold.

It is opened by sales or warehouse staff who need to hold stock ahead of a sales order, and it is also written to by the Sales Order applet (and the Shopee Sales Order applet, which shares its code) and the Packing Order applet when they reserve or release stock or bins for a document.

For items tracked by warehouse bin, a reservation can be pinned to specific bin lines, and the applet’s second menu, Bin Reservation, lets you record a bin-level hold against a sales order on its own. Bin availability does not count that record (see Bin Reservation (standalone)).

Check your own tenant before you build a process on it. The two background jobs that tidy reservations up are not installed for you (see Expiry and temporary reservations). Two quick checks tell you where you stand. Open this listing: whatever the Sales Order applet reserved through a header appears here too, so an empty listing means nothing on your tenant currently holds stock this way.

Then compare it with the reserved figure in Stock Availability. If a reserved figure is not zero and no reservation on the listing accounts for it — most plainly when the listing is empty — it was left by reservations no longer on the list — one deleted without being released (by the expiry job or through the API), a bin-pinned one whose release took off a quantity its reserve never added, or a figure an integration wrote straight to the balance through the API (see Lifecycle).

No reservation on screen will explain such a figure. If your tenant has more than 100 reservations, have the older ones read through the API first; when none of those explains it either, the cure is a correction from support, not a new reservation.

Where it fits

PositionApplet / objectWhy
Master dataInventory Item MaintenanceThe item picker lists basic items that have stock at the chosen location, and bundles.
Master dataCustomer MaintenanceEvery reservation must name a customer entity (Account tab).
Master dataOrganizationCompany, branch and location the stock is held at.
Master dataBins, written by receiving stockA bin header and line are written by the stock-balance job when a bin-tracked item is received with its bin numbers, and drawn down when it goes out. Warehouse Management’s zones and racks are a separate hierarchy and do not write these bin tables, so nothing set up there reaches a reservation.
Upstream (writers)Sales Order, Packing OrderThe Sales Order — and the Shopee Sales Order applet, which shares its code — creates, reserves and releases reservations and bin links through the same backend endpoints; the Packing Order releases them. Job orders, raised in Production Planning and Monitoring, hold stock through a separate temporary record, not through these reservations.
Downstream (readers)Stock Availability, Stock Balance, Stock ReplenishmentRead the reserved quantity from the balance row or sum the RESERVED headers.
BackgroundScheduler crontabThe expiry job only runs if a crontab entry for it exists (see Lifecycle).

See Related applets: stock balance for the full map of what writes and reads the balance tables.

Screens and menus

Sidebar: Stock Reservation (default screen) and Bin Reservation. A Sales Group menu exists in the source but is commented out.

Stock Reservation Listing — columns Doc No, Item Name, Branch, Location, UOM, Reserved Qty, Status, most recently changed first. The listing loads the 100 most recently changed reservations and no more; an older one cannot be reached from this screen. It also expects every reservation to have a branch: one created through the API without a branch, which the API allows, stops the listing from loading. Click a row to open it in Edit Stock Reservation; the + button opens Create Stock Reservation.

Stock Reservation Listing
Stock Reservation Listing — one RELEASED reservation. Doc No is a plain running number.

Create / Edit Stock Reservation — three tabs:

  • Main Details — Branch, Location, Item Name (opens the Select Item column), Item Code, Reserve Qty, UOM, Reservation Expiry (date), Serial Number, Status, CRM Contract, Description.
  • Account — sub-tabs Entity Details (Entity Id opens Select Customer, which also lets you create a customer without leaving the applet), Bill To and Ship To.
  • Bin Number — only shown when the selected item’s sub-type is BIN_NUMBER; a grid of bin lines with + (opens Select Bin No) and a delete button.

The header buttons are CREATE (create), and on edit RESERVE (TMP or DRAFT), RELEASE (RESERVED) and SAVE; a DELETE button sits under the Main Details tab unless the reservation is RESERVED. Reserve, Release and Delete are two-click confirmations (“CLICK AGAIN TO …”, reset after 3 seconds). CREATE saves the reservation in the status you chose and reserves nothing, although its message reads “Stock Reserved Successfully”: the hold counts only after RESERVE.

Edit Stock Reservation — Main Details
Edit Stock Reservation on a RELEASED reservation: Branch, Location, Item and Status are read-only; SAVE is disabled.

Bin Reservation Listing / Create / Edit — a single Main Details tab: Sales Order Number (picker over sales-order lines showing their MRP statuses), Customer, Branch, Location, Item Code (picker), Item Name, Bin Hdr Code / Bin Line Code (picker, enabled once item and location are set), Container Measure, UOM, Reserved Container Qty, Reserved Base Qty, Reservation Type, Start Date, Expiry Date, Remarks.

Settings (gear): Application Settings, Default Selection and Printable Format Settings, then the shared Permission Set, User Permission and Role Permission screens. The menu also lists Permission Wizard and Release Notes; this applet has no screen behind those two, so each lands on its 404 page. Settings opens on the shared client-side permission screen, which has no menu link of its own, and the menu has no link to Triggers. Personalization: Field Settings and Default Selection.

Configuration

Before you can use it

  • Company, branch and location exist in Organization. The backend rejects a reservation whose company, location or item is missing or does not exist; branch is optional but must exist if given.
  • Inventory items with stock at that location. The Select Item column asks the server for product-and-service items that are basic items or bundles, with a ledger quantity above zero at the chosen location, so a basic item whose ledger quantity at that location is zero or below today — sold out as well as never stocked — is not offered and cannot be reserved from this screen. The stock test applies to basic items only: a bundle is listed whatever its stock, so finding a bundle in the list says nothing about stock. Set items up in Inventory Item Maintenance.
  • A customer entity — the customer is a required field of the create form, so CREATE stays disabled until a customer is chosen on the Account tab (Customer Maintenance).
  • Bins (only for bin-tracked items) — bin headers and lines for the item at the location. They come into being when the item is received into that location with bin numbers on the stock-in line, and Warehouse Management does not write them. Select Bin No lists them with what is still free.
  • Server-side permissions — see Who can change what below.
  • A Scheduler entry for EXPIRED_STOCK_RESERVATION_REMOVAL_PROCESSOR if you want expiry dates to do anything (see Lifecycle). Nothing schedules it for you, and a new tenant is not given it. Assume expiry dates do nothing until you schedule it yourself in the Scheduler — an expired reservation goes on holding stock out of the available figure, indefinitely, and nothing on the screen says so. Since 19 October 2026 the Scheduler applet’s screen shows only an ERR row for everyone; a clock that was firing before keeps firing, and BigLedger support or the REST API stands in for it (what to do meanwhile).

No GL code, tax code, cashbook or document-numbering setup is needed: a reservation posts no journal, and its Doc No comes from the platform’s own counter for reservations, not from the document-numbering configuration.

Applet settings

Where settings live: Application Settings is the shared settings screen; Default Selection and the personal Default Selection are this applet’s own; there is no branch-level settings screen. The applet hides none of them: it has no client-side permission gating of its own. Saving the two applet-level screens still needs the server-side applet permission, which a tenant owner or administrator has.

No applet setting is used by this applet. The screens below show and save values that nothing in this applet reads back.

ScreenWhat it rendersSaved toRead by
Settings → Application SettingsThe whole shared document-settings form — several hundred controls, because nothing limits it to what a reservation has. Examples: HIDE_UNIT_PRICE_STD_EXCL_TAX, DEFAULT_POSTING_STATUS, WORKFLOW_PROCESS_GUID, EMAIL_SENDER.Applet settingsNothing in this applet. The reservation form has no line grid, pricing, workflow, e-mail or printing.
Settings → Default SelectionDefault Branch, Default Location (auto-filled from the branch’s main location when a branch is picked); DEFAULT_COMPANY is set silently from the branch.Applet settingsNothing. The create form always starts empty, as a DRAFT with quantity 0.
Settings → Printable Format SettingsUpload / star printable formats.Applet settingsNothing — the applet has no print or export button.
Personalization → Default SelectionSame two drop-downs, labelled “This will override Applet Default Settings”.Personal settingsNothing.
Personalization → Field SettingsMenu entry only: the link lands on the applet’s 404 page.——

Document behaviour settings

None are configurable in the applet. The behaviour is fixed in code:

  • New reservations start as DRAFT; the Status drop-down also offers TEMP (TMP). RESERVED and RELEASED are shown read-only once reached. Choose the status at CREATE: on a saved reservation the drop-down still opens, but the save call refuses a changed status, so SAVE and RESERVE both fail until you put it back.
  • A reservation created through the API without a status is saved as TMP.
  • Reserve Qty must be at least 1 on the screen; the server does not check it.
  • Bin-pinned reservations are validated against bin availability on RESERVE; plain reservations are not validated against the stock balance (see Lifecycle).

Background job settings

The two removal jobs are set up, if at all, in the Scheduler applet by picking the job and giving it a JSON property block:

Job (queue code)PropertiesWhat it does
EXPIRED_STOCK_RESERVATION_REMOVAL_PROCESSOR, as the Scheduler lists itlimit (default 10); a second, exact-date property is accepted and does nothingDeletes up to limit reservations whose expiry date has passed (and their active bin lines), whatever their status. The same run removes up to limit expired job-order temporary reservations and sets the document each one points at to DISCARDED.
TEMPORARY_RESERVED_STOCK_REMOVAL_PROCESSOR, as the Scheduler lists itlimit and a time-to-live in minutesMeant to load up to limit TMP reservations and, for those still inside their time-to-live, take their quantity off the reserved figure. As written, the load itself fails as soon as there is a TMP reservation to load (see Lifecycle).

Settings in other applets that control this applet

None found. Reservations created from other applets carry their own defaults (for example the Sales Order applet’s bin reservation sets the bin link’s expiry to start + 24 hours); those are documented on the calling applet’s page.

Who can change what

  • Client-side: the applet has no permission checks of its own and no client-side permissions are defined for it. The client-side permission screen that Settings opens on is the shared one.
  • Server-side (reservation header): API_TNT_DM_ERP_INVENTORY_STOCK_RESERVATION_HDR_OWNER / ADMIN / MEMBER / CREATE / UPDATE / DELETE / READ. Each action accepts OWNER, ADMIN or the matching verb: READ for listing and query, CREATE for create and automatic bin reservation, UPDATE for edit, reserve and release, DELETE for delete. There is no separate “reserve” or “release” permission — whoever can edit can reserve and release.
  • Server-side (bin lines): API_TNT_DM_INV_BIN_RESERVATION_GEN_DOC_LINK_OWNER / ADMIN / CREATE / UPDATE / DELETE / READ.
  • The permission-set screen’s target picker offers Company, Branch, Location, Entity, Customer, Supplier, Employee, Team, Applet, Tenant, financial item, Dimension, Segment, Project, Profit Center, Printable Format, Batch, Client Side Permission, Pricing Scheme and Membership Card targets.

Fields

Stock Reservation — Main Details

FieldMeaningRequiredNotes / validation
BranchBranch holding the stock; sets the company silently.YesRead-only on edit.
LocationLocation (store) holding the stock; filtered by branch.YesRead-only on edit. Must be chosen before Item Name (hint “Please select Location first”).
Item NameOpens Select Item; the list shows Item Code, Item Name, UOM and System Stock Balance (ledger qty at the location, rounded).YesOnly PNS-class basic items with ledger qty > 0 at the location, and bundles (not stock-tested). Read-only on edit.
Item CodeFilled from the selected item.YesRead-only.
Reserve QtyQuantity in the item’s base UOM.YesMinimum 1. Read-only and equal to the sum of the Bin Number tab when the item sub-type is BIN_NUMBER.
UOMFilled from the item; editable text.NoSaved with the reservation as text; it does not change the item’s own UOM.
Reservation Expiry (date)Date after which the expiry job, where it is scheduled, deletes the reservation.YesNothing happens on this date unless that job is scheduled, and the job deletes without releasing: see Expiry and temporary reservations.
Serial NumberFree text.NoSaved as typed; not validated against serial-number records. You can replace the text but not clear it: an emptied field keeps the saved value.
StatusTEMP or DRAFT on create.YesDefault DRAFT. Disabled once RESERVED or RELEASED. A change made on a saved reservation is refused when you save.
CRM ContractFree text.NoNot saved — the form control has no mapping in the draft reducer.
DescriptionFree text.NoSaved as typed. Emptying it keeps the saved value, as with Serial Number.

Stock Reservation — Account

FieldMeaningRequiredNotes / validation
Entity Id (Entity Details)Customer entity the stock is held for; opens Select Customer.YesSaved as the reservation’s customer. The create button is disabled until it is set.
Entity Name, Status, Entity Type, Identity Type, ID Number, Currency, Email, Description, Phone NumberRead-only details of the chosen entity.NoDisplay only.
Bill To / Ship ToAddress pickers.NoDisplayed but not saved with the reservation — the create and edit screens do not bind the address outputs and the header has no address columns.

Stock Reservation — Bin Number (bin-tracked items only)

FieldMeaningRequiredNotes / validation
Bin Hdr Code / Bin Line CodeBin chosen in Select Bin No. (bins for the item at the location that still have quantity free).Yes per lineSelect Bin No. shows Ctn Measure, Ctn UOM, Ctn Qty, Base Qty and two editable columns, Desired Ctn Qty and Desired Base Qty. Base Qty is what is free after RESERVED bin lines and locks; Ctn Qty is the bin’s whole container count, so judge what is free by Base Qty.
Container Measure, Container Qty, Base QuantityThe container measure, the containers reserved and the base quantity.—Typing a Desired Ctn Qty fills the base quantity (× Container Measure); typing a Desired Base Qty fills the containers, rounded down. ADD refuses a row whose desired containers or base quantity are more than the picker shows, or whose base quantity is 0 or less.

Each line is saved as a bin reservation of type PARTIAL on the header, starting now and expiring on the header’s expiry date. Lines are created with CREATE and created or updated with SAVE. RESERVE does not save bin lines — it saves the header only. After you add a line, SAVE, reopen the reservation, then RESERVE; otherwise the header carries the new total while the server checks and reserves only the lines saved earlier.

Three cautions on bin lines:

  • The delete button does not remove a saved line. It hides the line and lowers Reserve Qty, but SAVE sends the line back with the reservation’s own ACTIVE status, so it is there again when you reopen. Only a line added since the last save is really dropped. To get rid of a saved line, delete the whole reservation and create it again.
  • Add each bin once. Picking the same bin twice makes two lines, and the RESERVE check compares each line with the bin’s free quantity on its own, so two lines of 6 both pass against 10 free.
  • At most 100 bin lines of a reservation are loaded by the screen and read by the RESERVE check.

Bin Reservation (standalone)

FieldMeaningRequiredNotes / validation
Sales Order NumberSales-order line picker (PNS lines; columns include production / schedule / existing-stock MRP statuses, order qty, customer, sales agent).NoFills customer, company, branch, location, the item and the order’s identifier; the line you picked is not kept.
Bin Hdr Code / Bin Line CodeBin picker, enabled once item and location are set (“Please select item and location first”).YesThe picker lists every bin line of the item at the location at its full quantity — Ctn Measure, Ctn Qty, Base Qty — with an editable Reservation Ctn Qty, which must be above 0 and no more than the bin’s Ctn Qty. It does not take off quantity that other holds have reserved.
Container Measure, UOM, Reserved Container QtyFrom the bin line.—Read-only.
Reserved Base QtyThe quantity held, in the base UOM.YesRead-only; computed from the bin picker.
Reservation TypeFULL or PARTIAL.NoFilled by the bin picker — FULL when the hold takes the whole bin line, PARTIAL otherwise — and open to change. A label only: nothing in the backend reads it, so a FULL hold and a PARTIAL hold of the same quantity behave the same.
Start DateWhen the hold begins.YesDefaults to now. Nothing in the backend reads it: wherever bin availability counts a hold, it counts it whatever its start date, so a start date next week does not delay it.
Expiry DateWhen the hold should end.NoNothing acts on it for a standalone hold. The expiry job works from reservation headers, and a standalone hold has none, so it is never removed on that date. Put a reminder in your own diary rather than relying on this date.

The hold is also given a Customer (required; filled for you when you pick a sales-order line), a Branch and Location (required), the Item (required, from a picker) and free-text Remarks.

What a standalone hold does not do

A standalone bin reservation writes only the link table; it creates no stock reservation header and therefore never touches the reserved column of the stock balance.

It does not reduce bin availability either. The availability that Select Bin No. on a stock reservation shows, and that RESERVE checks, counts only bin lines whose posting status is RESERVED. This screen saves a new hold with no posting status, so neither counts it: another user can still reserve the same bin, and this screen’s own picker goes on showing the bin at its full quantity.

(One separate bin-availability call of the API does add every bin line that is not deleted into its reserved total; no screen we read calls it.) Treat a standalone hold as a note against the sales order — the order only: you pick a sales-order line, which fills the item, but the hold keeps the order and not the line. When the hold has to count, put the bin on a stock reservation’s Bin Number tab and RESERVE it.

The Bin Reservation listing also shows the bin lines of stock reservations, RESERVED ones included. Do not edit one of those here: SAVE writes the new bin or quantity straight onto the line, with no availability check and without changing the reservation’s own quantity.

The Bin Reservation screens have CREATE and SAVE and no delete button. A hold saved here can be edited but not removed from this applet; removing one takes the delete call of the API, so ask whoever looks after your integration.

Lifecycle and effects

Statuses

Posting status: TMP or DRAFT → RESERVED → RELEASED, plus the record’s own status ACTIVE / DELETED. TMP and DRAFT are two starting points, not two steps: the screen cannot move a saved reservation from one to the other.

FromAction (UI)To
—CREATE (with its bin lines)TMP or DRAFT (as chosen)
TMP / DRAFTSAVEunchanged
TMP / DRAFT, no bin linesRESERVE (click twice) — saves, then reservesRESERVED
DRAFT, with saved bin linesRESERVE (click twice) — saves the header, then checks the saved bin lines and reservesRESERVED, header and active bin lines
TMP, with bin linesRESERVE (click twice) — refused: the bin check accepts a DRAFT reservation only, and the screen shows no messageTMP, unchanged
RESERVEDRELEASE (click twice) — saves the header as it stands on screen, releases it, then releases each bin line in a call of its ownRELEASED
RELEASED— The status call refuses any further change as not authorised (HTTP 403), and SAVE is disabled on the screen, so on the screen RELEASED is final. The API’s ordinary save call is the exception (below).—
TMP / DRAFT / RELEASEDDELETE (click twice) — deletes the bin lines, then the reservationDELETED

Do not edit Reserve Qty on a RESERVED reservation before you release it. The field stays open for an item without bins, RELEASE saves what is on screen first, and the job then takes off the new quantity: reserve 10, change it to 6, release, and 4 stay on the reserved figure. And because the header is released before its bin lines, a bin line whose release fails stays RESERVED under a RELEASED header, where the screen no longer offers RELEASE; the message reads “n/m bin reservations RELEASED failed”, and putting it right takes the API.

The screen hides DELETE while RESERVED and disables SAVE and the bin add/delete buttons while RESERVED or RELEASED. Those rules belong to the screen; the server’s own rule is the RELEASED one above.

What the API accepts that the screen does not

The difference matters to an integration. The delete call removes only the reservation header, not its bin lines (the screen deletes those first, one call each). It is a soft delete: the record’s status becomes DELETED while its posting status stays where it was. And it accepts a RESERVED reservation without releasing it, so the quantity stays on the reserved figure. Release before you delete, and check the reserved figure has come down before you do: the status says RELEASED as soon as you click, the adjustment follows as a job, and a reservation deleted before that job runs is never taken off.

The status call has one rule of its own, the RELEASED one, and it does not compare the new status with the old. A second RESERVED on a reservation that is already RESERVED adds its quantity to the reserved figure again; setting RESERVED back to DRAFT or TMP is accepted and takes nothing off. The ordinary save call does not apply the RELEASED rule at all: sent without a posting status, it resets the reservation to TMP, RELEASED or not, and leaves the balance alone. An integration should read the status before it sets it, and send it back unchanged on every save.

What reserving does

  • Not a document: a reservation is its own record, not a document, and posts nothing to the general ledger. Its Doc No comes from the platform’s own counter.
  • Stock: no stock moves and the ledger quantity never changes. Setting a reservation to RESERVED or RELEASED through the status call — the screen’s RESERVE without bin lines, and its RELEASE — starts a job that adjusts the reserved figure on the item’s location and company stock balances:
    • RESERVED → reserved quantity up by the reservation’s quantity;
    • RELEASED → reserved quantity down by the same.
  • No availability check for plain reservations: nothing compares the reservation with the stock on hand or available; a reservation larger than the stock is accepted and drives availability negative.
  • What VOID reverses: there is no VOID. RELEASE is the reversal; DELETE removes the reservation without touching the stock balance. It is a soft delete: the row is kept with the record status DELETED, and it no longer appears in the listing or in the availability details.

When the adjustment does not happen

Both adjustments do nothing if the item has no stock balance at that company / location — nothing is written and nothing is reported. A balance that has never held a reservation can have an empty reserved figure rather than a zero. RESERVED fills it in, but a RELEASED that reaches an empty figure makes the job fail. The job takes the location figure down before the company figure and does not undo the first when the second fails, so a failure can leave the two different.

The order matters when something goes wrong. The new posting status is saved first, and the adjustment job is queued afterwards. If queuing the job fails, the reservation still says RESERVED (or RELEASED) and the reserved figure has not moved; if the job fails part-way, the location figure may have moved and the company figure not. A failure to queue is written only to the server log. When a RESERVED reservation shows in this listing but Stock Availability shows no reserved quantity for it, this is one of the causes to check.

Reserving with bin lines

Bin-pinned reservations take a different path. RESERVE requires the item to be bin-tracked, the reservation to be DRAFT (“Stock Is Already Reserved” otherwise), at least one bin line, and for every bin line enough available bin quantity (“Reserved Qty is Bigger than Available Qty For Bin Code: …”).

When a check fails, the server refuses the call with one of those sentences, but the screen does not show it: its error handler reads an empty variable, so you get neither an error nor a success message. Reopen the reservation: if its posting status still says DRAFT or TMP, the bins were refused, and the reason is one of the troubleshooting rows below. The same silence applies when a plain RESERVE is refused.

When every check passes, it sets the reservation and its bin lines to RESERVED without adjusting the stock balance’s reserved figure — only bin availability (available − reserved − locked) reflects the hold. Releasing such a reservation later does run the stock-balance job, which takes off a quantity that was never added: on a balance that already carries a reserved figure from other reservations the figure drops by that much and can go negative; on a balance whose figure is still empty the job fails.

That is the screen’s RESERVE. A caller that sets RESERVED through the status call instead — the Sales Order applet’s bin reservation does — adds to the reserved figure even when the reservation has bin lines, so find out how a reservation was reserved before you diagnose its figure.

Who reads the reservation

  • Stock availability (used by Stock Availability, Stock Balance and the document applets’ stock checks): location available = ledger quantity + the signed open-document quantity − reserved figure on the stock balance (open sales orders take away, incoming documents add).
  • Stock Availability’s details view instead adds up the RESERVED, non-deleted reservations per item and location — but it matches them to items by an identifier that a reservation made on this screen does not carry (the reservation stores the inventory item, the view matches on the financial item), so such a reservation may not show against its item there. Treat the reserved figure on the listing as the working number; the two agree only while every RESERVED reservation has been added to the stock balance and nothing has been deleted without a RELEASE.
  • The sales-order stock summary takes the company-level reserved figure off the job quantity.
  • Stock Replenishment snapshots the company reserved figure onto its order-quantity lines (it does not change the reorder quantity).
  • The Sales Order applet (creates a DRAFT reservation for an order, sets it RESERVED through the status call, can add a RESERVED bin line that expires 24 hours after its start time, and releases reservations when a sales order is voided) and the Packing Order’s approval (releases the first bin line it finds for the sales order behind the packing order and, in the same step, marks the whole stock reservation that line belongs to RELEASED — see the Packing Order page) work through the same reservations.

Expiry and temporary reservations

  • Expiry is a scheduled job, not a status. EXPIRED_STOCK_RESERVATION_REMOVAL_PROCESSOR runs only if it is scheduled. Each run takes up to limit (default 10) reservations whose expiry date has passed and deletes them and their active bin lines — whatever their status. It does not release them and does not take their quantity off the reserved figure. An expired RESERVED reservation therefore disappears from the listing and from the availability details, but keeps reducing availability until someone corrects the reserved figure.
  • Release before expiry. Release reservations before they expire if you rely on availability — those whose RESERVE added to the figure, which is every one except a reservation reserved with bin lines on this screen. That one added nothing, so its release takes off what was never put on wherever the balance carries a figure. RELEASE is still the screen’s only way to free its bins: note the reserved figure before and after, and have support put back whatever came off.
  • TMP is a status you can pick on create (TEMP) and what a reservation made through the API without a status gets. TEMPORARY_RESERVED_STOCK_REMOVAL_PROCESSOR (if scheduled, with limit and a time-to-live in minutes) is written to take TMP reservations still inside their time-to-live — not the expired ones — and take their quantity off the reserved figure although a reservation created as TMP never added to it, leaving the status at TMP. It does not get that far: its first step, loading the TMP reservations, fails as soon as there is one to load, so a run does nothing but record an error. Do not schedule this job until it is fixed.

Related applets

  • Stock Availability — shows reserved and available quantities; the reason reservations exist.
  • Stock Balance and Related applets: stock balance — reservations are what move the stock balance’s reserved figure, whichever applet makes them. An integration with the balance permissions can also overwrite it through the API — a call that sets the reserved figure on a location balance, and the general update of a location or company balance.
  • Warehouse Management — a separate warehouse, zone and rack register; it does not write the bin tables a reservation points at. Bin availability, which nets off reserved and locked quantities, comes from the received stock.
  • Sales Order — the usual source of a reservation; open orders also reduce availability in their own right.
  • Packing Order — its approval releases a bin line and the stock reservation it belongs to.
  • Production Planning and Monitoring, where job orders are raised — a job order’s temporary hold is a separate record, not one of these reservations; the expiry job clears expired ones in the same run.
  • Stock Replenishment — reads the reserved quantity when it snapshots stock positions.
  • Inventory Item Maintenance, Customer Maintenance, Organization — the master data a reservation is made of.

Troubleshooting

The reserved figure and expiry

SymptomCauseFix
RESERVE succeeds but Stock Availability shows no reserved quantityThe item has no stock balance at that company / location, so nothing is adjusted; or the reservation was reserved with bin lines on this screen (that path never adjusts the stock balance).Check the item has a stock balance at the location; for a hold reserved with bin lines on this screen use the bin availability view, not the stock balance.
Reserved quantity is larger than stock on hand; available goes negativeNo backend check compares the reservation with the balance (plain reservations).Release the excess reservation, then check the reserved figure came down; check quantities before reserving. Deleting is not a substitute: a delete never touches the reserved figure.
A reservation vanished from the listing on its expiry date but availability is still reducedThe expiry job deletes the reservation without releasing it; the reserved figure on the stock balance keeps the old value.Release reservations before expiry. For reservations already deleted, the reserved figure needs a data fix from support.
Expired reservations never disappearEXPIRED_STOCK_RESERVATION_REMOVAL_PROCESSOR is not scheduled, or the backlog exceeds limit (default 10) per run.Before you schedule it, release the expired RESERVED reservations and check the reserved figure came down — the job deletes without releasing. For one that was reserved with bin lines on this screen, whose RESERVE added nothing, note the figure before and after the release and have support put back what came off. Then schedule it, or raise limit, in the Scheduler applet (while its screen shows only ERR, ask BigLedger support: what to do).
RELEASE of a reservation that was reserved with bin lines on this screen lowers the reserved figure, or makes it negativeThis screen’s bin RESERVE reaches RESERVED without adding to the stock balance, but RELEASE takes the quantity off it wherever the balance already carries a reserved figure.Have support correct the reserved figure; treat this screen’s bin holds as bin-level only. A reservation with bin lines made by the Sales Order applet is different: its RESERVE added to the figure, so its release leaves the figure right.

RESERVE, RELEASE and bin messages

SymptomCauseFix
RESERVE is clicked twice and nothing happens, with no success or error messageThe server refused the reserve, but the screen’s error handler drops the message. The rows below give the sentences the server sends, which an API caller sees.Reopen the reservation. If it still says DRAFT or TMP, work through the rows below (the bin rows first, for a bin-tracked item).
“Stock Is Already Reserved” from the bin reserve call (an API caller sees it; the screen shows nothing)The bin path requires the header to be DRAFT; a TMP header, or one already RESERVED, is rejected.A TMP reservation with bin lines cannot be reserved from the screen, and the screen cannot turn it into DRAFT: delete it and create it again as DRAFT. An API caller can set DRAFT through the status call first.
SAVE or RESERVE fails with an error message that names no reason, after you changed the Status drop-down on a saved reservationThe save call refuses any change of posting status; only the RESERVE and RELEASE buttons change it.Put Status back to what it was, then SAVE or RESERVE.
“Selected Stock Is Not A Bin Item”The item is not bin-tracked but bin lines were attached.Delete the reservation and create it again with the right item: the edit screen can change neither the item nor a saved bin line.
“No Bin Reservation Gen Doc Link To Reserve”No bin line of the reservation has been saved: lines were added on the edit screen and RESERVE clicked without SAVE, or the lines failed to save (toast “n/m bin reservations failed”).SAVE the bin lines, reopen the reservation, then reserve. After that toast on CREATE, do not click CREATE again: the reservation itself was saved, and a second click makes a second one. Find it in the listing and add the lines there.
“No Available Bin For Bin Code: …” / “Reserved Qty is Bigger than Available Qty For Bin Code: …”The bin line no longer has enough free quantity (quantity − reserved − locked). “No Available Bin” also comes back for a bin already packed on an active packing order, whatever quantity it holds.On a line not yet saved, pick another bin or a smaller quantity. The edit screen does not let you change a saved line: delete the reservation and create it again with other bins or smaller quantities. Check the bin’s packing orders first.
A status change refused as not authorised (HTTP 403)The reservation is RELEASED — the response then says you are not authorised to update the posting status — or the user lacks the update permission, which is refused with the same HTTP code and a general not-authorised message.For a RELEASED reservation, create a new one. Otherwise have an administrator grant the update permission.
Reserve / release refused because the reservation does not existThe header was deleted (for example by the expiry job) between opening and clicking.Reload the listing.

Screens, listing and settings

SymptomCauseFix
The item is not in Select ItemLocation not chosen yet, a basic item’s ledger quantity at that location is 0 or negative, or the item is not a PNS basic item / bundle.Choose the location first; receive stock at that location.
CREATE stays disabledBranch, location, item, expiry date or the customer on the Account tab is missing, or Reserve Qty is below 1 — for a bin-tracked item, no bin line has been added yet.Fill them in; for a bin-tracked item add a line on the Bin Number tab.
A reservation you know exists is not in the listingThe listing loads the 100 most recently changed reservations only.Delete released reservations you no longer need, once their reserved figure has come down: a deleted one leaves the list, which brings older ones back into the 100. Otherwise the older one can only be read through the API.
A hold made in Bin Reservation does not stop the bin being reserved againA standalone hold is saved without a posting status, and bin availability counts RESERVED bin lines only.Hold the bin on a stock reservation’s Bin Number tab and RESERVE it.
Default Branch / Location from Settings do not pre-fill the formThe defaults are saved but never read by the form.Pick branch and location on each reservation.
Personalization → Field Settings shows the 404 pageThe menu entry has no route.Use Settings → Application Settings (which this applet does not consume either).
CRM Contract or Bill To / Ship To entries are lost after CREATENot mapped to the header; display only.Record the contract in Description.
Advanced search on the listing returns the same rowsThe listing’s onSearch handler is empty and the search model is a copy from a receipt-voucher applet (labels “Reservation Code / Name”, conditions on customer and branch name and INTERNAL_RECEIPT_VOUCHER).Use the grid’s column filters instead.
Old page text: “at midnight the status changes to Expired and the quantity is restored”No such status or restore exists (see Expiry above).—

The applet repository has two GitHub issues: #1, the Angular 14 migration (closed), and #5, on the Sales Force Automation rebuild’s Organization menu opening a copy of these screens (open). Neither is a user-reported failure of the reservation screens.

Related documentation

Last updated on