Skip to content

Purchasing: configuration

Most “the invoice did not post” or “the picker is empty” cases in this module come from one of five things: a supplier with the wrong AR/AP type, a company missing a default GL code, a knock-off row that was never configured, an item that is not a stock item, or the wrong document in the receiving pair. This page is for whoever sets up a company to buy, before its first purchase document, and for whoever is asked later why an invoice did not post or a picker is empty. It sets those five things up in dependency order and names the symptom each gap produces.

The order below is a dependency order, not a rule the product enforces. Out of sequence simply means you meet the failures later — usually at the first FINAL on a purchase invoice.

1. Suppliers — and the one field that decides where the money posts

WhatWhereWhy
The supplier recordSupplierEvery purchase document names a supplier entity. It must exist before the requisition, not after
Its AR/AP type — AP_TRADE or AP_OTHERSupplier → MainThis decides the creditor account. AP_TRADE resolves to the company’s CREDITOR default, AP_OTHER to CREDITOR_NON_TRADE. A supplier set up with the wrong type posts to the wrong account, silently, on every invoice. A row on the supplier’s Company Linking tab carries a type of its own, and posting uses that row’s type ahead of the Main tab’s for that company, so check both
Credit termsSupplier → Credit Term Listing for the definitions, then the supplier’s Credit Term and Limit tabOffered on the purchase invoice, which stores them only when Purchaser is filled. No due date is written — the invoice has none — and nothing enforces a limit: these are records for your buyers, not rules
Self-billed e-Invoice flag, TIN and identitySupplierRead by the purchase documents that can submit self-billed e-Invoices
Supplier Login — the link from a portal login to this supplierSupplier → Login tabThe prerequisite for every supplier-access applet. Without it the supplier signs in and sees nothing
Symptom to recognise: a purchase invoice goes FINAL but has no journal, and its posting job failed with MISSING_DEFAULT_GL_CODE: CREDITOR (or …: CREDITOR_NON_TRADE). The message names the code the supplier’s AR/AP type resolved to, and the company has no default for it. Either the type is wrong on the supplier or the default is missing in §3.

2. Items — and the link that decides whether stock moves at all

WhatWhereWhy
The document item you put on a purchase lineDoc Item MaintenanceThe line’s item
Its link to an inventory itemDoc Item MaintenanceThis is the switch. Only lines whose item resolves to an inventory item reach the stock ledger. A basic item with no link is linked for you the first time it posts. A service item, or an alias that points at no inventory item, on a purchase invoice posts the money and moves nothing — no error
The stock-keeping record and its tracking typeInventory Item Maintenance; the tracking type is the Sub Item Type on the Doc Item Maintenance create screenSerial, batch or bin tracking decides which sub-tabs appear on every purchase line. It is chosen when the item is created and locks at the item’s first save, so decide it then
Purchase prices per supplierPricebook; Doc Item Maintenance → the item’s Entity Pricing tabA purchase order line takes its unit price from the pricing scheme. Only when the order applet’s FILTER_ITEM_BY_SUPPLIER_ENTITY setting is on does Search Item list just the supplier’s linked items and use the supplier’s excluding-tax price from Entity Pricing (when it is above zero and you have not picked a pricing scheme by hand). You can override the price on the line
The Consignment Item flagDoc Item MaintenanceOnly flagged items appear in the consignment GRN and GIN item search
GL code on the item, for non-stock spendDoc Item MaintenanceThe purchase invoice’s Search Item copies the item’s GL code (its Main tab) onto the line, and a line’s own code posts ahead of the company PURCHASE default — how rent lands in rent and not in purchases. An Account Code item must have one: with no GL code on the line, on the item or in a company link, the document is refused when you save it and at FINAL (Item … has no linked GL Code). That check accepts a company link set for any transaction, while the journal wants one for purchases, so link it for purchases

3. Company default GL codes — every posting resolves against these

Set under Chart of Account → Companies → Default GL Codes. A missing code never stops FINAL: it shows in the journal — a failed posting for the supplier codes, a journal that posts wrong for the purchase and tax codes.

