Stock Report
“Two reports over the same period give different totals. Which is right?” Usually both. Each of this applet’s thirteen read-only reports is made from one of two things — the stock ledger, re-read when you run it, or a balance row that a background job rewrote after each movement — and values stock at one of two averages. This page covers each report’s screen and settings, and walks one purchase, one sale and one return through three of the reports so you can see which figures must agree and which never will. Inventory reports owns the report-by-report table, the thirty-second check that tells a stale figure from a real difference, and what no report does.
Your job, and the screen for it
| The job | Screen or tab | Read |
|---|---|---|
| Follow every movement of an item, with its running balance | Stock Movement Report | Stock Movement Report |
| Know what stock was worth at a past date | Historical Stock Balance | Historical Stock Balance |
| Value the stock on hand now | Stock Balance Report (moving average and last cost per company) | Stock Balance Report |
| See how long stock has sat, or which batches are close to expiry — the Aging report ages transferred stock as new | Stock Aging Report; Batch and Expiry Date Report; for unsold stock, Stock Summary Report By Location (Sold) | Stock Aging Report; Batch and Expiry Date Report; What these reports do not do |
| Compare what you bought and sold of an item, or bought from each supplier | Stock Sales And Purchase By Item Code; Stock Purchase Report by Supplier, which lists a foreign-currency purchase twice | Stock Sales And Purchase By Item Code; Stock Purchase Report by Supplier |
| Work out why two reports give different totals — usually both are right | Any two of the reports above | Stored row or the ledger re-read, report by report |
Overview
The Stock Report applet is the read-only reporting front end for inventory. It reads the stock transaction ledger, the item-location balances and the item master, and presents thirteen reports: where stock moved, how old it is, what each location holds, what the balance was on a past date, what was bought and sold per item and per supplier, and the stock value by category level. Nothing in it creates, edits or posts a document.
Warehouse managers open it to trace movements and count discrepancies; finance opens it for closing-stock values and gross profit; purchasing for sales-versus-purchase, supplier and last-purchase-price checks. Every report shares the same layout — an Advanced Search panel, a column toggle, an interactive grid with grouping and totals, and Excel / PDF export from the status bar.
Where it fits
What must exist first. Every figure here is a ledger line, or a balance row, that a job wrote after somebody pressed FINAL on a stock-moving document — apart from the Supplier report, which reads the finalised purchase documents themselves. FINAL is its own call, not a save: it queues one primary job after the save commits; a secondary job writes the signed stock line for each document line (and, for a transfer, the mirror line on the company’s in-transit location); a further job applies each line, once, to the item’s balance row at the location and at the company, recomputes the moving average, and writes that average back onto the document line. So a document that is saved and not finalised is in no report here (the one exception is a draft inbound transfer, which Summary by Location counts as in transit), and neither is a finalised document whose type carries no stock quantity — a sales order, a quotation, a plain GRN, a delivery order, a credit note. If a document you expect is missing, check what it is before you check the report. Items need their type, sub-type and category levels from Item Maintenance before the filters mean anything; the Pricing report needs pricing schemes; the batch and serial reports need tracking switched on per item.
What it makes possible. The month-end valuation and the tie-out: Historical Stock Balance run on the close’s basis is the one figure you can put beside the stock account on the balance sheet, because Month End Processing reads the same ledger at the same company average. The slow-stock decision (Summary by Location’s Sold column over 90 and 180 days), the daily negative-stock chase (the Pricing report’s Option Balance), the count sheet with serials (With Serial), the supplier trace (by Supplier with Serial, and Purchase by Supplier), and the back-dating hunt (Stock Movement with Date Type set to the created date).
Where the close and Historical part. The close takes each item’s balance from the company’s last ordinary or Reset MA line; Historical takes it from each location’s last ordinary or stock-sync line. So they differ where a stock-sync line is an item’s last movement, which Historical counts and the close does not, and where a deleted ledger line is the last one, which the close still reads. Historical lists replacement and manual among its bases but returns no historical figure for either, so a close on either basis cannot be checked against it.
Siblings, and which to open. Stock Balance shows the stored location row now, positive balances only; Stock Availability shows the same row plus the signed open orders. The Stock Movement Report here is the stock card — the ledger itself, line by line — and Historical Stock Balance is the ledger as at a date. For “what do we hold”, Stock Balance; for “can I promise it”, Stock Availability; for “what happened to it” or “what was it on the 30th”, this applet. The five balance reports here add what the grid lacks: zero and negative rows, prices, serials, batches and suppliers.
What breaks if a figure from here is wrong. A closing value taken from the wrong report and keyed as a non-zero Select Manual closing value (zero is ignored) replaces the calculated one: that month’s cost of sales and stock account are wrong, and the next month, opening from that value, reverses the error into its own cost of sales. Stock Value By Level overstates by the number of locations an item sits at; a report run for some locations, active items only or one category understates; a Pricing report run across two companies adds the companies’ unit costs on one row. None of these shows an error; each produces a confident number.
What it pairs with. The Data Fix applet’s Stock › Location Stock, when the Stock Movement balance and a stored-row report disagree for the same item and location; the Financial Report applet’s Stock Flow Report and Trace Document, when a purchase or sale reached the ledger here but not its journal; Month End Processing, whose closing stock is Historical Stock Balance on the close’s basis; and a Stock Adjustment after a count, which is how a difference these reports expose gets into the ledger.
| Direction | Applet / document | Why |
|---|---|---|
| Upstream | Every stock-moving document — sales invoice / cash bill / return, purchase invoice / GRN Stock In / return, Stock Transfer, Stock Adjustment, consignment. A Supplier RTV in Internal RMA is not one: by design it is the return record, and the Purchase Return moves the stock | Each writes one signed line to the stock ledger the reports read |
| Upstream | Inventory Item Maintenance / Doc Item Maintenance | Item type, sub-type, category levels 1–10, EAN, UOM |
| Upstream | Pricebook | Pricing schemes shown on the Stock Balance Pricing Report |
| Upstream | Organisation | Companies, branches, locations and location labels used as filters |
| Sibling | Stock Balance, Stock Availability | The stored row now; this applet is the historical and analytical view |
| Downstream | Financial Report — Month End Processing | Closing stock on the cost-of-sales journal is read from the same ledger, at the same average, as Historical Stock Balance on the close’s basis |
Modules: Inventory, Financial Accounting.
Screens and menus
| Menu | Route | What it shows |
|---|---|---|
| Stock Movement Report | stock-movement-report | Every stock ledger line, grouped by item, with running balance |
| Stock Aging Report | stock-aging-report | Remaining quantity and value by age bucket |
| Stock Summary Report By Location | stock-summary-report-by-location | Opening, purchase, sold, adjustment, others, in-transit, closing per item and location |
| Historical Stock Balance | historical-stock-balance | Balance and MA value as at a past date |
| Stock Sales And Purchase By Item Code | stock-sales-purchase-by-item-code | Sales vs purchase quantity and amount, GP, stock-turn ratio |
| Stock Purchase Report by Supplier | stock-purchase-report-by-supplier | Finalised purchase invoices and purchase returns by supplier, item, location and date; returns negative |
| Stock Value By Level Report | stock-value-by-level | Quantity and value pivoted by category level and location |
| Batch and Expiry Date Report | batch-expiry-date | Batch quantities with their expiry dates (no batch number column) |
| Stock Balance Report | stock-balance-report-new | Current balance with MA and last cost per company |
| Stock Balance by Item, Supplier and Batch Expiry Report | stock-balance-supplier-serial-batch | Balance per item, supplier entity and batch with MA value |
| Stock Balance Pricing Report | stock-balance-report | Current balance with the item’s price-book prices, tax codes and costs |
| Stock Balance Report With Serial | stock-balance-report-with-serial | Balance per location with serial list, add / subtract and stock count |
| Stock Balance Report by Supplier with Serial | stock-balance-report-supplier-serial | Balance traced to the purchase document, supplier and serials |
An Item Price Change Report route exists but its menu entry has been removed.
The thirteenth report reached your screen on 14 October 2026. Stock Purchase Report by Supplier lists finalised purchase invoices and purchase returns by supplier, item, location and date, with a return’s quantity and amount shown negative so a supplier’s total is net of what went back. It needs its own read permission (API_TNT_DM_ERP_STOCK_PURCHASE_REPORT_BY_SUPPLIER_READ, or _ADMIN / _OWNER), and its cost columns follow HIDE_MA_COST / SHOW_MA_COST like every other report’s. No show menu permission is registered for it, so once HIDE_STOCK_PURCHASE_REPORT_BY_SUPPLIER_MENU is set in Application Settings no permission brings it back for an individual user; clearing the setting is the only way. Gear (Settings) menu: Application Settings, Default Selection, Aging Period Settings, Custom Resource Bundle Configuration, plus Webhook, permission listings, Release Notes and Applet Log. Personalisation: per-user Default Selection.
Common controls
Every report opens with Advanced Search: location (multi-select; when you pick none, the report asks for the locations your read permission covers), item code keyword (three characters or more), item code range, item type, item status, item category levels, date range, and location labels. Each report adds its own options — Hide Voided Documents, Include SN Adjustment and Show NSTI Item Movement on the Movement report, Show Zero Balance and Show Serial Numbers on Historical Stock Balance, Show Zero Balance on Stock Balance, Hide Zero Quantity on Stock Balance With Serial, and Option Balance (positive, zero or negative) on the Stock Balance Pricing Report.
Stock Movement Report

