Skip to content

Stock Availability

Check here before you promise stock to a customer. Available Qty is what a new order can still take, not what is on the shelf: open sales orders lower it and goods received but not yet invoiced raise it, and the Details screen names the documents behind every gap. Nothing on this screen changes a balance.

Your job, and the screen for it

The jobScreen or tabRead
Check what you can still promise before taking an order — Available Qty is not what is on the shelf, and an item with both open sales orders and uninvoiced receipts can read too high hereStock Availability listingHow availability is calculated
Find the documents behind a gap between physical and available stock, and read an item here when the listing looks too highStock Availability Details, unticking the HIDE_…_BALANCE sections in the Optional filterStock Availability Details; Troubleshooting
Find stock to clear before it is obsolete — only receipts since 1 January 2022 are aged; compare the total with Stock BalanceStock Aging ReportStock Aging Report
Trace a serial to its customer or supplier, or list a batch’s documentsTrace Serial No, Serial Number Balance, Trace Batch NoTrace Serial No, Serial Number Balance, Trace Batch No
See what a picker can take from each binBin AvailabilityBin Availability
Hide cost columns from staff who should not see them — an owner, an admin or anyone granted the applet update permission can switch them back — and grant the read permissions the trace and report menus needSettings › Application Settings; permission assignmentApplet settings; Before you can use it

Overview

The Stock Availability applet is the read-only window onto inventory: what you physically hold, what open documents have already claimed or promised, and therefore what you can still sell — by company, location and bin, down to individual serial and batch numbers. It sits on top of the stock ledger written by purchasing, sales, transfers, adjustments and stock takes; nothing is created here.

Sales staff open it before promising stock, warehouse staff to find where an item sits, purchasing to see what is on order, and finance for the cost columns (which can be hidden from everyone else by setting and re-opened per user by permission).

Where it fits

DirectionApplet / documentWhy
UpstreamStock BalanceThe ledger balances this applet reads
UpstreamInventory Item Maintenance, Doc Item MaintenanceItem master, category levels, pricing schemes and prices shown as columns
UpstreamOrganisationCompanies, branches, locations and bins
UpstreamSales Order, Purchase Order, Purchase GRN and other stock documentsOpen documents that make up Adj Qty and appear in Details
SiblingStock ReservationReserved and locked quantities shown on Stock Card & Planning
SiblingStock Take, Stock AdjustmentCorrect the balance this applet displays
SiblingWarehouse ManagementBins shown in Bin Availability

Modules: Inventory, Purchasing, POS.

Screens and menus

MenuWhat it showsVisible by default
Stock AvailabilityItem × company × location grid: stock balance, adj qty, available qty, costs (moving-average at location and company, last purchase, FIFO, LIFO); drill-down opens the item view with its bins, categories, images, NSTI, pricing schemes and serial numbersyes
Stock Availability DetailsOne row per item with a quantity column per location, plus the price columns per pricing scheme; open an item for the documents behind each quantityyes
Stock Aging ReportBalance grouped by age bucket (months, or days when the tenant setting AGING_PERIOD_TYPE is DAY); how the age is found, and the fixed 2022 start, are under Stock Aging Report belowyes
Stock Availability with SO and POOnly the sales-order and purchase-order commitmentsyes
Trace Serial NoMovement history of one serial numberyes
Serial Number BalanceSerial numbers currently in stock, by locationyes
Trace Batch NoMovement history of one batch numberyes
Bin AvailabilityPer item and location: the quantity a picker can take, and one column per bin showing the bin’s code and its quantityyes
Stock Card & PlanningPer item: total, reserved (and by whom), locked, packed, ad-hoc and available quantity with bin, UOM, job order, completion date and status — only for items with at least one bin something can still be taken from, so an item whose bins are all reserved, locked or packed is not listedno — hidden by default; switch HIDE_STOCK_CARD_PLANNING_MENU off to show it
Audit TrailChange historyyes

A Stock Transfer Queue route also exists (stock-transfer) but its menu entry is commented out, so it is reachable only by URL.

Gear (Settings) menu, shown to the tenant’s owners and admins: Application Settings, Default Selection, Custom Resource Bundle Configuration (your own wording for this applet’s labels), plus the shared permission, webhook, release-notes and applet-log screens. Personalisation: per-user Default Selection. A field-settings route exists but is not in the menu; its switches are bound to no setting and its Save button does nothing.

Stock Availability listing

Stock Availability listing pivoted by location: one row per item code, a Stock Balance column for each of three locations and a Total row.
Stock Availability listing: stock balance per location, with a total row.

Search by location (required; several at once), item code, item type and status, item flags such as pre-order or consignment, and item category levels. A keyword search with no Location chosen in Advanced Search sends the locations your read permission is limited to, or none for an owner or admin or a permission limited to no location, and the server still checks your access.

The search offers category levels 1 to 20, but only levels 1 to 16 are sent, so a level 17 to 20 choice filters nothing. The grid shows each item with a column per location. Rows are merged per item × location × company and Available Qty is recomputed on every load. Every cost and quantity column has a tenant-wide hide switch and a matching permission (see Configuration).

Stock Availability Details

