Skip to content

Stock Adjustment (Internal)

Correct what the system thinks you have when a count, damage, theft or a migration leaves the stock ledger out of step with the shelf. Saving moves nothing: only finalising changes the balance at that location, the item’s moving-average cost and the stock value in the ledger, so an adjustment left in draft corrects nothing.

Your job, and the screen for it

The jobScreen or tabRead
Correct stock after a count, damage or theft — saving moves nothing, an Adjust-Out is never stopped below zero, and an Adjust-In at 0.00 dilutes the item’s costStock Adjustment › +, a line per item on Line Items, SAVE, then FINALWhat FINAL does, and the two buttons that do it; What FINAL does to the cost
Date a month-end count to the count day — the first save overwrites the date you typedMain Details › Transaction Date (needs SHOW_TRANSACTION_DATE): save once, change the date, save again, then FINALThe date that dates the stock movement
Load many adjustments from a spreadsheet — QTY is signed; COST_PRICE is the line total that both the journal and the moving average take, negative on an adjust-out, and STL_AMOUNT changes neither; a zero QTY fails the whole fileFile Import (.csv only); POSTING_STATUS must be exactly FINAL to post; put the same value on every row of a documentFile Import columns
Correct an item’s moving-average cost without touching quantity — then confirm its journal exists, as FINAL can leave it out without showing an errorReset MA: CREATE, then FINAL; check the journal in the Ledger And Journal appletReset Moving Average; Troubleshooting
Undo a finalised adjustmentVOID on the Stock Adjustment listing — refused if another document was made from it; then check Stock Movement, as a refused reversal leaves the stock unreversed while the listing says VOIDVOID, DISCARD, CLONE; Troubleshooting
Set up locations, tracked items and the company default GL codes — without the GL codes FINAL succeeds, the stock moves and the journal failsOrganisation, Doc Item Maintenance and Chart of Account appletsBefore you can use it

Overview

The Stock Adjustment (Internal) applet is where you correct what the system thinks you have. When a count, a damaged carton, a theft or a migration leaves the stock ledger out of step with the shelf, you raise an adjustment document — Adjust-In to add quantity, Adjust-Out to remove it — and finalise it. Finalising moves the stock balance at that location, moves the item’s moving-average cost, and posts a journal, so the stock value in the ledger moves with the quantity.

It is used by warehouse supervisors and stock controllers for quantity corrections, and by finance for the Reset Moving Average (MA) tools that correct an item’s unit cost without touching quantity. It comes after a stock take or an investigation in Stock Availability, and before the corrected balance shows in Stock Balance and the financial reports.

    flowchart LR
  D["Discrepancy found<br/>stock take, damage, theft, migration"] --> C["Create the document<br/>one line per item,<br/>Adjust-In or Adjust-Out"]
  C --> S["SAVE<br/>posting status DRAFT — nothing has moved"]
  S --> F["FINAL"]
  F --> B["Stock balance and moving average<br/>updated at that location"]
  F --> J["Journal: STOCK_ADJUSTMENT against STOCK_BALANCE<br/>(company default GL codes, or the header's GL code)"]
  

There is no approval step. A line is either Adjust-In or Adjust-Out — there is no third “correction” type — and FINAL posts immediately. Nor can the screen split drafting from posting between two groups: the setting that hides FINAL hides it from everyone, because the permission that would give it back to approvers cannot be granted for this applet (see Configuration). Who may post an adjustment is decided by who is given the applet and the document permissions behind it.

Three things a reader tends to assume that are not so. The stock movement is not dated by the moment a line was keyed, although the applet stamps each line with it: the server overwrites every line’s date with the header’s on each save and at FINAL, so the stock movement and the journal share the document’s transaction date (see Lifecycle). That date defaults to the day of the first save. An Adjust-Out is never refused for taking stock below zero. And two of the nine menu entries — Serial Number Adjustment and Stock Adjustment By Batch Item — do not create a document, post a journal, or (for serials) move the stock balance at all.

Where it fits

DirectionApplet / documentWhy
UpstreamStock Take, Stock AvailabilityWhere the discrepancy is found
UpstreamInventory Item Maintenance / Doc Item MaintenanceItems and their tracking type (basic, serial, batch, bin); the item-company GL link that can override the STOCK_ADJUSTMENT default
UpstreamOrganisationCompany, branch and location on the document
UpstreamChart of AccountThe STOCK_ADJUSTMENT, STOCK_BALANCE and RESET_MA company default GL codes; fiscal period locks
DownstreamStock Balance, Stock AvailabilityShow the corrected quantity and cost
DownstreamLedger And JournalThe adjustment journal
DownstreamFinancial ReportThe period-end closing-stock journal reads the moving average this applet has just changed and, since 2026-09-24, folds the month’s adjustment and Reset MA journals into cost of goods sold

Modules: Inventory, Financial Accounting.

Screens and menus

Nine entries on the left menu, and they are not all the same kind of thing. Six start something (two of them without making a document), and three only list.