Default GL codeNeeded byIf it is missing
CREDITOR / CREDITOR_NON_TRADEEvery document that credits or debits a supplier — invoice, both notes, return, refund note, payment voucher, consignment GIN and billingFINAL succeeds; the posting job then fails with MISSING_DEFAULT_GL_CODE naming the code, and the document sits FINAL with no journal — for the invoice, notes, return and voucher, Error Checking › Trace Document → Resolve
PURCHASEInvoice and No Stock In invoice lines without their own GL code; debit and credit notesNo message, and the journal posts. The line is left out and the supplier’s creditor line is built from what remains: a RM 1,060 supplier invoice (RM 1,000 of laptops, RM 60 SST) posts as debit input tax RM 60, credit trade creditors RM 60. Purchases are RM 1,000 short; after you pay RM 1,060, trade creditors carries a RM 1,000 debit. How you would notice: the payable GL account stops agreeing with the creditor ageing (built from documents); Trace Document finds nothing, because a journal exists. It fails (FINAL, no journal) for a supplier with no AR/AP type, or a bill where no line with an amount finds an account — untaxed and unpaid (NO_JOURNAL_CREATED)
INPUT_TAXAny purchase line carrying taxThe same: the tax line is left out and trade creditors takes it. On the invoice above, debit purchases RM 1,000, credit trade creditors RM 1,000; the RM 60 of tax is in no GL account, and after payment trade creditors carries a RM 60 debit
PURCHASE_RETURNPurchase returns (a negative line on an invoice still posts to PURCHASE)The same, on the return. (PURCHASE_DISCOUNT is not read when the journal is built.) Before go-live, give the purchase, return and tax codes a company default; an item’s company link can stand in for the first two, never for tax
INVENTORY_NOT_INVOICED, CREDITOR_NOT_INVOICEDOnly the GRN Stock In → No Stock In pairGRN Stock In: FINAL succeeds and the stock posts either way. Without CREDITOR_NOT_INVOICED the journal job fails naming it — stock with no accrual behind it. Without INVENTORY_NOT_INVOICED the goods lines drop out: the job fails with NO_JOURNAL_CREATED, or, where tax was keyed, posts the tax alone with no error. No Stock In invoice linked to its receipt: FINAL succeeds too; its posting job fails with MISSING_DEFAULT_GL_CODE naming the code, and the invoice sits FINAL with no journal
CONSIGNMENT_STOCK, CONSIGNMENT_LIABILITYConsignment GRN, Consignment Return, Consignment BillingFINAL succeeds; the posting job fails: MISSING_DEFAULT_GL_CODE: CONSIGNMENT_LIABILITY (or CONSIGNMENT_STOCK on the billing), or NO_JOURNAL_CREATED on a GRN whose stock lines found no code (with tax keyed, a journal of the tax alone posts instead). A line’s GL code is ignored on the GRN and the return
FOREX_GAIN, FOREX_LOSS, SETTLEMENT_CHARGESSettlement differences and bank charges on a payment voucherNothing fails at FINAL. With no SETTLEMENT_CHARGES code the charge line is dropped and the bank charge posts in the supplier’s payable account. With no FOREX_GAIN / FOREX_LOSS code, the gain or loss written when a foreign-currency invoice is knocked off against its payment gets no journal; Ledger And Journal › Error Checking › Missing Journal Forex Gain Loss shows it

Keep the not-invoiced pair on accounts of their own

A GRN Stock In debits Inventory not invoiced and credits Trade creditor not invoiced (INVENTORY_NOT_INVOICED, CREDITOR_NOT_INVOICED). The Purchase Invoice No Stock In that bills it reverses the pair whenever it is linked to a source document, at the invoice’s own total, so a price difference stays in the pair; one keyed on its own reverses nothing. Between the two, that pair is the only place you can see what has arrived and not been billed.