Stock Availability Details listing: one row per item with a Total SO column, the total and one quantity column per location, and a colour legend for above-maximum and below-minimum quantities.
Stock Availability Details with its default options: one row per item, its Total SO, its total and a column per location.

The advanced search has an Optional multi-select that, by default, hides zero balances and the document-balance sections — HIDE_ZERO_BALANCE, HIDE_GOODS_RECEIVE_NOTE_BALANCE, HIDE_PURCHASE_ORDER_BALANCE, HIDE_SALES_ORDER_BALANCE, HIDE_DELIVERY_ORDER_BALANCE, HIDE_SALES_INVOICE_DRAFT_BALANCE, HIDE_GOODS_RECEIVE_NOTE_DRAFT_BALANCE, HIDE_GRN_STOCK_IN_DRAFT_BALANCE. Untick one to open that section; SHOW_MIN_QTY and SHOW_MAX_QTY add each location’s min / max level at the end of its balance cell, and SHOW_OTHER_IMAGES_1..3 / _ALL add item images.

These are per-search options, not settings. Each document tab (GRN, PO, SO, DO, Sales Invoice draft, GRN draft, GRN stock-in draft, Sales Quotation) can also be hidden tenant-wide. Clicking a location’s quantity on a row opens the item’s Details view, whose tabs include Stock Movement; the row’s Action column has three icons that open the item’s Stock Movement, Sales Report and Purchase Report views directly.

Stock Aging Report

Stock Aging Report showing inventory grouped by time periods.
Stock Aging Report: balance by age bucket, to find stock to clear before it is obsolete.

How the age is found. Nothing stores an age. On every search the server fetches the stock ledger lines for the items in scope between the start date and the as-at date (today, unless you search for a date or a month; the Date As field is read whether or not its box is ticked, so set it, or choose a Month, before you search) and replays them oldest first: each receipt joins a queue, each issue consumes from the oldest receipt still in the queue, and an issue that finds the queue empty is remembered as a shortage that the next receipt clears before any of it counts as stock.

What is left in the queue is your stock, grouped by the month of the receipt’s transaction date — in Days mode the age is counted from the first day of that month, because the figures reach the screen by month only.

Two things follow. The age is the age of the oldest receipts still unconsumed, not of any particular unit: a return or a transfer in is a fresh receipt, and a sale always takes from the oldest, whatever left the shelf.

And the replay starts on 1 January 2022 — the screen sends that date on every search, and so does the aging tab on the Details view. Stock received before 2022 is never aged (it is not in the queue), and sales since then consume only receipts since then, so a group that went live earlier, or holds slow-moving stock older than that, sees less aged stock than it holds, with nothing on the screen to say so. Before planning a clearance from this report, compare its total for the item with Stock Balance — or, when you aged as at a past date, with the balance at that date (Stock Report’s historical balance), since Stock Balance is today’s.

Two more things the buckets do not show. In Days mode the columns are 0–30, 31–60 and 61–120 days and 120+ Days, but 120+ Days collects only stock more than 180 days old: a month group aged 121 to 180 days appears in no column, so the row totals fall short. And each Amount is the month group’s quantity times the price (the Calculate Base On basis, moving average by default) carried on one surviving receipt of that month, so where a month’s remaining receipts carry different prices the amount can differ from the sum of their own values.

The aging tab on the Details view reads an amount field the aging rows do not carry, so its Amount columns show no usable figure (read, not run): take amounts from the report. In Company mode the report adds every company you chose into one row per item, under one of those companies’ names, so run it one company at a time.

Stock Availability with SO and PO

Stock Availability with SO and PO view showing specific document links and outstanding quantities.
SO and PO tracking: stock committed to, or expected from, open orders.

Trace Serial No, Serial Number Balance, Trace Batch No

Trace Serial Number view showing the full stock movement history of a specific serial number.
Trace Serial No: every document a serial number has passed through.
Serial Number Balance view showing quantities and specific serial numbers currently in stock.
Serial Number Balance: which serial numbers are in which location now.
Trace Batch Number Stock Movement for one batch: a purchase invoice line of 24 and a sales invoice line of 4, both positive, with a footer total of 28.
Trace Batch No: the recorded movements of one batch number, for expiry and recall handling. The footer adds the 4 sold to the 24 received, so 28 is not the batch balance.

Search by an exact serial or batch number on its own, or by part of the number, a date range or both — typing an exact number greys out the keyword and the dates.

On Trace Batch No, a sales invoice line is shown with its sign reversed, so a sale of 4 reads +4, and the footer total adds sales invoice lines to the receipts — 24 received and 4 sold total 28, not the 20 left. Read the footer as activity, not as what the batch holds now.

Two more cautions before a recall: a movement is matched to its batch record by the batch number alone, so where two batch records share a number (two items, or two suppliers’ lots) a line can appear once for each, carrying either record’s issue and expiry date — and the grid has no item column to tell them apart; and set both a From and a To date or neither — one on its own makes the search fail — knowing that the To date picks up movements to the end of the following day.

Stock Report’s Batch and Expiry Date Report shows quantity by item and expiry date, but has no batch number column, so it identifies a batch only when no other batch of that item shares its expiry date.