MenuWhat it actually does
Stock AdjustmentThe multi-line adjust-in / adjust-out document. With Reset MA, one of the two entries that post a journal
Stock Adjustment By Batch ItemWrites inventory transaction lines directly (no document, no journal). As read at this commit the request cannot carry a quantity — see What it will not do
Serial Number AdjustmentAdds a serial to, or removes it from, the serial register at a location. Does not move the stock balance, does not post a journal, cannot be voided — see Lifecycle
File ImportBulk documents from a .csv (pipe- or comma-delimited); .xlsx is not accepted
Reset MAReset an item’s moving-average cost company-wide, with a journal
Reset MA By LocationA listing of the per-location lines a Reset MA writes when it finalises. It creates nothing
File Import Reset MABulk cost resets from a .csv
Stock Adjustment by Reset MAA listing of Reset MA records that were created automatically from a document line (the rebate-adjustment path), with Doc Type and Doc No columns. It creates nothing
Audit TrailChange history

Gear (Settings) menu: Application Settings (the shared platform settings screen — see Configuration), Default Selection, Printable Format Settings. Personalisation: per-user Default Selection and layout.

Stock Adjustment document

Stock Adjustment Listing
Stock Adjustment listing: every adjustment with status, location and date.

The listing opens filtered to the last month by transaction date. An adjustment dated earlier — a back-dated one, or one you are looking for after month-end — is not missing; widen the date filter. The DEFAULT_TRANSACTION_DATE setting narrows the default to a week or a day, it never widens it. The FINAL, DISCARD and VOID buttons on the listing act on the selected rows: FINAL and DISCARD need every selected row to be a DRAFT, VOID needs FINAL rows.

Pressing + creates a temporary document on the server straight away (status TEMP, no document number) and opens it. Abandoning it leaves that row behind, hidden by the listing’s default status filter, until the default clock that clears temporary documents (every 15 minutes, where it is switched on) deletes it once it is more than three hours old.

Stock Adjustment Details Tab
Main Details: location, transaction date and header fields.

Main Details takes the location (which fixes the company), a reference, the transaction date, remarks, and — when SHOW_GL_CODE is on — a GL code for the whole document, pre-filled from the company’s STOCK_ADJUSTMENT default. That box decides the other half of the journal: the stock side always goes to the company’s stock balance code, and whatever code is in the box takes the opposite entry. The picker offers every GL code the company has, with no filter by type, so an operating-expense code picked by accident posts without complaint — the first sign is usually an unrelated expense line in Financial Report carrying a debit equal to a stock write-down. Leave the default unless you mean to post this write-off somewhere else, and when you do change it, read the code back before FINAL. The server assigns the tenant document number at the first save and the company document number only at FINAL, so a draft shows no company number. Three things about this tab are not visible on it:

FieldWhat the screen does not tell you
Transaction DateDisabled unless you hold the SHOW_TRANSACTION_DATE permission — and even then, the first save overwrites whatever you typed with the current time. To back-date a document: let it save once, then change the date and save again before FINAL. The date you set governs the journal, the stock movement and the fiscal-period lock alike (see Lifecycle)
Reference, Remarks, GL CodeOnce saved, these can be changed but cannot be cleared — an empty box keeps the stored value. Overwrite with a dash if a value must go
LocationRequired, and the only header field that reaches the journal’s stock side: the company it belongs to decides which default GL codes are used
Stock Adjustment Lines Tab
Line Items: item, adjust-in / adjust-out, quantity, base on, unit price, remarks.

On the Line Items tab add one line per item: pick the item, choose Adjust-In or Adjust-Out, enter the quantity, and — if unit prices are visible to you — pick the Base On cost basis and confirm or override the unit price. The line shows the current stock balance at the location for reference. Lines are not kept in the order you entered them: nothing stores a position, and a reopened document lists them in whatever order the database returns, so after Save — or after Final — the Line Items tab can show them reshuffled. Nothing is lost; count the lines rather than their positions, and put a sequence in each line’s Remarks if the order matters to the person doing the count. There is no per-line GL code; the GL code, if any, is on the header. The fields that carry something are in Fields below.

The item picker has a second tab, NSTI Item, for non-stock trade-in units. Such a line takes one trade-in serial, its quantity is fixed at 1, and it has no Base On cost: you key its value. Unless a header GL code is set, its journal line takes the NSTI code rather than STOCK_ADJUSTMENT (see The journal). What an NSTI line does to the trade-in register is not described here, so check that register after the first one you finalise.

For tracked items the line opens extra tabs — Serial Number (enter or scan; with Listing, Scan and Import sub-tabs), Batch Number (batch, quantity, container measure and quantity, issue and expiry date) and Bin Number (bin code, quantity). For a serial item the quantity is the count of serials you list, and the line cannot be finalised with none.

Other tabs: Attachment (count sheets, photos) and Export.

Stock Adjustment Attachment Tab
Attachment: supporting documents.

Buttons: SAVE keeps the document in DRAFT; FINAL posts it and appears only once the document has been saved at least once; CLONE copies any saved document — including a FINAL one — into a new draft dated today, with no document numbers and with the serial numbers cleared, and does it asynchronously (“Document Clone In-Progress”, then a snackbar when it is ready).

Stock Adjustment By Batch Item

Stock Adjustment By Batch Item
Batch adjustment.

Select the item and location, list the batches to add and the batches to remove, SAVE. This screen does not create a document: it posts inventory transaction lines of type BATCH_ADJ straight to the inventory endpoint. See What it will not do before relying on it.

Serial Number Adjustment

Serial Number Adjustment
Serial adjust-in / adjust-out.