The Default GL Codes tab will not give one GL code two default roles in the same company: it refuses the second with a brief error message, so reopen the tab and check every role kept its code. That stops the company defaults alone from producing the three mixes below. They still happen when a not-invoiced role is mapped to another account that also holds stock or supplier balances, or, on the inventory side only, when a receipt’s header GL code or an item’s Inventory not invoiced link points at one, and nothing checks those:

  • Inventory not invoiced on your stock account (STOCK_BALANCE). The month-end close already puts the received goods into the stock account from the stock ledger, so the receipt lands there twice and the stock account no longer ties to Historical Stock Balance.
  • Creditor not invoiced on trade creditors (CREDITOR). What you owe on receipts disappears into what suppliers have invoiced, and you cannot see it apart.
  • Both on one account. The receipt’s two lines largely cancel there. A tax-sized balance remains wherever tax was keyed, because the creditor line carries the tax and the inventory line does not.

Separate accounts do not stop the close counting received goods in closing stock (what that does to cost of sales). They make it visible, so you can check and correct it. The company default is also not the last word for the inventory side: a GL code on the receipt’s header, or the item’s own Inventory not invoiced company link, is used first (GRN Stock In), so check those too. A check on the header and the item link has been requested; until it ships, the check is yours.

Which GL code an ordinary purchase line lands in is resolved in this order: the GL code on the line, then on the document header, then the item’s company link for purchases, then the company PURCHASE default. Tax lines always use INPUT_TAX. For the Consignment GRN, the Consignment Return and the GRN Stock In the line’s own code is skipped and resolution starts at the header. An Account Code item never reaches the company default: after the header and its company link it takes the item’s own GL code.

4. Tax codes, currencies and the bank

WhatWhereWhy
Input tax codesTax ConfigurationThe tax column on every purchase line. GadgetSphere is SST-registered; the code your supplier charges goes on the line
Exchange ratesForexA purchase order or invoice in USD needs a rate. A foreign-currency document is finalised as a base-currency shadow that carries the posting; CANNOT_EDIT_CURRENCY_RATE locks the rate to the fetched value
Cashbooks and settlement methodsCashbook; the document applets’ Branch SettingsEach settlement method is linked to a cashbook whose GL code is the credit side of a payment. A method with no cashbook does not stop the voucher at FINAL: the voucher goes FINAL, the cashbook job then fails with MISSING_CASHBOOK: STL_MTHD, and so does the journal job unless the method has a sub-ledger of its own

5. Companies, branches, locations — and the knock-off rows

WhatWhereIf it is wrong
Companies, branches, locationsOrganizationBranch and Location are the required fields on a purchase invoice’s Main tab, unless a MANDATORY_* setting adds more; the supplier is required too
The branch default locationOrganizationThe last fallback for stock, after the line’s delivery location, the line’s location and the document header’s. A purchase invoice always has a header Location, so the fallback is not reached there
Knock Off Configuration — one row per source → target document pairOrganization → Company → Knock Off ConfigDecides whether FINAL creates open-queue rows for that pair. No Purchase Requisition → Purchase Order row means finalised requisitions that no order can find; no Consignment Purchase Order → Consignment GRN row means the consignment GRN’s KO For tab is empty
Fiscal period locksOrganizationA transaction date in a month locked at LOCK_TXN or LOCK_ALL rejects the document at FINAL; LOCK_GL stops manual journals only. Consignment GRNs are not exempt
The company’s e-Invoice statusOrganizationOnce ENABLED, the purchase invoice’s own screen hides VOID; where your settings show the listing’s VOID, it still voids a FINAL invoice with no ties. The server refuses a void, deliberately, while a later document raised from the invoice is still linked, for a self-billed invoice, and for an invoice tied to an e-invoice in any way, including a match to the supplier’s e-invoice (VOID and what blocks it) — so decide whether your correction path is a void or a credit or debit note, and tell the team which
Symptom to recognise: an empty KO For picker on a document whose source is definitely FINAL. Check that the Knock Off Configuration row for that pair exists and is enabled before checking anything else; a row set to Apply to pre-order item only queues only items flagged pre-order. The queue is only written where the configuration says so. A document finalised before the row existed is re-queued in the Data Fix applet, Generic Documents › Missing Open Queue, or by BigLedger support where that search refuses the type (consignment purchase orders among them) — Organisation: recovering documents.

6. Decide the receiving pair, once, for the whole company