Trace Serial No asks for draft documents too, so a serial locked by an unposted sales invoice already appears on that invoice’s line before anything has posted. On a line at a stock-in-transit location, a stock transfer’s Server Doc Type shows the other direction (an outbound transfer reads as inbound) and the document number does not open. Serial tracing works forwards (which customer received this unit) and backwards (which GRN and supplier it came from); batch tracing lists the movements recorded under the batch number — a movement whose number has no batch record does not appear.

Bin Availability

Bin Availability Report showing item locations and quantities across different bins.
Bin Availability: quantity per bin, for picking.

The figure per bin is what a picker can take: the bin’s quantity less what stock reservations and locks hold in it. Bins with nothing left are not listed, and neither is a bin already packed on an active packing order. Each bin column shows the bin’s code and its quantity as a whole number — the screen drops any fraction — while the item’s total keeps it.

Configuration

Before you can use it

PrerequisiteWhereWhy
Items with an inventory recordInventory Item Maintenance / Doc Item MaintenanceOnly stock-tracked items have balances
Companies, branches, locations, binsOrganisation, Warehouse ManagementThe dimensions of every screen
Pricing schemesDoc Item Maintenance > Pricing SchemesPRICING_SCHEMES picks which schemes become price columns on the Details screen
Finalised stock documentsGRN, sales, transfers, adjustments, stock takeWithout them every balance is zero
Backend read permissionsPermission assignmentThe applet requests API_TNT_DM_ERP_INV_STOCK_AVAILABILITY_READ, …_AVG_COST_READ, …_SALES_REPORT_READ, API_TNT_DM_ERP_STOCK_AGING_REPORT_READ, API_TNT_DM_ERP_STOCK_REPORT_READ, API_TNT_DM_ERP_INV_BATCH_READ, TNT_API_BIN_READ — but several menus need more than that list: Trace Serial No and Trace Batch No need TNT_API_INVENTORY_TRANSACTION_SUB_LINE_READ, Serial Number Balance TNT_API_SERIAL_NUMBER_READ, Stock Availability with SO and PO and the Details draft tabs API_TNT_DM_ERP_STOCK_REPORT_READ, the Sales Report and Purchase Report views opened from the Details listing API_TNT_DM_ERP_SALES_REPORT_BY_DOCUMENT_READ and API_TNT_DM_ERP_PURCHASE_REPORT_BY_DOCUMENT_READ, and Stock Card & Planning’s expand the MRP job-order read API_TNT_DM_MRP_JOB_ORDER_HDR_READ, and the service-note dialog on Trace Serial No the service-note read TNT_API_DM_SVC_ISSUE_HDR_READ. A user granted only what the applet names opens those menus and gets not authorised

Applet settings

Settings are on this applet’s own screens, not the shared settings screen. Application Settings and Default Selection apply to every user of the applet; Personalisation > Default Selection saves per user. The gear menu is shown only to the tenant’s owners and admins. The settings screens themselves open for anyone who has their address, but saving Application Settings or Default Selection is refused unless the user is an owner or admin or holds an update, owner or admin permission on this applet.

Settings > Application Settings — six tabs. Each row takes effect where Effect says; rows marked rendered but not consumed are saved and do nothing. The rows are grouped below by the screen they change, in the order you meet those screens.

Sidebar menus

Setting (tab)What it controlsDefaultEffect when changed
HIDE_STOCK_AVAILABILITY_MENU, HIDE_STOCK_AVAILABILITY_DETAILS_MENU, HIDE_STOCK_AGING_REPORT_MENU, HIDE_STOCK_AVAILABILITY_SO_PO_MENU, HIDE_TRACE_SERIAL_NO_LISTING_MENU, HIDE_SERIAL_NUMBER_BALANCE_MENU, HIDE_TRACE_BATCH_NO_LISTING_MENU, HIDE_BIN_AVAILABILITY_MENU, HIDE_STOCK_CARD_PLANNING_MENU, HIDE_AUDIT_TRAIL_MENU (Sidebar Menu)Menu visibilityoff, except HIDE_STOCK_CARD_PLANNING_MENU = on; an unset key falls back to that defaultHidden when the user lacks SHOW_<KEY>_MENU and the switch (or its default) is on; the applet opens on the first visible menu, and a hidden menu opened by its address or by refreshing the page is redirected to the first visible one

Listing columns and prices