Select the item and location, enter or scan the serials to add (Adjust-In) or remove (Adjust-Out), and SAVE. This adjusts the serial register, not the stock. Each serial’s own balance moves by one and a history row is written; the location’s quantity, the moving average and the journal are untouched. Use it to repair a serial that is on the shelf but not in the register (or the reverse) after the quantity is already right — if the quantity is also wrong, raise a Stock Adjustment document for the serial item instead, which does both.

File Import

Stock Adjustment File Import
File Import: bulk adjustments from a spreadsheet.

Download either template (pipe- or comma-delimited), fill it, upload the .csv, and process. One document is created per location and HDR_REF_NO; POSTING_STATUS is read from one row of each document, in no set order, so give every row of a document the same value; it must be exactly FINAL to post. A blank cell, DRAFT or a missing column leaves a draft. Any other value, such as Final, is stored as typed: the document neither posts nor counts as a draft, so the applet offers no FINAL for it. An imported FINAL document is saved FINAL before the FINAL checks run: if a check refuses it (a locked period, a serial), it stays FINAL with no stock movement or journal while the import reads DONE. Check each in Trace Document, or import drafts and finalise them from the listing. The columns that decide what gets posted are in Fields.

Reset Moving Average

Reset Moving Average
Reset MA: correct an item's moving-average cost.

Select the company and item, and the screen fetches the company-wide quantity and moving average as at the date you entered (how that average is worked out, and why the reset is company-level: Costing internals). Type any one of New Unit Cost, New Total Cost, Adjustment per Unit or Adjustment Total and the other three fill in. There is no quantity to enter — a Reset MA never changes quantity. CREATE saves a draft; FINAL (here, or in bulk from the listing) resets the cost and posts the journal.

Resetting the moving average changes inventory valuation on the balance sheet: the Reset MA journal posts the adjustment amount to STOCK_BALANCE against the company default RESET_MA (or the GL code on the record), with the period-end closing-stock journal in the Financial Report applet reading the new cost as its closing value. The reset journal itself does not post to cost of goods sold; since 2026-09-24 the period-end cost-of-goods-sold journal folds the month’s Reset MA and stock-adjustment journals into its figure, so the reset reaches the profit and loss at month end. Restrict it to finance. The date can be locked to today with RESET_MA_DATE_NOT_EDITABLE.

Configuration

Before you can use it

PrerequisiteWhereWhy
Company, branches, locationsOrganisationEvery document is for one location; the company it belongs to owns the default GL codes
Items with the right tracking typeDoc Item Maintenance — the Sub Item Type, chosen when the item is created and locked at its first saveSerial / batch / bin tabs appear only for tracked items
Company default GL codes STOCK_ADJUSTMENT and STOCK_BALANCE (and RESET_MA for the reset tools)Chart of Account > Companies > Default GL CodesWithout them FINAL still succeeds, the stock still moves, and the journal job fails afterwards — see Troubleshooting
An open fiscal period for the transaction dateChart of Account > Fiscal YearLOCK_TXN / LOCK_ALL periods reject FINAL
The inventory and journal posting subscriptions switched on for the tenantTenant job-template configurationFINAL queues one primary job; whether it fans out to the stock and journal jobs is a per-tenant subscription (see Lifecycle)

Applet settings

Application Settings on the gear menu is the platform’s shared Field Configuration screen, rendering the controls for this applet code. Everything the applet reads is set there, except the three DEFAULT_* selections, which have their own Default Selection screen (tenant-wide) and a per-user twin under Personalisation. Of those, only the personal default location does anything you will see: it pre-fills Location on a new adjustment, so each clerk can have their own store pre-selected. The tenant-wide Default Selection is read only by a create screen that no button opens, and the default branch and company feed only the shared session. Settings are tenant-wide; who may open the screen is decided by the applet’s permission sets.

