Document numbering and production batch numbering
Example. An administrator wants purchase orders numbered PO/0001/26-27. On Admin → Application Settings → Purchase → Purchase Orders she keeps Purchase Order Numbering Type on Common, enters PO/ as Purchase order number prefix, 4 as Purchase Order no of digits, chooses Financial Year as Purchase order number suffix and checks Example purchase order no before clicking Save Changes. For production batches she builds the tokens Financial Year (26-27), Separator /, Custom Text B, Counter 5, and the preview shows 26-27/B00001.
What it does and when to use it#
Every numbered document gets its number when it is saved. Each Company has its own Application Settings, so the format is set per Company: what you save applies to the Company chosen in the sidebar and its Locations. A new Company starts with a copy of your account's formats; change them there if that Company numbers differently. Set the formats before you go live, and change them only at a natural break such as a new financial year: documents already saved keep their numbers.
Before you start#
✅ Before you start
0/4 readyWhere each format is set#
Open Admin → Application Settings, then the module card and its tab:
| Card | Documents |
|---|---|
| Sales | Quotations, customer orders, costing (with Costing), order processing requests (with PPR) |
| Purchase | Purchase orders, gate inward notes (GIN), GRNs, purchase requests, purchase agreements |
| Production | Work orders, job cards, production batches |
| Service | Service requests, service reports, service quotations |
| Quality | Incoming (GRN), in-process and final inspections, quality issues, rejected items |
| Finance | Journal entries, bank and cash books, payments made, receipts, sales and proforma invoices, credit and debit notes |
| Masters | Asset codes |
| Design | Engineering change notes (ECN) |
| Maintenance | Maintenance requests and reports |
| Inventory | Material requisitions, issue notes, return notes, inventory reservations |
| Logistics | Delivery challans |
| Distillery | Spirit lots |
Some numbers have a fixed format that isn't set here: inquiries (INQ-001/26-27), RFQs (RFQ/00001/26-27), stock adjustments (SA/00001/26-27), inventory batches and purchase invoices.
The numbering fields#
Each document has the same three fields and a preview. The labels name the document, for example Work order number prefix, Work order no of digits, Work order number suffix and Example Work Order No.
| Field | What it does |
|---|---|
| … prefix | Text at the start of the number, for example PO/ or SI-. Type any separator you want as part of the prefix |
| … no of digits (on the Inventory card: Trailing Zeros) | How many digits the running number has: 4 gives 0001. Larger numbers simply grow past this length |
| … suffix | None: nothing after the number. Financial Year: / and the financial year, for example /26-27: the Company's financial year (for spirit lots, your account's financial year). User Name: / and the name of the person who created the document, for example /Ravi |
| Example … No | A preview only. It shows a sample name (/Max) for User Name and a sample year (/25-26) for Financial Year |
Common and Detailed numbering#
Four documents can have one format per document type. Choose the … Numbering Type:
| Document | Where | Types for Detailed |
|---|---|---|
| Customer orders | Sales → Customer Order → Customer Order Numbering Type, button Add Customer Order Type | Sample / First Article Order, Actual Order |
| Purchase orders | Purchase → Purchase Orders → Purchase Order Numbering Type, button Add PO Type | Goods, Service |
| Work orders | Production → Work Order → Work Order Numbering Type, button Add Work Order Type | Customer Order, Stock, R&D |
| Service quotations | Service → Service Quotations → Service Quotation Numbering Type, button Add Service Quotation Type | Customer Complaint |
- Common: one prefix, number of digits and suffix for every document of that kind.
- Detailed: add one row per type, each with its own prefix, digits and suffix. Each type can be added once. Save Changes stays greyed out in Detailed mode for customer orders and purchase orders until at least one row exists.
- Add a row for every type you use. A customer order or work order whose type has no row uses the Common format. For purchase orders, saving in Detailed mode clears the Common format, so an order whose type has no row gets a 4-digit number followed by its creator's name. A service quotation whose type has no row gets a plain 4-digit number.
- Customer order, purchase order and work order types always keep separate counters, even in Common mode, so a Goods and a Service purchase order (or two work order types) can get the same number in Common mode. Use Detailed with a different prefix per type if you raise both.
How the counters run#
Every document numbered from these settings, except spirit lots, is numbered on Company counters. A few documents are numbered outside these settings. Design requests and nesting jobs still run one series for your whole account; visit reports are numbered per sales member and Location (for example Ravi-001/26-27). Design requests start again in a new financial year only with Reset Entry Numbers (FY-wise) on (see Administration tools); visit reports and nesting jobs are counted within your account's financial year. The Company counters work like this:
- Per Company and financial year. Each Company has its own counter for each document, and it starts again at 1 in each new financial year of that Company. Two Companies can therefore show the same number; use a different prefix per Company if that matters to you, or rely on the Company printed on the document.
- Never reused. A number, once given, isn't given again, even if its document is cancelled.
- Per Location for some documents. Quotations, order processing requests, gate inward notes (GIN), inquiries and costing sheets are also numbered separately for each Location. You can't add the Location to other formats from this screen.
- Given on save. A number shown on a create form is a preview; the saved number can differ if someone else saved first.
Spirit lots#
Among the documents numbered from these settings, spirit lots are the exception (design requests, numbered outside these settings, also share one account-wide series; see How the counters run): they are numbered in one series for the whole workspace, shared by all your Companies, that never starts again in a new financial year. A cancelled lot keeps its number. The year in a Financial Year suffix is your account's financial year.
Production batch numbering#
Production batch numbers aren't limited to prefix, number and suffix. On Admin → Application Settings → Production → Production Batch you build the number from tokens in any order.
Tokens#
| Type | Value | Example |
|---|---|---|
| Financial Year | 26-27, 2026-27, FY26-27 or FY2026-27 | 26-27 |
| Year | YYYY or YY | 2026 or 26 |
| Month | M, MM, MMM or MMMM | 4, 04, Apr, April |
| Day | D or DD | 7 or 07 |
| Counter | Counter digits | 00001 for 5 digits (4 when left empty) |
| Custom Text | Any text you enter | B |
| Separator | /, - or _ | / |
The date tokens use the batch's date; the financial year is the Company's financial year for that date.
Build the format#
Open the Production Batch tab
📍 Admin → Application Settings → Production → Production BatchThe table lists the tokens in order. A new workspace starts with a single 4-digit Counter.
Add and arrange tokens
📍 Production Batch tableClick Add Token on a row to insert a token below it, choose its Type and Value, and drag the handle at the start of a row to move it. Remove deletes a token; the Counter can't be removed.
Check and save
📍 Example Production Batch No → Save ChangesExample Production Batch No previews the number with counter 1. Click Save Changes.
Messages when the format isn't valid#
If the format breaks a rule, Save Changes shows Invalid Production Batch Numbering Format with the reason, and nothing is saved:
| Message | What to fix |
|---|---|
| Batch numbering format cannot be empty | Add at least a Counter |
| Counter token is mandatory for batch numbering | Add a Counter token |
| Batch number cannot start with a separator | Move or remove the first separator |
| Batch number cannot end with a separator | Move or remove the last separator |
| Two separators cannot appear consecutively | Remove one of the two separators |
| Custom text token cannot be empty | Enter the text, or remove the token |
| Separator must have a value | Choose /, - or _ |
These checks run when you save from the Production Batch tab. Save batch numbering changes from that tab.
How batch numbers are given#
Production batches are created from job cards. Each batch takes the next number in its Company's series for the financial year of its date; the counter starts again at 1 in each new financial year. Changing the format affects batches created afterwards only.