Setting (tab)What it controlsDefaultEffect when changed
HIDE_LISTING_AVG_COST, HIDE_LISTING_LAST_PURCHASE_COST, HIDE_LISTING_FIFO_COST, HIDE_LISTING_LIFO_COST (Stock Availability Listing)Cost columnsoff (no value; unset = shown)Column removed on the listing, the Main tab of the Details item view, Trace Serial No (its MA Cost column) and the Stock Transfer Queue (average and last purchase cost only), and the figure dropped from the cost tooltips (the listing’s and the Details listing’s), unless the user holds the matching SHOW_LISTING_* permission. Bin Availability and Stock Card & Planning show no cost columns. One exception: on the listing, HIDE_LISTING_AVG_COST also hides Company Avg Cost, which answers only to SHOW_LISTING_COMPANY_AVG_COST — a code that is not seeded, so SHOW_LISTING_AVG_COST brings back Location Avg Cost but not Company Avg Cost
HIDE_LISTING_COMPANY, HIDE_LISTING_LOCATION, HIDE_LISTING_STOCK_BALANCE, HIDE_LISTING_ADJ_QTY, HIDE_LISTING_AVAILABLE_QTY (Stock Availability Listing)Structural and quantity columnsoffThe listing. On Bin Availability only HIDE_LISTING_LOCATION finds a column (its quantity column has another name), and Stock Card & Planning applies none of them
HIDE_LISTING_PURCHASE_PRICE, HIDE_LISTING_SALES_PRICE, HIDE_LISTING_SALES_MAX_PRICE, HIDE_LISTING_SALES_MIN_PRICE, HIDE_LISTING_REPLACEMENT_PRICE, HIDE_LISTING_REF_PRICE_1..3, HIDE_LISTING_DELTA_PRICE_1..3, HIDE_LISTING_REBATE_PRICE_1..3 (Stock Availability Listing)Price columns and the pricing tooltipoffThe rows of the pricing-scheme tooltip on the Details listing (and its Copy Tooltip Text). They do not hide the scheme price columns themselves: a metric chosen in PRICE_METRICS — purchase unit price included — shows its column to every user whatever these switches say, so keep a price you need hidden out of PRICE_METRICS — with another metric selected, since an empty choice falls back to sales unit price — or leave PRICING_SCHEMES empty so no scheme column appears (the main listing has no price columns)
PRICING_SCHEMES (multi-select), PRICE_METRICS (multi-select: PURCHASE_UNIT_PRICE, SALES_UNIT_PRICE, SALES_MAX_PRICE, SALES_MIN_PRICE, REPLACEMENT_UNIT_PRICE_EXCL_TAX, DELTA_PRICE1..3_EXCL_TAX, REF_PRICE1..3_EXCL_TAX, REBATE_PRICE1..3_EXCL_TAX) (Stock Availability Listing)One column per selected scheme per selected metric on the Details listingnone (no metric chosen = sales unit price)Adding a scheme adds its column(s); choosing two metrics — say purchase unit price and sales unit price — puts two columns per scheme side by side, headed Scheme (Metric), so a buyer and a seller read the same row without a second screen. A metric saved before the control became multi-select is kept as the single choice
Enable filter by today’s transactions (Stock Availability Listing)—offRendered but not consumed

The Details screen and its Stock Movement grid

Setting (tab)What it controlsDefaultEffect when changed
HIDE_REPORT_DOC_SHORT_CODE, HIDE_REPORT_UNIT_PRICE, HIDE_REPORT_UNIT_COST, HIDE_REPORT_INVENTORY_VALUE, HIDE_REPORT_AMOUNT_STD, HIDE_REPORT_AMOUNT_DISC, HIDE_REPORT_AMOUNT_NET, HIDE_REPORT_AMOUNT_TAX, HIDE_REPORT_AMOUNT_TXN (Stock Availability Listing)Columns of the Stock Movement grid — the tab in the item’s Details view and the view the row’s movement icon opensoffColumn hidden unless the user holds SHOW_REPORT_* (not the aging or trace reports)
HIDE_STOCK_MOVEMENT, HIDE_PURCHASE_DOCUMENTS_IN_STOCK_MOVEMENT, HIDE_INTERNAL_STOCK_ADJUSTMENT, HIDE_TOOLTIP_PRICING_DETAILS, INCREASE_ITEM_IMAGE_SIZE (Stock Availability Details)The Stock Movement tab of the item’s Details view; which document families the Stock Movement grid lists (purchase invoices and purchase returns; internal stock adjustments); the pricing tooltip; larger thumbnailsoff — on a tenant that has never saved this screen the toggles show OFF and a save stores nothing for them, so nothing is hidden by an incidental save. Only a tenant whose stored settings hold an explicit null for a key sees it come up ON — a null hides nothing by itself, but the next save of this screen, for any reason, stores it ON and starts hidingstock-availability-details-view (=== true), …-view-movement (=== true), Details listing. HIDE_PURCHASE_DOCUMENTS_IN_STOCK_MOVEMENT drops purchase invoices and purchase returns only: a GRN Stock In line stays visible, because the list names a GRN document type that does not exist rather than GRN Stock In. HIDE_STOCK_MOVEMENT removes only the tab: the movement icon in the Details listing’s Action column still opens the Stock Movement view for every user, so it does not keep movements from anyone who can open the Details listing. If a switch you set ON does not take effect, reopen the screen and check it stayed ON before looking elsewhere (not yet tested on a live tenant)
HIDE_PURCHASE_DOCUMENTS (Stock Availability Details)—offSaved and read by nothing. The switch that hides purchase documents on the Details view is a different key, HIDE_PURCHASE_ORDER_DOCUMENTS, which has no control — see Keys read at runtime without a control
Hide purchase GRN purchase price, Hide purchase GRN supplier name (Stock Availability Details)—off (same as HIDE_PURCHASE_DOCUMENTS above)Rendered but not consumed: the GRN tab does not read them
HIDE_GOODS_RECEIVED_NOTE_TAB, HIDE_PURCHASE_ORDER_TAB, HIDE_SALES_ORDER_TAB, HIDE_DELIVERY_ORDER_TAB, HIDE_SALES_QUOTATION_TAB, HIDE_SALES_INVOICE_TAB, HIDE_GRN_DRAFT_TAB, HIDE_GRN_STOCK_IN_DRAFT_TAB (Stock Availability Details)Document tabs on the Details screenoff (false; patched === true)Tab removed for everyone (no permission override)