SettingWhat it changesDefaultWhat to know
Cost basis for new lines
BASE_ON_COST
Which of the item’s company-level costs pre-fills Unit Price on a new lineMoving averageThe screen offers the same seven costs as the line’s own Base On box — moving average, replacement, FIFO, LIFO, weighted average, manual and last purchase. The choice matters: an Adjust-Out priced at anything but the current moving average changes the moving average of what is left (see Lifecycle)
Hide unit price and amount on lines
HIDE_UNIT_PRICE_TXN
Removes Base On, the current MA cost, and Unit Price from the line form and the line gridOffThe line is still valued, silently, at the cost chosen by Cost basis for new lines (moving average unless changed), and the journal still posts. Holders of SHOW_UNIT_PRICE_TXN see the boxes regardless. Pair with HIDE_AMOUNT_TXN_MAIN_LISTING (override SHOW_AMOUNT_TXN_MAIN_LISTING) to keep values off the listing too
Pre-select the direction
DEFAULT_ADJUSTMENT_METHOD
The Adjust box on a new line starts as this valueAdjust-OutSet it to Adjust-In for a receiving-heavy site; the direction is also the sign of the journal, so a wrong default is a wrong debit
Show a GL code on the header
SHOW_GL_CODE
Adds a GL Code box to Main Details, pre-filled from the company’s STOCK_ADJUSTMENT default when a location is chosenOffThe header code takes precedence over the item-company link and the company default for every line. It is how a write-off goes to a damage account instead of the general adjustment account. It is also sticky: it cannot be cleared once saved.
SHOW_GL_CODE — when it is offOff does not mean “no header code”: choosing a location fetches the company default into the form whether or not the box is showing, and the next change to the reference, date or remarks saves it as the header code. Because the header outranks the item-company link, a tenant that relies on item-level GL links can see those lines land on the company default instead (read, not run). Open one finalised adjustment in Trace Document before relying on item-level codes
Lock the Reset MA date to today
RESET_MA_DATE_NOT_EDITABLE
Disables the date on the Reset MA formOffThe balance and MA the form shows are read as at the date; locking the date also locks that read to today
Narrow the listing’s default date range
DEFAULT_TRANSACTION_DATE
The listing’s opening filter: one month (unset), one week (1_week) or today (1_day)One monthThis is a listing filter, not a document default. DEFAULT_STATUS and DEFAULT_POSTING_STATUS are the same kind of thing: what the listing shows when it opens (ALL for everything)
Do not load the item list until searched
DISABLE_ITEM_LISTING
The item picker on a new line opens empty until you typeOffFor catalogues large enough that the first page is noise. DISABLE_GEN_DOC_LISTING does the same for the document listing
Hide SAVE or FINAL
HIDE_GENDOC_SAVE_BUTTON, HIDE_GENDOC_FINAL_BUTTON
Remove SAVE or FINAL — HIDE_GENDOC_FINAL_BUTTON removes FINAL from the editor and the listingOffHiding FINAL hides it from everyone, approvers included. The listing would honour an override, SHOW_GENDOC_FINAL_BUTTON, but that code is not among the eleven that can be granted for this applet, so nobody can hold it, and a tenant that hides FINAL cannot post adjustments from this applet until it switches the setting off again. A separation of duties therefore has to be by who is given this applet, not by hiding FINAL.
HIDE_GENDOC_SAVE_BUTTON — hiding SAVEHiding SAVE is riskier than it looks: FINAL appears only on a document that has been saved, and the automatic first save the applet attempts is keyed on a header re-emission that adding a line in the editor does not produce. Test it in your tenant before rolling it out

Seven HIDE_*_MENU keys hide the other menu entries, each overridden by the permission named beside it under Who can change what. HIDE_GENDOC_DISCARD_BUTTON and HIDE_GENDOC_VOID_BUTTON hide the listing’s DISCARD and VOID; HIDE_CLONE_BUTTON would hide CLONE, but its toggle is not offered for this applet, so CLONE cannot be hidden from the settings screen; HIDE_CREATED_BY_DETAILS hides the audit fields on Main Details; PRINTABLE is the printable format chosen on Printable Format Settings; DEFAULT_TOGGLE_COLUMN, DEFAULT_ORIENTATION and VERTICAL_ORIENTATION are layout.

On the screen and doing nothing

  • VALIDATE_STOCK_ON_FINALIZE has no toggle for this applet (the settings screen offers it to the Sales Invoice applet only), and it would do nothing for adjustments if it were set. The backend’s stock check does not apply to adjustments in any case — see What it will not do.
  • HIDE_SERIAL_NUMBER_ADJUSTMENT_MENU and its override SHOW_SERIAL_ADJUSTMENT_MENU act on the “Stock Adjustment By Serial Item” entry, which is no longer on the menu. The live serial screen is Serial Number Adjustment, hidden by HIDE_SERIAL_DATA_FIX_MENU.
  • The six dimension and tax include flags (segment, dimension, profit centre, project, SST, WHT) have no control on any settings screen and do nothing in this applet. The editor has no field for an analysis dimension, but File Import does: its template’s SEGMENT_CODE, GL_DIMENSION_CODE, PROFIT_CENTRE_CODE and PROJECT_CODE columns set the dimension on each imported line. The journal’s item lines carry a line’s own dimension, falling back to the header’s; the header’s dimension columns, which nothing in this applet sets, are what the balancing stock line carries. So to cut adjustments by profit centre or project, import them rather than keying them, with BRANCH_CODE filled: the dimension and GL codes are looked up through the branch.

Who can change what

Eleven client-side permissions can be granted for this applet. Each SHOW_*_MENU code restores the matching hidden menu for its holder; SHOW_SERIAL_NUMBER_ADJUSTMENT_TAB — not SHOW_SERIAL_DATA_FIX_MENU — is the one that restores Serial Number Adjustment. SHOW_SERIAL_DATA_FIX_MENU can be granted and does nothing. The ones that change behaviour rather than visibility:

PermissionWhat its holder can do that others cannot
SHOW_TRANSACTION_DATEEdit the transaction date — without it the box is disabled and every adjustment is dated the moment it was first saved
SHOW_UNIT_PRICE_TXNSee and override the unit price when HIDE_UNIT_PRICE_TXN is on
SHOW_AMOUNT_TXN_MAIN_LISTINGSee the amount column on the listing when HIDE_AMOUNT_TXN_MAIN_LISTING is on

The listing also checks SHOW_GENDOC_FINAL_BUTTON, SHOW_GENDOC_DISCARD_BUTTON and SHOW_GENDOC_VOID_BUTTON, but none of the three is registered for this applet, so none can be granted: a FINAL, DISCARD or VOID hidden by its HIDE_GENDOC_* setting is hidden for everyone.