Columns: Txn Date, Created Date, Location, Doc Short Code, Doc No, Ref No, Entity, Ext Invoice Date, Serial, Remarks, Unit Price, Unit Cost, Qty In, Qty Out, Balance Qty, Amount (std / disc / net / tax / txn) and Total Inventory Value. For stock transfers the report shows both locations of the pair. This is the ledger itself. Each row is one stock line as the stock job wrote it. Balance Qty is worked out on the screen: the opening balance plus each listed line’s quantity, in the order shown, added up per item across every location you picked. Run it for one location with no Date Type, document-type or void filter, and the last line’s balance is the item’s ledger balance there — the number every stored-row report is projected from — unless a stock-sync line falls inside your range: the report lists only lines that came from a document, Reset MA, serial adjustments and trade-in movements, so a sync line counts in the opening balance but is never listed. The opening balance for your range is read off the last line before the start date. Date Type decides which date the range filters: the document’s transaction date (the default), the moment the line was written, or the moment it was last updated — Created Date is how you list what was keyed after a month was closed and dated inside it. Unit Cost is the company’s average per unit as it stood on that line, in the cost basis you chose; where that is zero or blank the screen tries the other bases and, failing them all, shows the line’s own net price, or its standard price when the net is zero, so a line that cost nothing can show its selling price as cost. The source is the stock ledger, so a serial number changed by a serial adjustment appears as its own SN_ADJ row (included with Include SN Adjustment), and voided documents can be dropped with Hide Voided Documents. Doc Short Code is blank for any document type that has no short code, and the Sales GIN Stock Out is one of them. To pick those rows out, use the Server Doc Type filter in Advanced Search instead. It lists the raw type names (a Sales GIN Stock Out is INTERNAL_SALES_GIN_STOCK_OUT) and its search box matches any part of the name.
Show NSTI Item Movement (Yes / No, default No) was added in the build served from 14 October 2026. It asks the server to add the movements of trade-in units, which are otherwise in no stock report. Whether your server honours it is not something this page can see: the backend version we read adds the trade-in movements and their opening balance when the switch is Yes, and an older one ignores the flag. Test it once — pick an item with a trade-in movement that passes every filter you set, set it to Yes, and if the row count does not change your backend predates the switch; the Non Stock and Trade In listing is the fallback.
Stock Aging Report