Check these switches before you save Application Settings for some other reason. The switches on the Stock Availability Details tab and HIDE_UNIT_COST_AMOUNT show OFF on a tenant that has never saved the screen, and a save leaves them unset.

But a key stored as an explicit null shows ON, and saving the screen stores it ON — so a save made for an unrelated setting can start hiding one of these. Switch off any you do not mean before saving. To hide the Stock Movement tab, purchase invoices and returns, internal stock adjustments, the pricing tooltip or the serial-trace amount from users without the matching SHOW_* permission, switch each one ON deliberately and save — then reopen the screen once to confirm it stayed ON.

Item category groups

Setting (tab)What it controlsDefaultEffect when changed
ITEM_CATEGORY_GROUP_0..20, HIDE_ITEM_CATEGORY_GROUP_0..20 (Item Category Group)—empty / offRendered but not consumed: no screen in this applet reads them; the category filters and columns come from the item master’s category levels

Serial trace and the document pop-up

Setting (tab)What it controlsDefaultEffect when changed
HIDE_UNIT_COST_AMOUNT (Trace Serial Number)The amount column on Trace Serial Nooff (shows OFF until deliberately set and saved; an explicit stored null reads as ON)Hidden unless the user holds SHOW_UNIT_COST_AMOUNT
HIDE_DOC_POPUP_COST_AMOUNT, HIDE_DOC_POPUP_GP (Miscellaneous)The Cost Amount and GP line columns of the document pop-up — the shared document viewer that opens when you click a document number on Trace Serial No, on Stock Availability with SO and PO, on any Details tab or in the Stock Movement, Sales Report or Purchase Report view (a service note on Trace Serial No opens its own service-note dialog instead, and a line at a stock-in-transit location opens nothing)offColumn hidden unless the user holds SHOW_DOC_POPUP_COST_AMOUNT / SHOW_DOC_POPUP_GP; together with HIDE_LISTING_AVG_COST (the trace grid’s MA Cost) and HIDE_UNIT_COST_AMOUNT (its Amount), this is how a branch user can trace a serial without its MA Cost, Amount, Cost Amount or GP columns. These switches hide columns on the screen; the server still returns the prices and quantities they are worked out from

Keys read at runtime without a control

These keys are read at runtime with no control on the settings screens: they are set by other screens, or only by hand in the master settings record.

KeyRead byEffect
HIDE_UOM, HIDE_STOCK_BALANCE, HIDE_ADJ_QTY, HIDE_AVAILABLE_QTY, HIDE_AVG_COST, HIDE_LAST_PURCHASE_COSTThe item view opened from the listing (stock-availability-view-main) and the Stock Transfer Queue viewField hidden unless the user holds SHOW_UOM / SHOW_STOCK_BALANCE / SHOW_ADJ_QTY / SHOW_AVAILABLE_QTY / SHOW_AVG_COST / SHOW_LAST_PURCHASE_COST
HIDE_PURCHASE_ORDER_DOCUMENTSDetails viewThe Purchase Order tab hidden unless the user holds SHOW_PURCHASE_DOCUMENTS — only that tab: the GRN, GRN draft and GRN stock-in draft tabs have their own HIDE_…_TAB switches. The Application Settings switch labelled HIDE_PURCHASE_DOCUMENTS does not set this key
HIDE_UNIT_COST, HIDE_MA_COST, HIDE_GP, HIDE_GP_PERCENTAGE, HIDE_DELTA_UNIT_COST, HIDE_DELTA_COST, HIDE_DELTA_GP, HIDE_DELTA_GP_PERCENTAGEThe Sales Report and Purchase Report views, opened from the Details listing’s Action columnColumn hidden unless the user holds the matching SHOW_* — none of which is seeded, so a hidden column is hidden for everyone
AGING_PERIOD_TYPEStock Aging ReportDAY ages by days; anything else by months
PRINTABLEDocument export from the Details viewThe fallback printable format — the branch’s default printable format wins when one is set
HIDE_DOC_POPUP, HIDE_DOCUMENT_POPUPEvery document link the shared grid draws, and Trace Serial No’s service-note link (Trace Batch No’s document number is plain text)The document pop-up does not open at all unless the user holds SHOW_DOC_POPUP, SHOW_DOCUMENT_POPUP or VIEW_ALL_DATA, none of which is seeded for this applet
DISABLE_STOCK_AVAILABILITY_LISTINGStock Transfer Queue screenRead into a flag nothing uses; the listing loads whatever it is set to

Default Selection and Personalisation