Recommended: hide the Serial Number Adjustment and Reset MA menus tenant-wide and grant the SHOW_* permissions to administrators and finance only; grant SHOW_TRANSACTION_DATE to whoever posts month-end counts.

Fields

Main Details

Location, reference, transaction date, remarks, an optional header GL code, and the read-only document numbers and audit fields. The three that behave in ways worth knowing — the date, the sticky text fields, and the GL code — are in the table under Screens and menus above.

Line item

The line form shows Adjust, Current Location Stock Balance, Quantity and Remarks, plus Base On, Current Moving Average Unit Cost and Unit Price when unit prices are visible to you. (Company balance, system balance and a “reflected” after-balance exist in the code and are not rendered.)

FieldWhat the screen does not tell you
AdjustSets the sign of the quantity and therefore the side of the journal: Adjust-Out debits the adjustment account, Adjust-In credits it. It also decides which serial rule applies at FINAL (out: the serial must be held at this location with a balance above 0; in: it must not be held, with a balance above 0, anywhere in the company)
Current Location Stock BalanceThe location’s ledger quantity at the moment the line was opened. It is not re-read on save, and it is not a validation: an Adjust-Out larger than it is accepted
Base OnPicks which of the item’s company-wide costs (moving average, replacement, FIFO, LIFO, weighted average, manual, last purchase) becomes the unit price. Company-wide, not the location’s — on a multi-location group the line is valued at the group average for that company
QuantityMinimum 1; the direction comes from Adjust. For serial items it is the number of serials listed and cannot be typed. A decimal quantity is fine for a decimal-UOM item: the line that is saved and posted uses the full quantity × unit price. Only the Amount box on the line form is worked out from the whole-number part, so for 2.5 it shows the amount for 2 — trust the posted line and its journal, not that box
Unit PriceEditable; the journal amount is quantity × this, and this is also the amount the moving average absorbs. An Adjust-In at 0.00 dilutes the item’s cost; an Adjust-Out at a price above the current average lowers the average of what remains
RemarksBecomes the description on the journal line — and journal lines are merged by GL code, sub-ledger, dimensions and description, so two lines of the same item with the same remark net into one journal line
Serial / Batch / Bin tabsSerials are validated on FINAL (count must equal the quantity, no duplicates, the in/out rules above). Editing an existing line rewrites its serial and batch lists from the tabs, so open the tab before saving an edit

File Import columns

The import accepts the platform’s full generic-document heading set; four headings are mandatory — TXN_DATE, HDR_REF_NO, SETTLEMENT_OR_ITEM_CODE, QTY — and BRANCH_CODE is optional (the company comes from the branch or the location), except that GL and dimension codes are looked up through it.

Two more columns must be present, with a number in every row: UNIT_COST and COST_PRICE. Leave a column out and every row is dropped; leave a cell empty and that row is dropped while the rest import, so a document can arrive short of lines. Either way the import’s Process Status can still read DONE, and only its Error Message box says why: Mapping for UNIT_COST not found (or COST_PRICE), or NumberFormatException.

After every import, read that box, then compare the documents on the Stock Adjustment listing (date filter widened to your TXN_DATE) with the file, line for line. Serial, batch (with issue and expiry dates) and bin columns carry tracking detail and are validated at FINAL exactly like a keyed line. The columns that decide value are not the obvious ones:

ColumnWhat it becomes
TXN_DATEThe document’s transaction date, read from one row of each document (a document is one location and one HDR_REF_NO). It dates the stock movement and the journal alike, so give every row of a document the same date
QTYThe signed quantity: positive is an adjust-in, negative an adjust-out. There is no direction column, so a write-off keyed as a positive number is silently a write-on; for a serial item the number of serials listed must equal it or FINAL is rejected
STL_AMOUNTChanges neither the journal nor the moving average. It is copied onto the line, then overwritten: once the documents exist, and before it finalises them, the import sets every line’s net amount (amount_net, what the journal posts for an item line) to COST_PRICE, adjusted by any tax in the file. Blank or filled, the journal posts COST_PRICE when no tax column is filled. Tested blank on a demo tenant: an adjust-in of 2 at COST_PRICE 24.00 posted Dr stock 24.00 / Cr stock adjustment 24.00, and an adjust-out of 1 at −12.00 posted Dr stock adjustment 12.00 / Cr stock 12.00
COST_PRICEThe line total, and the one figure both sides take: the moving average absorbs it as written (amount_txn), and the journal posts its size. Give an adjust-out a negative amount, as the screen does. The journal takes its side from the sign of QTY either way, but a positive amount on an adjust-out is added to the item’s moving-average value while the quantity goes down, inflating the unit cost of the stock that remains
TAX_GST_CODE, TAX_GST_PCT, TAX_WHT_CODE, TAX_WHT_PCTLeave all four empty (a code fills its rate). A rate changes the journal amount, GST lowering it and withholding tax raising it, but not what the moving average absorbs, so the ledger and the moving average part by the tax
UNIT_COSTMust hold a number, then plays no part in value: the same calculate step rewrites the line’s unit prices from its amounts and QTY
POSTING_STATUSRead from the first row of each document; FINAL posts, blank or DRAFT stays a draft, and any other value is stored as typed and cannot be finalised from the applet
GL_CODE, SEGMENT_CODE, GL_DIMENSION_CODE, PROFIT_CENTRE_CODE, PROJECT_CODEThe one place a per-line GL code and analysis dimensions can be put on an adjustment; the screen cannot

