Skip to content

Point of Sale: configuration

Nothing at the till is configured at the till. A cash bill draws on company structure, GL defaults, cashbooks, items, customers, tax codes and printable formats that all live elsewhere. Three setup gaps refuse FINAL in front of a customer: a till location that is not the branch’s default location, a transaction date in a locked fiscal period, and settlement that does not equal the bill. Most of the rest are read only by the posting that runs after FINAL, so the bill finalises and the posting fails later, with the bill FINAL and no journal — or, for the sales and tax codes, nothing fails at all and the ledger is quietly wrong.

This page is for whoever opens a branch or a till, before its first bill, and for whoever is asked later why a bill did not post. It lists what must exist, where it is set, and what each gap looks like, so you can recognise it from its symptom.

The order below is a dependency order, not a rule the product enforces. Nothing stops you doing it out of sequence; you will simply hit the failures later — on the first Saturday.

1. Company structure

WhatWhereIf it is missing
Company, branch, locationOrganizationThe platform refuses a document with no company or no location, so no bill is saved until they exist
The branch’s default location, and the till’s location matching itOrganizationA cash bill whose location is not the branch’s default location is refused at FINAL: the location does not match the branch’s default location. This one is checked at FINAL; a branch with no default location recorded is not checked at all
Fiscal periods for the transaction date, not lockedChart of AccountA date inside a locked fiscal period (closing status LOCK_ALL or LOCK_TXN) is refused at FINAL with The selected date falls within a locked fiscal period. A date with no fiscal year or period at all is not refused by this check

2. General ledger defaults

The company default GL mapping is where every posting resolves when neither the line, the bill header nor the item carries a GL code of its own. For the till you need, at minimum:

SALES · OUTPUT_TAX · ROUNDING (the rounding item’s lines) · DEBTOR (receivable, for a trade-receivable customer, read only when the bill needs a receivable line) — SETTLEMENT_CHARGES once a settlement method carries a charge — and SALES_RETURN and NSTI if the till takes returns or trade-ins — and COGS, which month-end cost-of-goods-sold processing uses and the bill’s posting does not

Set in Chart of Account. The bill’s posting never reads SALES_DISCOUNT: group- and points-discount lines post to SALES unless their item has its own GL code.

An unmapped sales or output-tax code does not stop anything — and that is the danger. FINAL never checks these codes; the journal is written by a posting job a moment later. That job leaves out any line it cannot place, then builds the customer’s receivable line from whatever is left, so the journal still balances and posts.

Take a RM 106 bill — RM 100 of goods, RM 6 SST — paid in cash, with no SALES code: the journal debits the cash book RM 106, credits output tax RM 6, and credits trade debtors RM 100 against the walk-in customer. Sales for the day are RM 100 short, and the receivable account carries a RM 100 credit, as if you owed the customer the money.

With OUTPUT_TAX unmapped instead, sales are right, SST payable is RM 6 short, and the RM 6 sits on trade debtors. The bill reads FINAL, the cash book is right, a journal exists, and no message appears.

How you would notice: a day of nothing but cash bills, none settled by contra, should not move trade debtors at all. If the receivable account in the trial balance moves, or stops agreeing with the debtor ageing (which is built from the documents, not the journal, and so never shows the gap), or the ledger’s sales for the day fall short of the Z Report’s Total excluding TAX by more than its rounding (its Total Net Sales includes the tax), a line was dropped. Before go-live, check that every sales, tax, rounding and charge code has a company default, then post one test bill and read its journal.

Of the company defaults, only a missing receivable code stops the posting — with MISSING_DEFAULT_GL_CODE: DEBTOR (or the code the customer’s AR/AP type names, such as DEBTOR_NON_TRADE), bill FINAL, no journal — and only on a bill that needs a receivable line. A cash bill paid in full whose every line found an account balances by itself and never asks for the receivable code. One settled partly by a contra against the customer’s documents does need it, and so does one where another missing code left a line out.

So on a bill paid in full, that error means a sales, tax, rounding or charge code is missing too: map it as well. A company with no default mapped at all, or with no primary ledger, gets no journal for any bill.

And if the bill’s customer has no AR/AP type at all, there is no receivable line to absorb the gap: then the dropped line leaves the journal unbalanced and the job fails with TOTAL_DEBITS_AND_TOTAL_CREDITS_NOT_BALANCES. Those two are the cases Financial Report → Error Checking → Trace Document finds; the silent one it does not. Which case your till is in depends on the walk-in customer’s AR/AP type, on the customer record.

3. Money in