Settings > Default Selection — a Default Language for the applet’s labels, DEFAULT_BRANCH, DEFAULT_LOCATION (saved, but no screen in this applet pre-selects anything from these tenant-wide values), DEFAULT_TOGGLE_COLUMN (SINGLE / DOUBLE form layout, read by the Details listing) and side bar Ordering — drag the menu names into order, saved as SIDE_BAR_ORDER; RESET restores the built-in order and also clears the default branch, location and toggle column. New menu items added in a later build are appended to a saved order.

Personalisation > Default Selection — the same language, branch, location and toggle-column values per user. Your personal location can fill an empty Location box in a search, through the shared location picker, so check the Location before you search.

Document behaviour settings

Not applicable — the applet creates no documents.

Who can change what

Fifty client-side permissions can be granted for this applet. Each re-enables one hidden column, pop-up or menu for its holder:

Permission groupCodes
MenusSHOW_STOCK_AVAILABILITY_MENU, SHOW_STOCK_AVAILABILITY_DETAILS_MENU, SHOW_STOCK_AGING_REPORT_MENU, SHOW_STOCK_AVAILABILITY_SO_PO_MENU, SHOW_TRACE_SERIAL_NO_LISTING_MENU, SHOW_SERIAL_NUMBER_BALANCE_MENU, SHOW_TRACE_BATCH_NO_LISTING_MENU, SHOW_BIN_AVAILABILITY_MENU
Listing columnsSHOW_LISTING_AVG_COST, SHOW_LISTING_LAST_PURCHASE_COST, SHOW_LISTING_FIFO_COST, SHOW_LISTING_LIFO_COST, SHOW_LISTING_PURCHASE_PRICE, SHOW_LISTING_REPLACEMENT_PRICE, SHOW_LISTING_SALES_PRICE, SHOW_LISTING_SALES_MAX_PRICE, SHOW_LISTING_SALES_MIN_PRICE, SHOW_LISTING_REF_PRICE_1..3, SHOW_LISTING_DELTA_PRICE_1..3, SHOW_LISTING_REBATE_PRICE_1..3, SHOW_LISTING_COMPANY, SHOW_LISTING_LOCATION, SHOW_LISTING_STOCK_BALANCE, SHOW_LISTING_ADJ_QTY, SHOW_LISTING_AVAILABLE_QTY
Item view and pop-upsSHOW_AVG_COST, SHOW_LAST_PURCHASE_COST, SHOW_UNIT_COST_AMOUNT, SHOW_TOOLTIP_PRICING_DETAILS, SHOW_STOCK_MOVEMENT, SHOW_PURCHASE_DOCUMENTS, SHOW_PURCHASE_DOCUMENTS_IN_STOCK_MOVEMENT, SHOW_INTERNAL_STOCK_ADJUSTMENT
Stock Movement columnsSHOW_REPORT_DOC_SHORT_CODE, SHOW_REPORT_UNIT_PRICE, SHOW_REPORT_UNIT_COST, SHOW_REPORT_INVENTORY_VALUE, SHOW_REPORT_AMOUNT_STD, SHOW_REPORT_AMOUNT_DISC, SHOW_REPORT_AMOUNT_NET, SHOW_REPORT_AMOUNT_TAX, SHOW_REPORT_AMOUNT_TXN
Document pop-up columnsSHOW_DOC_POPUP_COST_AMOUNT, SHOW_DOC_POPUP_GP (re-enable the Cost Amount and GP columns of the document viewer opened from any document number in this applet)

Checked in code but not seeded (the feature can only be hidden for everyone until they are added): SHOW_STOCK_CARD_PLANNING_MENU, SHOW_AUDIT_TRAIL_MENU, SHOW_LISTING_COMPANY_AVG_COST, SHOW_UOM, SHOW_STOCK_BALANCE, SHOW_ADJ_QTY, SHOW_AVAILABLE_QTY, and the eight the Sales Report / Purchase Report views read — SHOW_UNIT_COST, SHOW_MA_COST, SHOW_GP, SHOW_GP_PERCENTAGE, SHOW_DELTA_UNIT_COST, SHOW_DELTA_COST, SHOW_DELTA_GP, SHOW_DELTA_GP_PERCENTAGE.

Fields

No create or edit forms; item, location, bin, serial, batch, category and date columns are what they say. What the listing does not tell you:

  • Grouped items never appear — a bundle’s availability is its components’; check them one by one.
  • A location can appear for an item it has never held — an open document naming it is enough, with Stock Balance 0.
  • A location holding zero or less never appears — the listing asks only for balances above zero, and the location’s open documents drop out with it. A negative balance shows on the Details listing once HIDE_ZERO_BALANCE is unticked, or in Stock Report’s Stock Movement.
ColumnWhat it hides
Stock Balance, Adj Qty, Available QtySee How availability is calculated. Adj Qty shows unsigned — 3 units on open sales orders show as 3, not −3 — and the sign appears only in Available Qty. For an item with both kinds of open document, see the first row of Troubleshooting.
Qty, Base Qty, Container Qty / Ctn Qty, Container MeasureQuantity in the item’s UOM and base UOM, and per container for batch / bin items
Company Avg Cost, Location Avg Cost, Last Purchase Cost, FIFO Cost, LIFO Cost, AmountTwo levels side by side. On the main listing, Location Avg Cost and Last Purchase Cost are the location’s (the Details listing’s per-location cost tooltip shows the company figures for every location); Company Avg Cost, FIFO and LIFO are the company’s and repeat on every location. Compare Location Avg Cost across branches to see which bought dearer. On the item view opened from a row, Company Avg Cost is read from the newest stock ledger line for the item and company rather than from the company balance — the same figure once the balance processors have run, and the older of the two if they have not
NSTI Code / NameNon-stock trade-in items. Both average-cost columns show a figure from the trade-in prices paid at that location, tax included; Last Purchase, FIFO and LIFO are zero.