Reset MA

Date, company, item; the read-only company quantity, current unit cost and current total cost as at that date; the four linked cost boxes; a GL code pre-filled from the company RESET_MA default; remarks. The journal amount is Adjustment Total — new total cost minus current total cost — debited to STOCK_BALANCE when positive. At FINAL the backend also writes one Reset MA By Location line per location holding the item, which is what that listing shows.

Lifecycle and effects

StatusMeaningAllowed next
TEMP (no posting status)Created by +, never saved; no numbersSAVE → DRAFT
DRAFTSaved, not posted; fully editableFINAL, DISCARDED
FINALPosted: stock, moving average and journal; not editableVOID, or CLONE into a new draft
VOIDReversed: the inventory lines are negated, the journal reversed, the balance refreshed—
DISCARDEDAbandoned draft—

What FINAL does, and the two buttons that do it

Both FINAL buttons finalise the same way. The one inside the document saves your edits first; the listing’s FINAL finalises each selected draft as it was last saved, after checking that every serial line lists at least one serial — so an edit you have not saved is not in what the listing finalises. Neither button lets you relax a check: serial counts are always checked on lines that move stock.

On the server, FINAL:

  1. Validates: the fiscal period is not LOCK_TXN / LOCK_ALL for the header date; serial counts match quantities, no duplicates, out-serials are held at the location, in-serials are not held anywhere in the company (a register entry at balance 0 does not count); batch and bin quantities reconcile. The stock-balance check is skipped — it looks only at lines that take stock out, and an adjustment line never counts as one, so an Adjust-Out can take a location below zero.
  2. Saves the document as FINAL with its finalised date, assigns the running numbers, and queues one posting job to run at once.
  3. Returns. The stock movement and the journal have not happened yet; “Posting Successfully” means the job is queued.

That job fans out to the jobs your tenant is subscribed to, filtered by the company’s posting settings. For an adjustment two of them matter, and each is a per-tenant subscription — a tenant without one gets a FINAL document that moves nothing:

  • The inventory job writes one inventory transaction line per document line, dated by the line’s own date, then moves the location and company balances and recomputes the moving average. When it fails, it does not tell the screen.
  • The journal job builds and posts the journal below. Its usual failure is the missing-GL-code one under Troubleshooting.

When a FINAL adjustment moved nothing, check two screens: Stock Balance for the item at that location, and the adjustment in Financial Report › Error Checking › Trace Document, which lists the document’s posting fields and says whether its journal is missing. The inventory job’s own error is not on any screen: send BigLedger support the document number and they read it.

VOID queues its own jobs, which negate the inventory lines, refresh the balances and reverse the journal. Each is a separate subscription from its posting twin, so a tenant can have one and not the other — and the VOID then leaves the inventory line or the journal standing. Reset MA writes a reset line that appears in stock movement reports as an adjustment, and refreshes the balances.

None of these runs on a clock: each is queued by FINAL or by VOID.

The date that dates the stock movement

The applet stamps today’s date on every line when it is added and again whenever it is edited, and the inventory line takes the line’s date. But the server sets every line’s date to the header’s on each save and again at FINAL, so by the time the stock movement is written its line date is the header’s. The journal takes the header’s date too. Stock movement and journal therefore always share one date: the document’s Transaction Date. It is filled in at the first save, and only a SHOW_TRANSACTION_DATE holder can change it. A month-end count keyed on the 3rd lands in the new month, stock and journal together, unless that holder sets the date back before FINAL. The file import sets the date from TXN_DATE. Both routes are refused at FINAL if the date falls in a LOCK_TXN or LOCK_ALL period.

The journal

Every line is journalled, and the document type maps to two sub-ledgers only: STOCK_ADJUSTMENT for the lines and STOCK_BALANCE for the balancing entry. There is no tax line.

LineDrCrAmount
Adjust-Out (quantity below zero)STOCK_ADJUSTMENT (or the header GL code, or the item-company STOCK_ADJUSTMENT link)—net amount = quantity × unit price
Adjust-In (quantity above zero)—samesame
Balancing entry, once per journalSTOCK_BALANCE when the lines net to a creditSTOCK_BALANCE when the lines net to a debitthe net of the lines

GL precedence for each line: a GL code on the line (only a file import can put one there) → the header GL code (SHOW_GL_CODE) → the item’s company GL link with transaction code STOCK_ADJUSTMENT → the company default STOCK_ADJUSTMENT. An NSTI line follows the same order with NSTI in place of STOCK_ADJUSTMENT. The balancing entry comes from the company default STOCK_BALANCE and nothing else. A line that resolves no sub-ledger is dropped without a message. The STOCK_BALANCE entry is built from the lines that remain, so if other lines resolved, the journal balances and posts short with no error — the adjustment account and stock balance account are both off by the dropped lines’ value. The job fails when nothing is left to post once lines are grouped and netted (every line dropped, or every group netting to zero, such as an all-zero-priced adjustment), or when the lines do not net to zero and STOCK_BALANCE is missing (unbalanced). The document is FINAL either way, and whether the stock moved depends only on the inventory job. Journal lines are merged by GL code, sub-ledger, the four analysis dimensions and description before the balance check.