Columns: Company, Location, Item, Inventory Item Code, EAN, Type, Sub Type, UOM, Aging, Qty, Amount, plus one bucket column per period. The report always starts on 1 January 2022, whatever the search panel says: the request is sent with that fixed start and the server replays receipts first-in, first-out from there up to the Date As you choose. Stock received before 2022 is not in the replay at all, and each later sale of it is taken out of the next receipts instead, so an item that still holds pre-2022 stock shows less here than on the balance reports; compare its quantity with Historical Stock Balance as at the same date before trusting the buckets. The columns are counted back from the Date As you choose (today unless you change it), so a report run as at the last day of a past month ages the stock as it stood that day. In month mode (the default) they are the month of Date As, each of the five months before it, and 6 Month+ for anything older. In day mode they are the day ranges of the aging-period definition selected under Settings > Aging Period Settings — the setting alone does not create day ranges; selecting a definition does — and since the 14 October 2026 build the last column counts everything older than the definition’s last range, where it used to count a fixed 180 days whatever the ranges said. Day ranges count each receipt from the first day of its month, so stock received on 29 November is 29 days old on 30 November. Each column’s Amount is the month’s surviving quantity at the average on one of that month’s receipts, not the value at Date As; take values from Historical Stock Balance. Picking locations does not narrow it for a user whose read permission is location-scoped: the request adds every location that permission covers. Use a location label, or the Company filter, to narrow it. Every movement that adds stock starts a new age, and a stock transfer counts as one at the receiving location and, through the company’s in-transit location, at company level too. So transferred and returned stock always looks new, whether you run the report for a location or for the company. To find stock with no sale in a period, the Sold column of the Stock Summary Report By Location over that period is the better tool, because transfers fall under Others.
Since the build served from 14 November 2026 the report also counts serial numbers: a Total Quantity SN column and an SN count in every age column, unless HIDE_STOCK_AGING_SERIAL is on in Application Settings. A serial is aged from the day it last came back into stock at that location, so a unit sold and then returned ages from the return. Serial counts are not cut off at 2022 and age by each serial’s own return to stock, so they can sit in a column where Qty shows nothing. Click a count to list the movements of those serials: it loads the first 150 serials only, and each one’s whole history, drafts included, wherever it moved.

Stock Summary Report By Location
Screenshot withdrawn; a recapture from a demo tenant is on the list.
Per item and location: Open Balance, Purchase, Sold, Adj, Others, Stock In Transit, Last Purchase Date, Closing Balance, Closing Balance (include non-movement) and Closing Inventory Value. The backend classifies ledger lines by document type: Purchase = purchase invoice, purchase GRN (stock-in), purchase return; Sold = sales invoice, cash bill, sales return; Adj = stock adjustment; Others = everything else (transfers, consignment, RTV, and stock shipped on a Sales GIN Stock Out, so a sale made that way is not in Sold); Stock In Transit = outbound stock transfer queue quantity still open plus draft inbound transfer lines, as they stand now, whatever dates you ran the report for. Closing Balance is the running balance read off the last ledger line up to the end date, the same line Historical Stock Balance reads, so it already includes transfers and every other movement. Closing Balance (include non-movement) rebuilds it as opening plus every movement column; the two differ only when the running balance and the movements disagree (a back-dated document still being re-costed, or a stock-sync line with no document type, which no column counts). Closing Inventory Value is the closing balance times the company price on the company’s last ledger line of any kind before the end date.
Historical Stock Balance