Details listing adds one column per pricing scheme selected in PRICING_SCHEMES for each price metric selected in PRICE_METRICS (sales unit price when none is chosen), plus item images when chosen in the Optional filter. Min / Max Qty, when chosen, add no column: they are written at the end of each location’s balance cell.

Stock Card & Planning columns: Total Qty, Reserved Qty, Reserved By, Locked Qty, Packed Qty, Ad Hoc Qty, Available Qty, Container Qty, Bin Code, UOM, Job Order, Completion Date, Status.

Lifecycle and effects

Read-only — the applet writes nothing. Balances change only when stock documents are finalised elsewhere. On every load the listing merges the backend rows per item × location × company (see the first row of Troubleshooting). For each row the backend returns the ledger balance, the open-document quantity for one document-type pair, the reserved quantity, the company balance and the cost bases (location and company average and last purchase, FIFO, LIFO); min / max levels come only with the Details listing; when a caller sends no pairs it substitutes the defaults sales order → sales invoice (−1) and goods received note → purchase invoice (+1), and an incomplete pair becomes sales order → sales invoice (−1) alone.

How availability is calculated

Available Qty is the physical balance, plus a signed adjustment for open documents, minus what Stock Reservation holds there — and the adjustment can be positive:

    flowchart LR
  SB["Stock Balance<br/>ledger quantity at this company and location,<br/>from finalised stock documents"]
  SO["Sales orders not yet invoiced<br/>signum -1"]
  GRN["Goods received notes not yet invoiced<br/>signum +1"]
  ADJ["Adj Qty<br/>signed sum of the open-document pairs"]
  RES["Reserved quantity<br/>from stock reservations at this location"]
  AV["Available Qty<br/>Stock Balance + Adj Qty - reserved"]
  SO --> ADJ
  GRN --> ADJ
  SB --> AV
  ADJ --> AV
  RES --> AV
  

Those two pairs are the server’s default when a screen sends no list of its own, as the main listing does. On the Details view, the GRN, Purchase Order, Sales Order, Delivery Order and Quotation tabs each ask for their own pairs, and the draft tabs read draft documents through the stock report; the Details listing uses no pairs at all; it works from fixed per-document figures the server computes for it, added up with a different formula (below).

A location at zero or below is never a row of its own. The request behind the listing and the Stock Transfer Queue always asks for balance rows with a ledger quantity above zero — a filter no screen sends and none can switch off — so a location whose balance has gone to 0 or negative drops out — together with any open document joined to it, so its sales orders stop counting here too. It reappears only when its balance is above zero again. (A location with no balance row at all still shows an open document, with Stock Balance 0.)

The one place in this applet that shows a negative location balance is the Details listing, whose query carries no such filter — but untick HIDE_ZERO_BALANCE there first: by default it drops an item whose locations add up to zero, so −5 in one branch and +5 in another hides both.

ColumnMeaning
Stock Balance (physical)The ledger quantity at that company / location, from finalised stock documents
Adj QtyThe open-document quantity: against you for sales orders, for you for uninvoiced receipts. The main listing shows it unsigned
Available QtyStock Balance + signed Adj Qty − reserved quantity — what a new order can still take
Min / Max levelThe item’s minimum and maximum stock levels for the location, returned only for the Details listing and shown there, when the Optional filter includes SHOW_MIN_QTY / SHOW_MAX_QTY, at the end of each location’s balance cell, after any document balances the Optional filter shows (the listing’s legend gives the order, ending Min Qty / Max Qty), not as columns

The Details screen lists open documents per type (Sales Order, Purchase Order, GRN, GRN draft, GRN stock-in draft, Delivery Order, Sales Invoice draft, Sales Quotation). Each view tab asks for its own pairs, so it shows more than the listing counts: an open Purchase Order, a delivery order or a quotation appears there and is not in the listing’s Adj Qty, which is the two default pairs above. “50 physical but 0 available” on the main listing is traceable to the Sales Order and GRN tabs and to Stock Reservation; the other tabs are context, not part of that sum.

Availability on the Details listing

The Details listing adds up differently. Its per-location figure is balance + GRN + PO − (sales orders + reserved) − DO − sales invoice draft + GRN draft + GRN stock-in draft, each term switched off by the matching HIDE_…_BALANCE entry in the Optional filter (so with the default filter it shows the bare balance), and its Total SO column is sales orders plus reservations.

Two cautions before you trust it. A document line gets one open-queue row for each next document the company’s document flow allows, and this figure adds the sales-order rows towards both a sales invoice and a delivery order (and purchase-order rows towards a GRN, a GRN stock-in and a purchase invoice), so an open sales-order line that has both an invoice row and a delivery-order row counts twice, and a purchase-order line up to three times.