What FINAL does to the cost

INTERNAL_STOCK_ADJUSTMENT is one of the document types that feeds the moving average rather than merely consuming it: the line’s amount (signed quantity × unit price) is added to the item’s MA amount and the price is re-divided by the new quantity. Consequences the screen does not show:

  • An Adjust-Out priced at the current moving average — the default — leaves the average unchanged. Priced at anything else, it changes the average of every unit left.
  • An Adjust-In at 0.00 adds quantity and no value, and the average falls. The price pre-fills to 0.00 for an item the company holds no cost for, and when unit prices are hidden nobody sees it. Nothing on the screen objects to a blank price, so this is easy to do by accident and invisible afterwards.
  • Under FIFO/LIFO costing an Adjust-In is a new purchase layer at that price and an Adjust-Out consumes layers.
  • A Reset MA changes the price without touching quantity; at a zero balance it pins the unit price to the new unit cost, which holds until a receipt that carries its own cost, such as a purchase or an Adjust-In, replaces it. The Reset MA create screen will not create or finalise a reset for an item whose company quantity is 0.

VOID, DISCARD, CLONE

VOID (listing only, FINAL rows) writes VOID (the listing asks for no reason), queues the void primary, and the two void secondaries negate the inventory lines and reverse the journal — so a wrong adjustment is voided, not counter-adjusted. The server refuses the VOID when another document was made from this adjustment, and its message names that document. Since a backend change merged on 20 October 2026, the inventory reversal is written in one transaction: a line with a quantity of 0 is skipped (with any amount it carried), and if any other reversal is refused, none is written. The document then keeps its stock posting while the listing already says VOID. Before that change the reversal was written line by line, so a void could stop part-way at a zero-quantity line. See Troubleshooting for the symptom and what to do. DISCARD (DRAFT rows) writes DISCARDED. CLONE copies any saved document into a new DRAFT dated today with the serials cleared, so a cloned serial adjustment has to be re-scanned.

Serial Number Adjustment and batch adjustment are not documents

Serial Number Adjustment posts to the serial data-fix endpoint. For each serial it finds the serial header at that item and location, moves its balance by one in the chosen direction, and writes a before/after history row. No inventory transaction line, no balance change, no journal, nothing to void; the history is the only trace. A serial the register does not know is created with a balance of one whichever direction you chose — an Adjust-Out of a mistyped serial adds a phantom unit to the register rather than failing.

Stock Adjustment By Batch Item posts BATCH_ADJ inventory lines to the inventory transaction endpoint, which writes them and queues the balance processor — no document, no journal. See What it will not do.

Reset MA

FINAL on a Reset MA writes the record FINAL, queues its processor, and then posts the journal in the same request. If the journal fails, the record is already FINAL and the cost reset already queued: the cost changes, the ledger does not, and the record’s journal posting status stays empty. Do not wait for an error message — often there is none.

A missing RESET_MA code (with no GL code on the record) or STOCK_BALANCE code, no default GL codes at all, no primary ledger, or an Adjustment Total of 0.00 each fail the request after the record is FINAL, and the per-location reset lines are not written either. Only FINAL from a saved draft’s own screen shows that error. FINAL on the create screen shows only its earlier The Reset MA has been created, and FINAL on the listing shows nothing. A reset whose Adjustment Total is 0.00 never has a journal to create.

After every Reset MA, confirm in Ledger And Journal that its journal exists (read, not run). Nothing on this applet’s listings marks a Reset MA whose journal is missing. Ledger And Journal does: Error Checking › Missing Journal with Server Doc Type RESET_MA lists FINAL Reset MA records never marked as posted to the journal, and Create posts the journal for the rows you select, once the missing default is mapped. A good row then reads SUCCEED. Create needs journal Owner, Admin or Create permission. If Month End Processing has already run for that month, run it again afterwards, as it folds Reset MA journals into cost of sales.

What it will not do

  • Stop you below zero. No adjustment line is ever stock-checked at FINAL. If a negative balance must be impossible, it has to be a procedure.
  • Put an analysis dimension or a per-line GL code on an adjustment from the screen. The import can.
  • Adjust by batch. In the screen BigLedger serves (checked 16 November 2026, a build deployed 20 October 2026), the batch screen sends lines with no base quantity, and the endpoint multiplies the signum by the quantity before any defaults are filled, so the request cannot complete and no BATCH_ADJ inventory line is ever written. Use a Stock Adjustment document for a batch item, whose Batch Number tab carries quantities, until this is corrected.
  • Re-post a failed journal from this applet. For an adjustment, Financial Report › Error Checking › Trace Document › Resolve builds the missing journal. For a Reset MA, use Ledger And Journal › Error Checking › Missing Journal (see Reset MA above).

Related applets

Troubleshooting