WhatWhereIf it is missing
Settlement methods, each linked to a cashbook and a GL code, and enabled for the branchCashbook → Settlement Method Settings, linked to the branch on the method’s Branch tab or in Organisation’s branch settlement setup; POS General → Branch Settings then picks the branch’s default methodsFINAL succeeds and the posting jobs fail afterwards. With no cashbook linked to the method, the cashbook job stops at MISSING_CASHBOOK: STL_MTHD [code], and the journal job normally does too — bill FINAL, no cashbook line, no journal. With a cashbook whose GL code is blank, the cashbook line is written and the journal job fails with MISSING_GL_CODE: STL_MTHD [code]. Error Checking › Trace Document → Resolve shows the message
Tax codes for the rates you chargeTax ConfigurationThe journal posts every line’s tax to the company default OUTPUT_TAX, whatever the tax code — a tax code carries no GL of its own here. With that default unmapped, no error: the tax is left out of the journal and lands on trade debtors (§2)

4. What you sell, and who you sell it to

WhatWhereNote
Items, with barcodes, and serial / batch / bin tracking where usedDoc Item MaintenanceFor an item tracked by serial number, on a bill that posts stock, FINAL always checks the sale line: one serial per unit, each in stock at the bill’s location — a serial that is not is rejected. No setting turns this off for a cash bill
Adjustment items — rounding, group discount, member-point discountDoc Item Maintenance, then chosen in POS General (the rounding and group-discount items per branch or company, else Settings → Default Selection Settings; the points discount item there only)Without a rounding item the till adds no rounding line, so a bill settled at an amount rounded to 5 sen no longer equals its lines and FINAL refuses it
A default walk-in customer, entity type and currencyCustomer Maintenance, then POS General → Default SelectionEvery bill needs a customer; without a default the cashier picks one for each sale
Pricing scheme, and a pricebook if you price by branchPricebook

5. The till itself

WhatWhereIf it is missing
Printable format for the cash bill, with branch header and footerPOS General → Settings → Printable Format Settings (the applet-wide default), and Branch Settings for a branch’s own formatThe server PDF receipt uses the branch’s format, else the applet’s. With neither set, the server’s PDF print has no format and fails — print a test receipt before the first customer
POS Agent running on the terminal, on port 8085Installed on the PC; Enable POS Agent in POS General → Personalization → Offline SettingsDrawer, card terminal and pole display do not respond
The customer-facing second screenPOS Customer DisplayIt reads the till’s own browser database, so it must run in the same browser profile on the same machine — a different browser, device or private window shows a permanently idle screen

Counter hardware and working offline

The till runs in a browser on the counter PC and reaches hardware through the POS Agent, a small program installed on that PC, on local port 8085 (the drawer, display, terminal and print calls use that port whatever port Personalization names; that setting is read only by the PC’s identification and one of the MyKad card-reader lookups):

  • Receipts. By default the server renders the bill’s printable format as a PDF for any printer the PC can use, so it needs the connection. With offline print on, the agent prints from a copy of the format cached on the PC, or as plain text for an 80 mm or 58 mm thermal printer.
  • Cash drawer. With the till’s cash-drawer setting on, the agent opens it for a cash sale finalised on the Create Cash Bill screen while connected; not on the standard offline print, nor by hand.
  • Card terminal. Two terminal integrations are supported, set per terminal in Device Settings: card sale with optional auto-finalise on approval, and on one of them DuitNow QR, e-wallet and instalment plans, over WiFi or a cable.
  • Customer display. A pole display through the agent, or a second screen running the POS Customer Display applet in the same browser profile on that PC.

Offline mode lets a till keep selling when the connection drops. Items, prices, customers, members and printable formats are synced to the PC first; finalised bills wait in the till’s Transaction Queue until somebody at that till sends them: reconnecting alone sends nothing, and the outage guide names the three things that do. Two things follow: a bill rung up offline meets the server’s checks, the customer blacklist among them, only when it is sent, and a Z Report printed before the queue empties leaves those bills out. Empty the queue before you balance the shift (Best practices).

6. Members and points, if you run loyalty

The company’s member-point configuration decides which document type awards points and at which posting status. Points are awarded only when both match and the bill carries a member. The backend’s default awarding document is the sales order, so points on a cash bill and none in the member’s balance mean the configuration names another document — or your tenant holds no points subscriber. You also need at least one point currency and, if members redeem points at the till, a points-to-currency rate — and, to apply points as a discount, the Points Discount Item Code.