The reservation term is matched to the item by an identifier Stock Reservation may fill with a different item id, so a reservation may not land on its item’s row (read in the query, not confirmed on a tenant). Reconcile against the source order lines, and check reservations in Stock Reservation, before you promise stock from this figure.

So on Details an open purchase order and a reservation both count once those terms are switched on. On the main listing a purchase order never counts, and a reservation is subtracted on every row except one the listing has merged (see the first row of Troubleshooting). When the two screens disagree for one item and location, start with that difference in terms, then the two cautions above.

Related applets

Troubleshooting

SymptomCauseFix
Available Qty on the listing is higher than Details for the same item and locationBoth an open sales order and an uninvoiced receipt exist there; the listing merges their two rows, leaving the first unsigned and dropping the reservation, in no fixed order. 10 on the shelf, SO 3, receipt 5: right answer 12, listing shows 12 or 18Read that item on Details
Physical shows 50, Available shows 0Open sales orders, or a stock reservation, have committed the stock; on this listing only orders not yet invoiced count (delivery orders count only on the Details listing). A balance left on an order that was voided, or on a line removed from an order, also counts: the sum reads each stored balance without asking whether its order is still liveOpen Stock Availability Details, untick HIDE_SALES_ORDER_BALANCE in the Optional filter to see which orders, and check Stock Reservation for the item and location if they do not account for it. For a voided order still listed, run Missing Reversal Queue on Trace Document; for a removed line, close it on SO Line with SI KO (how)
Item is out of stock but a colleague says it is on orderIncoming documents are hidden by the default Optional filterUntick HIDE_PURCHASE_ORDER_BALANCE / HIDE_GOODS_RECEIVE_NOTE_BALANCE
Cost columns missing for a userHidden by HIDE_LISTING_*_COST and the user lacks the SHOW_LISTING_* permissionGrant the permission or clear the setting
The Stock Movement tab, supplier documents or the serial-trace amount are missing for users without a SHOW_* permissionThe matching Details-tab switch or HIDE_UNIT_COST_AMOUNT is stored ON — someone set it and saved (a stored null shows ON on the settings screen but hides nothing)Open Application Settings, switch it off, save, and reopen the screen to confirm
A Details-tab switch I set ON and saved is not hiding anythingThe stored value did not take (the likeliest cause; not yet tested on a live tenant)Reopen Application Settings; if the switch shows OFF, set it again and save; if it shows ON and the feature is still visible, either the stored value is a null (save once more to store it ON) or the user holds the matching SHOW_* permission
Stock Card & Planning is not in the menuHidden by default (defaultHidden: true) and its SHOW_STOCK_CARD_PLANNING_MENU permission is not seededSet HIDE_STOCK_CARD_PLANNING_MENU off in Application Settings
Pricing scheme columns appear only on Details, or show one price type when two are wantedScheme columns exist only on the Details listing, and each selected metric adds its own column per schemeSelect every metric you need in PRICE_METRICS — the columns are headed Scheme (Metric) when more than one is chosen
A location I know has gone negative is not on the listingThe listing asks only for balances above zero; the location drops out, with its open documents, until a document brings it back above zeroOpen the item on Stock Availability Details with HIDE_ZERO_BALANCE unticked, which shows the negative figure, or Stock Report > Stock Movement for the document that overshot
Not authorised on Trace Serial No, Trace Batch No, Serial Number Balance, Stock Availability with SO and PO or a Sales Report / Purchase Report view, although the listing worksThose menus need permissions beyond the ones the applet names — see Before you can use itGrant the sub-line, serial-number, stock-report or sales / purchase report-by-document read permission
The Stock Aging Report shows less stock, or younger stock, than Stock BalanceThe report replays receipts from 1 January 2022 only; stock received before that is not aged, and a sale after the start of stock received before it counts as a shortage that absorbs the next receiptsTreat the report as the age of post-2021 receipts; for older stock use Stock Report by date range
Category filter returns different items here and in Doc Item MaintenanceThe two searches used different category levels; here Item Category Level N filters on the item master’s category level N, and levels 17 to 20 are offered but not sentUse the same level in both searches, and a level from 1 to 16 here
A listing search returns no rows and no message, every timeThe query behind the listing divides each trade-in (NSTI) item’s purchase prices by its quantity per company and location, with no guard: when those quantities add up to zero for one item, the whole request fails, and the listing reports nothing (read in the query, not reproduced on this screen)Tell BigLedger support which locations you searched: it can fail whichever item you asked for, and whether leaving a location out avoids it is not established. Check the units of the locations you searched in Non Stock and Trade In
Trade-in stock missing from the historical balanceTrade-in (NSTI) stock is not included thereUse the NSTI columns on the listing
Serial trace shows negative quantitiesTrace Serial No shows each line’s quantity as it comes back from the server, with no sign change, so an outgoing line can read negative (a service note, which moves no stock, reads N/A). The screen keeps no running balance. (Trace Batch No is different: it turns sales invoice lines positive.)No action: the Server Doc Type column says which document each line is

Related documentation

Last updated on