SymptomCauseFix
FINAL is refused for a locked fiscal period and the document stays in draftThe header transaction date falls in a LOCK_ALL / LOCK_TXN fiscal periodChange the date (needs SHOW_TRANSACTION_DATE) or unlock the period, then FINAL again
Document is FINAL, stock has moved, Trace Document → Journal Txn is empty; the reason BigLedger support reads is TOTAL_DEBITS_AND_TOTAL_CREDITS_NOT_BALANCES or NO_JOURNAL_CREATED, and Resolve, pressed before the fix, shows Total Debits: …, Total Credits: …A company default is missing: no STOCK_BALANCE drops the balancing entry (unbalanced); no STOCK_ADJUSTMENT and no header/item code drops every line (empty). FINAL never sees this — the job doesMap the defaults in Chart of Account, then Financial Report › Error Checking › Trace Document → Missing Journal → Resolve. A GL code chosen on the header does not need a pre-existing sub-ledger; posting creates one. If Month End Processing has already run for that month, run it again after the journal is created. It had already brought the stock account to the stock ledger and put the adjustment’s value into cost of sales, so the new journal counts the value a second time, and leaves the stock account off, until the re-run. A re-run deletes and rewrites its own journal (inventory module, what a stock movement sets off)
Document is FINAL and the stock balance has not movedThe tenant has no subscription row for the inventory transaction line processor, or the job failed — the error table is the only place it says soCheck the item in Stock Balance at that location. A document already FINAL cannot be re-finalised, and Trace Document has no stock repair, so send BigLedger support the document number: they read the job error and check the tenant’s subscription
The adjustment is missing from the listingThe listing opens filtered to the last month (or less, under DEFAULT_TRANSACTION_DATE) by transaction dateWiden the date filter
A count adjustment landed in the new month, stock and journal bothThe header date was left at the day the document was first saved; the server copies it onto every lineVOID it and key it again with the count day as Transaction Date (needs SHOW_TRANSACTION_DATE), or import it with that TXN_DATE
FINAL rejected with SERIAL_NUMBER_ALREADY_EXISTS_FOR_COMPANY on an Adjust-InThe serial is already in the company’s register with a balance above 0, perhaps at another location. An entry at balance 0, such as a serial already sold, does not block itFind where it is held (Trace Serial No in Stock Availability). If it is not really there, take it out of that location first, by an Adjust-Out or by Serial Number Adjustment, then FINAL the Adjust-In again; adjusting in at that location instead is refused the same way
FINAL rejected with SERIAL_NUMBER_DOES_NOT_EXIST_AT_LOCATION on an Adjust-OutThe register does not hold the serial at this location with a balance above 0: it is elsewhere, already out, or not registeredTrace Serial No in Stock Availability; adjust out where it is registered, or register it first
FINAL rejected with The generic doc line quantity base and batch number quantity does not matchOn a batch-tracked line the quantities on the Batch Number tab do not add up to the line’s quantity — a batch row left at 0, a line quantity edited after the batches were keyed, or an import template whose batch quantities disagree with the line. Stock is not consulted for this check; it is arithmetic on the lineOpen the line’s Batch Number tab and make the batch quantities sum to the line quantity (or set the line quantity to their sum), then FINAL again
Cost after an adjustment looks wrongThe line was priced at something other than the current moving average (or at 0.00 for an item with no cost yet), and the MA absorbed itCheck the line’s Unit Price in the posted document; correct with Reset MA (finance)
Reset MA is FINAL and there is no journal, and no error was shownThe journal failed in the same request, after the record had turned FINAL (usually no RESET_MA or STOCK_BALANCE default). The create screen and the listing do not show that errorMap the defaults, then Ledger And Journal › Error Checking › Missing Journal, Server Doc Type RESET_MA, the date range of the resets: select the rows and Create. The same list finds any other Reset MA left without a journal. Re-run Month End Processing for any month it had already closed
A serial that was mistyped in Serial Number Adjustment (Adjust-Out) now appears in the register with balance 1An unknown serial is created rather than rejectedAdjust it out again by the same screen, then verify with Trace Serial No
Batch adjustment saves nothing and shows no errorThe request fails on the server; the screen’s error handler is silentUse a Stock Adjustment document for the batch item
Users cannot see unit price or amountHIDE_UNIT_PRICE_TXN / HIDE_AMOUNT_TXN_MAIN_LISTING onGrant SHOW_UNIT_PRICE_TXN / SHOW_AMOUNT_TXN_MAIN_LISTING
Need to undo a finalised adjustment—Select it on the listing and VOID; the inventory lines are negated and the journal reversed. A counter-adjustment also works but leaves both documents in the reports
The adjustment says VOID on the listing, but Stock Movement still shows its lines at their original quantitiesThe stock reversal was refused. Since 20 October 2026 the reversal is all or nothing, so no line is reversed. A void from before that date could stop part-way at a line with a quantity of 0, leaving some lines reversed and the rest not. Nothing on screen reports either caseDo not counter-adjust, and do not count on that document’s stock figures yet. VOID cannot be pressed again on a VOID row, so send the document number to BigLedger support. They clear any partial reversal and run the void again.
An unrelated expense code carries a debit equal to a stock write-downThe header GL Code box held that code, and whatever is in the box takes the opposite side of the stock entryVOID the adjustment and key it again with the right code, or move the amount to the right code with a journal entry
VOID reports N/M documents failed to void (or Document voiding failed) and says no moreThe toast carries no reason. One cause the server checks: another document was made from this adjustment, and a document others are linked from cannot be voided; the server’s message, which names them, is only in the browser consoleDeal with the linked document first, or make a counter-adjustment

Related documentation

Last updated on