This is a configuration decision even though it does not look like one. Either the plain Purchase GRN records the receipt and moves nothing, and the purchase invoice books the stock; or the Purchase GRN Stock In books the stock, and the Purchase Invoice No Stock In that follows books only the money and clears the accrual. Core concepts §3 sets the two flows side by side and explains the accrual.

Pick one. Choose the second pair if you need goods available for sale before the supplier’s bill arrives, and map the two accrual codes in §3 first. Never use a GRN Stock In and a stock-booking purchase invoice for the same goods; never use a plain GRN and a No Stock In invoice. Both mistakes are silent. Then give the applets for the pair you did not choose to nobody.

7. Approvals — optional, and only on two documents here

Skip this section on a first implementation. Nothing in the module requires anyone’s sign-off until you build it, and building it changes nothing about what a document can do.

Setup taskWhereWhat it actually does
Approval Setting for INTERNAL_PURCHASE_ORDER or INTERNAL_PURCHASE_REQUISITIONThe Purchase Order or Purchase Requisition applet → Settings → Approval SettingsNames the submitter designation and the levels. Each level’s Min Approval Amount decides whether that level is required for a given document amount
Branch Designation and the employees under it, each with an approval levelSame applets → Settings → Branch DesignationThis is where approvers actually come from. The setting names none
Employees with a job title matching the submitter designation, and an e-mailEmployeeThe submitter’s designation is resolved from their job title; approvers are e-mailed and see their queue only if their login has an employee record under the same e-mail
Approval Monitor rule PR → PO, Is Document Conversion RequiredPurchase Order → Settings → Approval MonitorLets an approval be started on a purchase order — requisition-first by design: the request is approved first, then the order runs its own approval. The order’s approval tab enables Add only when this rule exists, is ticked, the order was knocked off from an approved requisition, and the user may read the monitor rules; otherwise Add stays greyed out. Asked when the tab opens, not at FINAL. A branch that raises orders directly either moves to requisition-first or relies on who may finalise an order

Three submit-time errors stop a submission: the submitter designation has no branch-designation row, no approver is linked to it, or fewer approver levels exist than the setting requires; a submitter whose employee record has a resign date in the past is refused too. Once submitted, the first approval requests FINAL, even on a multi-level rule — the ordinary FINAL checks still apply, so confirm the document’s own status; a pending request never blocks a manual FINAL. Full setup in Document Approvals.

8. Printable formats

Each document applet’s Settings → Printable Format Settings holds its default template. Automatic printing uses it: where ENABLE_AUTO_POPUP is on, a FINAL with no default is followed by No Default Printable Selected. The purchase order’s listing lets you pick a format for bulk print, and the purchase invoice’s Export tab tries the branch’s Printable Format tab first. Set it for the purchase order at minimum — it is the document you send to a supplier.

9. The supplier’s window, if you use it

  1. Link the supplier’s user on the Supplier applet’s Login tab: Verify finds an existing login; a new e-mail address takes Send Invite. The invitation adds the person to your tenant (with INSTALL_ALL_APPLETS_ON_INVITE on, it also installs every applet in the catalogues you pick) but carries nothing about this supplier: the link is written by Save on the tab, which stays blocked until they have registered and Invitation Accepted finds their login. Come back and press it.
  2. Grant that login the supplier-access applets it should see — the Purchase Order, GRN, Invoice, Credit Note and Return Supplier Access applets, the Blanket Purchase Order Supplier Access applet, or Supplier Delivery Order.
  3. Only FINAL documents appear in the read-only applets (returns at any status). A draft order is invisible to the supplier until it is finalised.

10. Permissions — your only control