Choose a card-number rule before go-live as well: with none switched on, the Membership Admin member form gives each member a random six-digit card number, checked against nothing but existing cards. Currencies, rates and the card-number rule are set in Membership Admin; the awarding document and status are company configuration, set through the company API rather than from Membership Admin, so ask whoever administers your tenant’s API to confirm them.

7. Permissions — including the ones that are targets, not switches

The cash bill has four API permissions (TNT_API_DOC_INTERNAL_SALES_CASHBILL_CREATE_TGT_GUID and the READ, UPDATE and DELETE codes of the same pattern), which take company, branch, location or customer targets. Grant each role only the operations it uses — a cashier who sells and finalises needs no Delete.

The two cashier reports each need their own read permission on Daily Cashier Reports: API_TNT_DM_ERP_Z_REPORT_READ and API_TNT_DM_ERP_REPORT_CASHIER_COLLECTION_READ. A branch target narrows the branch drop-down to those branches; granted with no target, every active branch is offered. Without its permission (and not a tenant admin or owner), Cashier Collection’s branch list is empty; without the Z Report’s, its search comes back with an error.

At the till, the 31 POS client-side permissions are what separate a cashier from the person they call over — discount, void, edit price, sell below cost, and ALLOW_APPROVE_SELL_BELOW_PRICE. They are delivered through user groups.

Grant them deliberately, because the empty default is not the safe one. A client-side permission can only ever add a capability. With nothing granted, void, discount, price edit, staff pricing, settlement adjustment and serial swap are unavailable to everyone including supervisors, so nothing can be corrected at the counter — while return, the audit trail and (outside offline mode) the Stock Details tab with your costs stay open to every cashier until their hide setting is switched on. The shop then works around the first half by sharing a supervisor’s login, and every attribution the till records stops meaning anything. Which control defaults which way is set out in Best practices › Grant the counter’s permissions on purpose.

And three of them are registered but unread. POS_CLOSE_SESSION, POS_FLOAT_CASH_IN_OUT and POS_ATTACH_DRAWER exist in the catalogue and no current screen checks them — the Session and Cash In / Out menus appear for anyone once SESSION_FLOAT_CONTROL is on. Do not plan a custody rule around them. The way to confirm what you have actually granted is to sit at a real till as the cashier role and again as the supervisor role, and try each action. There is no report that will tell you; a menu that is missing because you hid it and a menu that is missing because a grant failed look identical from a desk.

What success looks like

Ring up one taxable, stock-tracked item at the till and settle it in cash, then check all four in five minutes. (If the till’s Disable Auto Post to FINAL setting is on, a paid bill is saved as a draft: finalise it from the cash bill listing first.)

  1. The bill reads FINAL in the cash bill listing, with its document number.
  2. The stock report for that item at that branch is one lower.
  3. The ledger shows a debit to the settlement method’s cashbook GL and a credit to Sales, with output tax split out, and the cashbook shows a line for the tender.
  4. The till’s own Z Report (POS General) for today, for that branch, includes the bill in its totals.

If any one of the four is missing, the failure is in the section above that supplies it. The fuller check — which screens prove the journal and the cashbook line for one bill, and find every bill of a day with no journal — is Core concepts §6.

A fifth check, if your branches run sessions, and it takes a shift rather than five minutes: open a session with a float, record a cash out, close it, and confirm what survived. You should find the opening count stored note by note, the closing total stored, and neither the closing denominations nor either Remarks box — and the cash-out movement will not be on the Z Report’s float block at all. That is the product working as built, and it is the reason a branch needs a paper procedure to go with it: Balancing the Drawer.

Common mistakes

MistakeSymptom
Till location not the branch’s default locationEvery cash bill from that till refused at FINAL with a location mismatch
No rounding adjustment itemA bill settled at a 5-sen-rounded amount is refused at FINAL — settlement and lines differ by cents
SALES or OUTPUT_TAX not mappedNo error. The journal posts with the sales or tax missing and the same amount credited to trade debtors — the receivable moves on a cash-only day, and the ledger’s sales fall short of the Z Report (§2)
Settlement method’s cashbook has no GL codeMISSING_GL_CODE: STL_MTHD [code] from the journal job; the cashbook line is there, the journal is not
Z Report or Cashier Collection read permission not grantedOn Daily Cashier Reports, Cashier Collection’s branch list is empty, or the Z Report’s search fails with an error. A branch target only narrows the list
Expecting the till’s Z Report to equal the day’s takingsIts money figures count cash bills only: a standalone sales return, a credit note, a receipt voucher and a journal are not in them (a standalone return’s lines can still reach its Items Sold counts). Which report counts what is on Reports
Customer display on a different device or browserPermanently idle screen — it reads the till’s own browser database