Columns: Item Code, Item Name, UOM, Qty (as at date), Historical MA cost and value, Current MA cost and value, Serial Numbers (optional) and Last Cost. Quantity is read, not added up. For each item and location the report takes the running balance stored on one ledger line — the latest one dated up to the end of the balance date. When two or more of an item’s lines at a location carry the identical transaction date and time (two lines for the item on one document, or several documents stamped with the same moment), the tie is broken by an internal identifier, not by the order they were posted (where a tenant’s ledger order has been set to use the creation time, that comes first). That is also the order in which BigLedger builds the running balance when it posts, re-costs a back-dated document or rebuilds the chain, so the line the report picks is the last in that order and carries the balance after every movement of that moment. The figure is right. Two more rules decide what you see: only ordinary document movements and the two stock-sync types are read, so a later line of another type is not; and an item with stock but no costed movement (purchase-and-sales or Reset MA) at that company before the date is left out of the report altogether. The historical MA cost is taken from the last purchase-and-sales or Reset MA ledger line before that date; the Current MA columns are read off the company balance row as it is now, so they move while the historical ones do not. To check a figure you doubt, open the item on the Stock Movement Report for that location. It lists the lines in the same order (except within a moment where creation time sets the order), so the lines that share a moment sit together and the balance after the last of them is the one that counts. Created Date does not tell you which came last: within one moment the order is the internal one, so the balances of the lines in between can look out of sequence, and one can even be negative, while the figure after the last line is right. Stock Summary Report By Location is not an independent check here, because its opening and closing quantities are read off a ledger line the same way. Trade-in stock is not included (open request).
Last Cost, added in the build served from 14 November 2026, is the company’s last purchase-invoice price as it stands now, read off the company balance row like the Current MA columns, so it is not the last cost as at the date. In the same build, clicking an item opens a Stock Details View listing its movements at the locations picked in the search’s Location field (locations a location label added are not carried over), from 1 January 2020 to the end of the balance date — the check above without leaving the report.
Run it for one company at a time. When the locations you pick belong to two companies, an item both companies hold comes back once per company, each row carrying the quantity of both, so the grid’s total counts it twice.
Stock Sales And Purchase By Item Code
Screenshot withdrawn; a recapture from a demo tenant is on the list.
Columns: Item, Description, Location, Balance Qty, Purchase Qty / Amount, Qty Sold, Sales Amount, Cost, GP, Last Purchase, Stock Turn Ratio. Purchases are purchase invoice, GRN (stock-in) and purchase return lines; sales are sales invoice, cash bill and sales return lines, within the date range. Cost is each sale line’s quantity times the company average that was standing on that line when it was costed, added up; GP = Sales Amount − Cost; the GP columns are gated (see Configuration). That cost is not the month’s cost of sales on the income statement, which Month End Processing works out from opening stock, purchases, adjustments, Reset MA and closing stock — the margin report and the Profit and Loss do not agree walks the difference.
Stock Purchase Report by Supplier
Screenshot pending; a capture from a demo tenant is on the list.
One row per finalised purchase invoice or purchase return line, with supplier, item, location, document date, quantity and amount; a return’s quantity and amount carry a minus sign, so grouping by supplier gives a net figure. It reads the purchase documents, not the stock ledger, so a GRN Stock In — stock on the shelf with no supplier bill yet — is not in it, while a finalised purchase invoice whose stock line failed still is, and so is a service line on it such as freight. Use it for “what did we buy from this distributor this quarter, net of returns”; use Stock Sales And Purchase By Item Code for the item’s side of the same question.
A foreign-currency purchase appears twice here. When a purchase in another currency is finalised, BigLedger writes a ringgit copy of it, and this report has no filter that leaves the copy out and no currency column. So a US-dollar invoice shows once in dollars and once as its ringgit copy, its quantity is counted twice, and the supplier’s Amount Txn total adds dollars to ringgit. For one figure per invoice, read the Purchase Report, which reads the original only. This is a known defect BigLedger is tracking; until it is fixed, do not quote a supplier total from this report for a supplier you buy from in another currency.
Stock Value By Level Report

Groups stock by category levels 1–10 (level 0 is also supported) with a Qty and Amount pair per location and totals. It reads the stored balance rows, so it shows now and has no date. Its Amount is not a location’s value: each location row carries the company’s whole value of the item, and the totals add it once per location that holds a balance row for the item (a known issue, reported to engineering). Take stock value from Historical Stock Balance.
Batch and Expiry Date Report

Columns: Item Code, Item Name, Qty, Amount and Expiry Date, with Category 1–10 hidden until you show them. There is no batch number column, so two batches of one item that share an expiry date look alike, and there are no expiry-bucket columns. To see what expires soon, sort or filter on Expiry Date.
It reads the quantity kept per batch, valued at the company’s current average, for items whose batch, item and company rows are all active — so a batch on a discontinued item disappears from it the day the item is deactivated, stock or no stock.
Stock Balance Report
Screenshot withdrawn; a recapture from a demo tenant is on the list.
Columns: Company, Item, Type, Sub Type, UOM, Balance Qty, Unit Cost (MA), Total Cost, Unit Last Cost, Total Last Cost, category levels. It reads the company balance row, now, and leaves out items whose company quantity is zero unless Show Zero Balance is on — and it is on when the screen opens, so clear it to see only items in stock. A branch that has gone negative is invisible here when the company’s other branches cover it — that case is the Pricing report’s, below.
Stock Balance Pricing Report

Adds the item’s Pricing Scheme, Sales / Purchase Unit Price, Sales Min / Max, Ref Price 1–3, Delta Price 1–3, Rebate Price 1–3, Replacement Price, Input / Output tax code, rate and type, and Unit / Total Cost. Which pricing schemes are included is set by PRICING_SCHEMES in Application Settings. Once the report is open, its column header reads Stock Summary Report By Location, the same title as a different report on the menu; go by the menu entry.
This is the one screen that can list every active item that has gone negative. Its Advanced Search has an Option Balance filter: POSITIVE, ZERO or NEGATIVE, or blank for all. Set to NEGATIVE, the report keeps only the location balances below zero, so an item with none does not appear at all. That makes it the daily check for selling ahead of receiving. The Stock Balance screen cannot do this, because it never shows a zero or negative balance. The Stock Balance Report above shows a negative only when the whole company is negative, and a branch that is short can hide inside a positive company total.
The Pricing report reads active items only, so an item deactivated while a location is still negative drops out of the NEGATIVE run; check the item’s balance before you deactivate it.
Two things to know when you read the result. Each row is an item, not an item at a location. Qty adds together the balances of every location you picked, and there is no location column. To learn where a shortfall is, pick one location per run. It is the balance now, not at a past date, so run it at close of day. Then open the item on the Stock Movement Report for that location to find the document that overshot. If the report is missing from your sidebar, HIDE_STOCK_BALANCE_REPORT_MENU is on (see Applet settings).
Stock Balance Report With Serial, by Supplier with Serial, and by Item / Supplier / Batch
Screenshot withdrawn; a recapture from a demo tenant is on the list.
With Serial: Location, Item, EAN, UOM, Qty, Serial Numbers, Add, Subtract, Stock Count — a count sheet with serials, read from the location balance row and the serials recorded against it. By Supplier with Serial: Doc Short Code, Doc No, Txn Date, Supplier, Item, Serial Numbers, Balance Qty, Unit / Total Cost — one row per finalised purchase invoice or purchase return line, with the serials on that purchase. Balance Qty and the costs are the company’s current balance of the item, repeated on every purchase row, so do not total them; it tells you who supplied an item and on which document, not what is left of each purchase. By Item, Supplier and Batch Expiry: Entity, Item, Batch Number, Qty, MA Price, MA Amount — the batch entries on the ledger lines up to the end date, valued at the location’s current average.