There is no approval on a receipt, an invoice, a payment, a return or either note. FINAL checks the edit permission on the document type — there is no separate finalise right — so whoever may edit a document may finalise it; a setting that hides the FINAL button is a screen control the API does not obey (who can finalise). Decide deliberately who holds the edit permission on:

  • Purchase Invoice — the right to book stock and create a liability. This is the control that “three-way matching” would have been. Give it to the people who check the supplier’s paper, and to nobody who keys orders.
  • Purchase Order — the right to commit the company to a supplier. If a spending threshold matters, who holds this permission is the control you have; the approval engine does not hold an order back.
  • Payment Voucher — money leaving the bank.
  • Purchase Return and Purchase Debit Note — the right to reduce a supplier’s balance.
  • The currency rate on foreign-currency purchases is not a permission: the EDIT_CURRENCY_RATE code is read by neither the order nor the invoice applet. The CANNOT_EDIT_CURRENCY_RATE setting locks the rate on the screen for every user, so the fetched rate is the one that posts.
  • The SHOW_* client-side permissions that reopen hidden menus, cost columns and the VOID button per user. Several purchasing applets check permissions that are not seeded in the registry, so a HIDE_* setting on those is all-or-nothing; the applet pages say which.

Separate the three roles: the person who orders, the person who receives, and the person who books the bill. The knock-off chain records who did each step; it does not stop one person doing all three.

What success looks like

Fifteen minutes, one order, five checks — the same run as the Standard Procurement Workflow:

  1. Raise a purchase order for 10 units to branch GS-KV-01 and finalise it. The lines appear in the Purchase Order Queue.
  2. Receive it on the document your receiving pair uses and finalise. On the standard pair, Stock Availability lists the 10 on the item’s Goods Received Note tab (Details view, once the knock-off row exists) and the balance is unchanged; on the Stock In pair the balance is +10 and a journal exists debiting INVENTORY_NOT_INVOICED.
  3. Open the invoice applet for your pair, knock the receipt off on KO For, finalise. The Posting tab shows Journal posted, and Inventory posted on the standard pair; the journal’s supplier line equals the invoice total and Stock Balance shows the 10 units.
  4. The order’s queue row is gone; the supplier shows the invoice as outstanding in the Creditor Report.
  5. Pay it on a Payment Voucher with one payment line, contra the invoice, finalise. The supplier’s balance is nil and the cashbook has one transaction line.

If step 3’s journal is not posted, Trace Document › Resolve on the invoice repeats the job’s message; a MISSING_DEFAULT_GL_CODE names the code missing from §3.

Common mistakes

MistakeSymptom
Supplier’s AR/AP type wrongInvoices post to the wrong creditor account, or fail with MISSING_DEFAULT_GL_CODE: CREDITOR_NON_TRADE
A default GL code missingFor a supplier, accrual or consignment code: the first document that needs it goes FINAL with no journal, and its posting job fails, usually naming the code (a GRN Stock In still posts its stock; a company with no defaults at all fails with COMPANY_DEFAULT_GL_CODE_NOT_EXIST). The document’s Posting tab and Trace Document show it. For a PURCHASE, INPUT_TAX or PURCHASE_RETURN code nothing names the code: the journal usually posts without that line (§3)
No Knock Off Configuration row for a pairThe downstream KO For picker is empty although the source is FINAL
Document item is a service, or an alias that points at no inventory item (an unlinked basic item is linked for you at posting)The invoice posts the money; stock never moves; no error
A GRN Stock In and a stock-booking purchase invoice for the same goodsEvery receipt counted twice
Tax captured on both documents of the Stock In pairInput tax is debited twice, and Inventory not invoiced keeps a credit the size of the tax
Expecting approval to stop an orderIt does not. Whoever holds the edit permission on orders can finalise it, request pending or not (who can finalise)
Consignment GL codes not mappedThe consignment GRN and the billing both go FINAL with no journal; the posting job fails naming the code, or with NO_JOURNAL_CREATED (§3). Trace Document’s Missing Journal check does not cover consignment documents (it reports Unsupported document type), so read the document’s Posting tab. Ledger And Journal › Missing Journal does not list them either. Once the codes are mapped, a GRN or return with no journal shows in Financial Report › Error Checking › Stock Flow Report, under the Purchase Consignment difference, as Wrong Amount with Amount Acc 0; once the journal listing confirms it has none, tick only that row and CREATE builds it. For a billing, ask BigLedger support: correct billings read Wrong Amount there too
Item created without serial trackingThe item screen locks the Sub Item Type from the item’s first save, so serial tracking cannot be switched on later from there; the fix is a new item code with the right tracking
Supplier Login not linkedThe supplier signs in to an empty portal