Configuration
Before you can use it
| Prerequisite | Where | Why |
|---|---|---|
| Report read permissions | Applet permission assignment | Each report calls its own API permission (API_TNT_DM_ERP_STOCK_REPORT_READ, …STOCK_AGING_REPORT_READ, …STOCK_SUMMARY_REPORT_BY_LOCATION_READ, …STOCK_SALES_PURCHASE_BY_ITEM_CODE_READ, …STOCK_PURCHASE_REPORT_BY_SUPPLIER_READ, …STOCK_VALUE_BY_LEVEL_READ, …BATCH_AND_EXPIRY_DATE_READ, …STOCK_BALANCE_REPORT_READ, …STOCK_BALANCE_REPORT_BY_BATCH_NUMBER_READ, …STOCK_BALANCE_WITH_SERIAL_NUMBERS_READ), targetable to locations and branches. Historical Stock Balance and the Stock Balance Report have no family of their own: they use the plain API_TNT_DM_ERP_STOCK_REPORT_* family, the same as the Movement report. The hidden Item Price Change route calls API_TNT_DM_ERP_ITEM_PRICE_CHANGE_* |
| Location read permissions | Applet permission assignment | Non-administrators see only locations they may read. On the Movement report, a user with no location picked and no location-scoped permission falls back to their Default Selection location (personal first, then the tenant’s) and is asked to pick one only when there is none |
| Items with categories, EAN, type / sub-type | Doc Item Maintenance | Category filters and grouping |
| Pricing schemes | Pricebook | Stock Balance Pricing Report |
| Batch / serial tracking on items | Inventory Item Maintenance | Batch expiry and serial reports are empty otherwise |
No GL codes, numbering or document settings are needed; the applet writes nothing.
Applet settings
Settings > Application Settings is the applet’s own screen, not the shared Field Settings screen other applets use; it has four tabs (Sidebar Menu, Advanced Search, Stock Report Listing, Item Category Group).
| Tab | Setting | What it controls | Default | Effect when changed |
|---|---|---|---|---|
| Sidebar Menu | HIDE_<REPORT>_MENU — one per report, e.g. HIDE_STOCK_MOVEMENT_REPORT_MENU, HIDE_STOCK_AGING_REPORT_MENU, HIDE_HISTORICAL_STOCK_BALANCE_MENU, HIDE_STOCK_PURCHASE_REPORT_BY_SUPPLIER_MENU, HIDE_STOCK_BALANCE_REPORT_NEW_MENU, HIDE_STOCK_BALANCE_REPORT_MENU (Pricing), HIDE_STOCK_BALANCE_REPORT_WITH_SERIAL_MENU … (key = route in upper case) | Removes the report from the sidebar | off | Hidden unless the user holds the matching SHOW_<REPORT>_MENU permission |
| Stock Report Listing | HIDE_MA_COST | Unit Cost / Total Cost / MA value columns on most reports. It does not hide Historical Stock Balance’s Last Cost, the cost columns of the Aging report’s serial movement list, Stock Value By Level’s Amount columns, or the Supplier report’s WA, FIFO, LIFO, replacement, manual and last-purchase cost columns, which start hidden but can be shown from the column list | off | Reopened per user by SHOW_MA_COST |
| Stock Report Listing | HIDE_GP, HIDE_GP_PERCENTAGE | Gross profit and GP % columns (Movement, Summary by Location, Sales and Purchase) | off | Reopened by SHOW_GP / SHOW_GP_PERCENTAGE if granted (not seeded in the registry) |
| Advanced Search | ADVANCED_SEARCH_SHOW_COST_MA, …COST_WA, …COST_FIFO, …COST_LIFO, …COST_REPLACEMENT, …COST_MANUAL, …REF_PRICE1–3, …DELTA_PRICE1–3, …REBATE_PRICE1–3, …SALES_MIN_PRICE, …SALES_MAX_PRICE, …PURCHASE_MIN_PRICE, …PURCHASE_MAX_PRICE, …REPORT_UNIT_REPLACEMENT_COST, …REPORT_UNIT_MANUAL_COST, …REPORT_UNIT_COMMISSION, …REPORT_UNIT_REBATE | Which cost / price bases can be chosen in Advanced Search and appear as columns | off | The setting alone decides, for every user. Turn a basis on and anyone who can run the report can choose it; turn it off and nobody can, whatever permission they hold. The SHOW_ADVANCED_SEARCH_<BASIS> permissions in the registry are no longer consulted. The four …REPORT_UNIT_* toggles change nothing — no report offers those bases |
| Stock Report Listing | HIDE_STOCK_AGING_SERIAL | The serial-number count columns on the Aging report | off | No permission reopens them for one user: none is registered |
| Stock Report Listing | AGING_PERIOD_TYPE | Month (default) or day buckets on the Aging report | Month | Day mode takes its ranges from the definition selected under Aging Period Settings; with none selected there are no day columns to show |
| Stock Report Listing | PRICING_SCHEMES | Pricing schemes listed on the Stock Balance Pricing Report | none | — |
| Item Category Group | Category groups 0–20 | Which item category levels are offered as filters, each with its label list and a visibility toggle | — | — |
Default Selection, aging periods and keys not on the screen
Settings > Default Selection — three values, three different effects. Location: the personal Default Selection pre-fills the location picker in every report’s search panel; the tenant value is used only by the Movement report, as the fallback described under Before you can use it. Branch: no report or search field reads it. Language: switches the applet’s screen language (personal first, then tenant, then English) — it does not filter anything. Settings > Aging Period Settings — a list of aging-period definitions; selecting one stores the definition and its month / day type together (so it also changes AGING_PERIOD_TYPE), and clearing the selection clears both. Settings > Custom Resource Bundle Configuration — relabel menu names and column headers.
The Stock Balance Pricing Report has its own column keys HIDE_LISTING_SALES_PRICE, HIDE_LISTING_PURCHASE_PRICE, HIDE_LISTING_SALES_MIN_PRICE, HIDE_LISTING_SALES_MAX_PRICE, HIDE_LISTING_REF_PRICE_1–3, HIDE_LISTING_DELTA_PRICE_1–3, HIDE_LISTING_REBATE_PRICE_1–3, HIDE_LISTING_REPLACEMENT_PRICE, read from the same settings record; they are not on the settings screen and their SHOW_LISTING_* counterparts are not registered.
INCLUDE_* / ENABLE_* dimension and tax keys, PRINTABLE, and the ten HIDE_<REPORT> keys without the _MENU ending are declared in the settings model but unused — the sidebar reads only the …_MENU keys.
Document behaviour settings
Not applicable — the applet has no documents, statuses or printables.
Who can change what
Registered client-side permissions for stockReport (all ACTIVE):
| Permission | Unlocks |
|---|---|
SHOW_STOCK_MOVEMENT_REPORT_MENU, SHOW_STOCK_AGING_REPORT_MENU, SHOW_STOCK_SUMMARY_REPORT_BY_LOCATION_MENU, SHOW_HISTORICAL_STOCK_BALANCE_MENU, SHOW_STOCK_SALES_PURCHASE_BY_ITEM_CODE_MENU, SHOW_STOCK_VALUE_BY_LEVEL_MENU, SHOW_BATCH_EXPIRY_DATE_MENU, SHOW_STOCK_BALANCE_REPORT_NEW_MENU, SHOW_STOCK_BALANCE_SUPPLIER_SERIAL_BATCH_MENU, SHOW_STOCK_BALANCE_REPORT_MENU, SHOW_STOCK_BALANCE_REPORT_WITH_SERIAL_MENU, SHOW_STOCK_BALANCE_REPORT_SUPPLIER_SERIAL_MENU, SHOW_ITEM_PRICE_CHANGE_MENU | The report when its menu is hidden tenant-wide |
SHOW_MA_COST | Cost columns when HIDE_MA_COST is on |
SHOW_UNIT_COST, SHOW_TOTAL_COST, SHOW_OPEN_INVENTORY_VALUE, SHOW_CLOSING_INVENTORY_VALUE, SHOW_OPEN_BALANCE_VALUE, SHOW_CLOSING_BALANCE_VALUE | Nothing. No report reads them; the columns they name follow HIDE_MA_COST / SHOW_MA_COST |
SHOW_ADVANCED_SEARCH_COST_MA … SHOW_ADVANCED_SEARCH_REPORT_UNIT_REBATE (24, including SHOW_ADVANCED_SEARCH_SALESMAN_COST, which matches no basis on the settings screen) | Nothing. Advanced Search stopped consulting them in July 2026; the ADVANCED_SEARCH_SHOW_* setting alone decides |
SHOW_STOCK_AGING_REPORT, SHOW_STOCK_BALANCE_REPORT, SHOW_HISTORICAL_STOCK_BALANCE, SHOW_STOCK_SUMMARY_REPORT_BY_LOCATION, SHOW_STOCK_SALES_AND_PURCHASE_BY_ITEM_CODE, SHOW_STOCK_VALUE_BY_LEVEL_REPORT, SHOW_BATCH_AND_EXPIRY_DATE_REPORT, SHOW_STOCK_BALANCE_REPORT_WITH_SERIAL, SHOW_STOCK_BALANCE_BY_ITEM_SUPPLIER_BATCH_EXPIRY_REPORT, SHOW_ITEM_PRICE_CHANGE_REPORT | Nothing. Legacy per-report codes; the applet reads none of them |
So of the 54 codes you can grant, the twelve live …_MENU codes and SHOW_MA_COST act; SHOW_ITEM_PRICE_CHANGE_MENU names a report that is off the menu, the supplier report has no menu code at all, and the rest change nothing. Granting one of them is harmless, but it is not how to give someone a column or a cost basis.
Cost and profit visibility is therefore two-layered: the tenant hides with HIDE_MA_COST / HIDE_GP, and finance users get the columns back through SHOW_MA_COST (and SHOW_GP where seeded). Server-side, each report’s data call is refused without the corresponding API_TNT_DM_ERP_*_READ permission.
Fields
The applet has no create or edit forms. The search panel fields are listed under Common controls; the per-report column sets are listed with each report above.
Lifecycle and effects
The applet posts nothing, so its lifecycle is the lifecycle of what it reads. Two jobs write everything on these screens, and they run one after the other, after FINAL, not inside it. The stock job writes one signed ledger line per document line, with the running balance after it, in date order. The balance job then takes each line once, rewrites the item’s stored balance row at the location and at the company — quantity, moving average, last purchase cost — and writes the average back onto the document line it came from. A back-dated document is inserted into the item’s chain at its date and re-costs every later line; the stored row keeps its running total and is re-projected from the end of the chain when that finishes.
Stored row or the ledger re-read, report by report
Each of the thirteen reports either re-reads the ledger when you run it or reads a stored balance row that shows only now, and each values stock at the company’s or the location’s average. The report-by-report table is Where each report’s number comes from. Two consequences matter on this screen. A stored-row report can lag a ledger report by the time the balance job takes after FINAL, seconds and sometimes minutes on a busy tenant. A ledger report re-run for a closed month moves whenever something is finalised into that month afterwards, while the month’s journal does not. Where did this figure come from? is the same split across the rest of BigLedger.
One purchase, one sale and one return, through three reports
The scenario is the purchase on the purchase invoice page: GadgetSphere Distribution (GSD) holds 10 flagship smartphones, item PHN-FLAG-256, at its warehouse GSD-WH-01, at a moving average of RM 3,400.00 (RM 34,000). Its distributor delivers 50 more on a Purchase GRN, then bills them at RM 3,520.00 each plus RM 2,640.00 freight on a purchase invoice (a foreign-currency bill on that page; the figures below are its ringgit copy’s, which is the document every job and report reads). GSD then sells 12 to a corporate customer at RM 3,999.00 and takes 2 back on a sales return. The table reads the Stock Movement Report and the Stock Balance Pricing Report here, and the Stock Flow Report in the Financial Report applet, after each FINAL.
| Step | Document, FINAL | Stock Movement Report (the item at GSD-WH-01) | Stock Balance Pricing Report | Stock Flow Report, GSD, this month |
|---|---|---|---|---|
| 0 | — | Opening balance 10 | Qty 10, Unit Cost RM 3,400.00, Total Cost RM 34,000.00 | No row moves |
| 1 | Purchase GRN, 50 units | No new line. A plain GRN carries no stock quantity | Qty 10 — unchanged | No row moves; a GRN is on none of its rows |
| 2 | Purchase invoice, 50 × RM 3,520.00 and RM 2,640.00 freight | One line: Qty In 50, Balance Qty 60. No line for the freight: a service item makes no stock movement | Qty 60, Unit Cost RM 3,500.00 (RM 34,000 + RM 176,000 over 60), Total Cost RM 210,000.00 | Purchases: Inventory RM 178,640.00, Accounting RM 178,640.00, Difference 0. The journal debited the purchases account, not stock |
| 3 | Sales invoice, 12 × RM 3,999.00 | One line: Qty Out 12, Balance Qty 48 | Qty 48, Unit Cost RM 3,500.00 — a sale relieves value in proportion and leaves the price where it was — Total Cost RM 168,000.00 | Sales: Inventory RM 47,988.00, Accounting RM 47,988.00, Difference 0 — the selling price; the journal carried no cost line |
| 4 | Sales return, 2 units | One line: Qty In 2, Balance Qty 50 | Qty 50, Unit Cost RM 3,500.00 (a return comes back at the standing average), Total Cost RM 175,000.00 | Sales Returns: Inventory −RM 7,998.00, Accounting −RM 7,998.00, Difference 0 |
The figures that must agree. After step 4, the last line’s Balance Qty on Stock Movement (50), Qty on the Pricing report (50), Bal on the Stock Balance grid (50) and Qty on Historical Stock Balance with today as Date As (50) are one number by construction: the first is the ledger, and the other three are projected from, or read off, that same last line. RM 3,500.00 is on the Pricing report, on Historical Stock Balance’s historical and current MA columns, on each sales invoice line as its cost, and on the item’s Costings tab. RM 175,000.00 — 50 at RM 3,500.00 — is what Month End Processing will read for this item at the month end, and the stock account on the balance sheet has not moved once in the four steps.
The one that legitimately differs. The Stock Flow Report’s Purchases row says RM 178,640.00 while the stock value rose by RM 176,000.00, and its Sales row says RM 47,988.00 while the stock value fell by RM 42,000.00. Neither is a fault. That report compares the amounts on the documents with the journal lines on the module’s account — purchase amounts, freight included, against the purchases account; selling prices against the sales account — to answer, in total for each row, did the documents post their journals, for the right amount? Apart from its Reset MA row, it never reads stock value or the stock account; its Opening Stock row is always zero and it has no Closing Stock row. A Difference on its Purchases or Sales row is a purchase or sale whose journal failed or went to another account, and errors that offset each other show no Difference; outside the Reset MA row, a stock figure that is wrong shows nothing on it at all.
The thirty-second check: how you know the figure is right
Read the disputed item at one location in three places: the last Balance Qty on the Stock Movement Report,
a stored-row report such as Stock Balance Pricing, and Historical Stock Balance as at today. After step 4
above all three read 50 for PHN-FLAG-256 at GSD-WH-01. Which pair disagrees tells you whether the stored
row has drifted, Historical read a different line, or the shelf is wrong; the check and what to do about each
mismatch are in How you know the figure is right.
Never correct a drifted stored row with a stock adjustment: that moves the ledger to match a wrong row.
What these reports do not do, and who does it instead
None of these reports compares stock with the stock account, flags slow stock, repairs a figure, shows when it was computed, or values a branch at a past date at the branch’s own average. Who does each of those instead, and when, is in What has no report and Stock report versus the stock account. Trade-in units are on the Non Stock and Trade In listing, and on the Movement report only when its Show NSTI Item Movement switch is Yes.
Related applets
- Related Applets - Stock Balance — the hub: which documents move the balance, how a FINAL reaches it, the two jobs, and the Data Fix rebuild.
- Stock Balance and Stock Availability — the stored row now, and the row plus open orders; use them to confirm a balance this applet questions.
- Stock Transfer — open transfer queue quantity is the Stock In Transit column.
- Stock Adjustment — adjustments are the Adj column; serial adjustments appear as
SN_ADJmovement rows; Reset MA appears asRSTMVA. - Stock Take — the Stock Balance With Serial report doubles as a count sheet.
- Inventory Item Maintenance, Doc Item Maintenance — item type, sub-type, categories; the Costings tab shows the average these reports value at.
- Pricebook — pricing schemes on the Pricing report.
- Financial Report — Month End Processing reads the ledger as Historical Stock Balance does; the Stock Flow Report and Trace Document find a document whose journal is missing.
- Organisation — locations and labels.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| “Please select at least one location” (Movement report) | Non-administrator with no location chosen, no location-scoped read permission and no Default Selection location | Select a location; grant location read permissions, or set a Default Selection location |
| Search returns nothing | Keyword shorter than three characters, or filters too narrow | Use three or more characters; widen date range and location |
| Cost, value or GP columns missing | HIDE_MA_COST / HIDE_GP on and the user lacks SHOW_MA_COST / SHOW_GP | Grant the permission or turn the setting off |
A cost basis is missing from Advanced Search — for everyone, including users granted SHOW_ADVANCED_SEARCH_<BASIS> | ADVANCED_SEARCH_SHOW_<BASIS> is off; the permission is no longer consulted | Turn it on in Application Settings > Advanced Search. It then appears for every user of the report |
A SHOW_UNIT_COST, SHOW_TOTAL_COST or other value permission was granted and nothing changed | The applet reads none of those codes | Use SHOW_MA_COST (cost and value columns) or clear HIDE_MA_COST |
| Report missing from the sidebar | HIDE_<REPORT>_MENU set | Grant SHOW_<REPORT>_MENU or clear the setting |
| Stock Purchase Report by Supplier missing from the sidebar | HIDE_STOCK_PURCHASE_REPORT_BY_SUPPLIER_MENU set; no show-menu permission is registered for this report | Clear the setting |
| Stock Purchase Report by Supplier opens but returns nothing, or a permission error | The user lacks API_TNT_DM_ERP_STOCK_PURCHASE_REPORT_BY_SUPPLIER_READ for the locations searched | Grant the read permission, targeted to the locations |
| Stock Purchase Report by Supplier shows a foreign-currency purchase twice, or a supplier total that matches no statement | The ringgit copy BigLedger writes when a foreign-currency purchase is finalised is not filtered out, and amounts are not converted, so the copy is counted beside the original and the total mixes currencies. A known defect BigLedger is tracking | Read the Purchase Report for one figure per invoice; tell your BigLedger support contact if you depend on this report’s supplier totals |
| Show NSTI Item Movement set to Yes and the Movement report does not change | The backend behind your tenant predates the switch and ignores it, or the trade-in unit has no movement inside your date range and filters | Read trade-in units from the Non Stock and Trade In applet; a backend update adds them here |
| A document finalised minutes ago is on the Stock Movement Report but not on a balance report | The balance job runs after the stock job; the stored row has not been rewritten yet | Search again in a minute. A gap that stays after the Movement balance and the stored row disagree is a drifted row: Data Fix › Stock › Location Stock, by an administrator |
| Stock Balance Pricing Report’s Qty differs from the Stock Movement Report’s last Balance Qty for the same item and location | The stored row lags or has drifted; the Movement line is the ledger (compare one location, with no Date Type, document-type or void filter on the Movement report). A stock-sync line inside the range also causes it, and no rebuild fixes that: start the range after it | Run the thirty-second check above; rebuild the row on Data Fix if it still differs; never adjust the ledger to match a row |
| Historical Stock Balance closing differs from Summary by Location closing | Quantities read off the same ledger line agree for the same locations, items and end date. Values differ: Summary prices at the company’s last ledger line of any kind before the end date, Historical at the last ordinary or Reset MA line, and Historical drops an item with no such line | Check that both were run for the same locations and filters; compare the value item by item |
| Historical Stock Balance for last month differs from the copy printed at the close | It is recomputed from the ledger: something dated last month was finalised since | Stock Movement Report with Date Type set to the created date, from the day after the close, lists every document line keyed since (stock-sync lines are not listed); those whose Txn Date falls in last month are what was back-dated in. Then process the affected months again, oldest first |
| A few items are off in Historical Stock Balance while the rest are right | Not lines that share a moment: the report reads the balance after the last of them, in the order the balance was built. Look instead for a back-dated document whose re-costing has not caught up, a later line of a type the report does not read (only ordinary document movements and the two stock-sync types count), or an item with no costed movement at the company, which drops it | Open the item on Stock Movement Report for that location and compare its balance after the last line on or before the date. If the two agree, the report is right and the expectation is wrong; if they differ, look for a back-dated document or a line of another type near the date |
| An item that has stock is missing from Historical Stock Balance | It has no purchase-and-sales or Reset MA ledger line at that company before the date, so no cost is found and the row is dropped | Read its quantity from Stock Movement Report’s balance for that item and location |
| The Stock Flow Report shows no Difference, yet the stock value and the Purchases row disagree | Expected. That report compares document amounts with journal lines; outside its Reset MA row it reads neither stock value nor the stock account, and its Purchases row carries every purchase line except trade-in and header-adjustment lines, freight and other services included (a line posted straight to a GL code counts only when that code is the purchases account) | Compare stock value with the stock account by the tie-out on the inventory reports page, not with the Stock Flow Report |
| Corrected serial number shows in Stock Balance With Serial but the Movement report still shows the old one | Fixed in 2026 — the movement query now includes SN_ADJ rows | Update the backend; tick Include SN Adjustment |
| Trade-in stock missing from Historical Stock Balance | Trade-in (non-stock trade-in) stock is not yet included | Open enhancement; use the Non-Stock and Trade-In applet’s own listing |
| Aging report shows negative quantities or wrong amounts | Fixed in 2026 (returns and adjustments were mis-signed) | Update the backend |
| Wrong amount for foreign-currency documents on the Movement report | Fixed in 2026 — transaction currency amount was shown instead of the company amount | Update the backend |
| Grid filter not reset after a new search | Known grid behaviour | Clear the column filter before searching again |
Related documentation
- Inventory module — reports (the same stored-or-recomputed table across the module, and the tie-out against the stock account), core concepts.
- Closing the Month on Stock — the month end these reports serve, step by step.
- Where did this figure come from? — stored and live figures across the rest of BigLedger.
- Inventory guides.