Blanket Purchase Order Applet
Record a long-term price and quantity agreement with one supplier; it orders nothing by itself. Purchase orders drawn down from it in the Purchase Order applet do the ordering, and the agreement’s Doc Link tab (Copied To) shows what has been drawn; the applet’s Report is a listing of agreements and shows no drawn or outstanding quantity. Finalising an agreement posts no journal, raises no stock on order and draws down no budget. What it does write is the open-queue row that draw-downs consume; if the document-flow pair is not enabled, no row exists and nothing on the screen says so.
Your job, and the screen for it
| The job | Screen or tab | Read |
|---|---|---|
| Record a price and quantity agreement with a supplier — it orders nothing | Blanket Purchase Order › create, then FINAL | What the agreement commits you to |
| Order against the agreement — the whole remaining quantity, part of it, or split evenly across locations | Purchase Order (Internal): KO For › Blanket Purchase Order, the line-level picker (for a partial or uneven quantity), or Multi-PO | Drawing down from a Purchase Order |
| See how much of each line has been drawn down | View screen, Doc Link › Copied To (not the line’s Purchase Order sub-tab, which misses current releases) | Where the remaining quantity comes from |
| Know what stops a release exceeding the agreement | The release screens in Purchase Order (Internal) | What happens if a release would exceed the agreement |
| Review agreements over a date window | Report | Report |
Overview
The Blanket Purchase Order applet records a long-term purchase agreement with one supplier: a validity window, the items covered and their agreed prices and quantities. It does not order anything by itself. Once the agreement is FINAL, buyers draw it down from the Purchase Order (Internal) applet, whose KO For → Blanket Purchase Order tab knocks quantities off the agreement’s lines; the agreement’s Doc Link tab then lists the orders that drew on it — the applet’s Report does not; it is a seven-column listing of agreements. Procurement staff create and finalise agreements; finance and procurement managers read the Report to find an agreement, and open it to see the draw-down.
Where it fits
| Position | Document / applet | Why |
|---|---|---|
| Module | Purchasing | Front end of the procurement chain for recurring purchases. |
| Upstream | Supplier, Doc Item Maintenance, Pricebook | The agreement names one supplier entity and a set of items with agreed unit prices; pricing schemes seed the line prices. |
| Downstream | Purchase Order (Internal) | The only consumer. Its create screen’s KO For → Blanket Purchase Order tab lists open blanket-order lines (line open queue, pair INTERNAL_BLANKET_PURCHASE_ORDER → INTERNAL_PURCHASE_ORDER) and copies them into the PO. |
| Downstream (drill-down) | Purchase GRN (Internal) | The backend report follows each drawn-down PO line to its GRN quantities. |
| Supplier-facing copy | Blanket Purchase Order Supplier Access | Lets a supplier’s own login see the agreements raised on them. |
| Sibling | Purchase Quotation (Internal) | The other pre-order document the PO can knock off from. |
What makes an agreement actually drawable. A blanket purchase order does nothing on its own. The
document-flow pair INTERNAL_BLANKET_PURCHASE_ORDER → INTERNAL_PURCHASE_ORDER has to be configured
and enabled before a finalised agreement offers anything in the purchase order’s KO For →
Blanket Purchase Order tab — a pair that exists but is switched off leaves you with an agreement
that looks right and releases nothing, with no message to say so. And because the line open queue
deletes a row when it reaches zero rather than keeping it at zero, an empty tab is also exactly what
a fully drawn-down agreement looks like. Check the pair before you conclude the agreement is
exhausted.
Screens and menus
The sidebar has two working menus plus Settings and Personalization:
| Menu | Route | What it is |
|---|---|---|
| Blanket Purchase Order | blanket-purchase-order | The listing, with create / view / bulk actions. |
| Report | blanket-purchase-order-report | A read-only grid of agreements by date window (see Report below). |
| Settings | settings/… | Application Settings (field-settings), Default Selection, Printable Format Settings, Branch Settings, Webhook, Feature Visibility, Client Side Permission, Role Pricing Scheme Link, Permission Wizard / Permission Set / User / Team / Role Permission. Of the permission screens the menu links Permission Wizard, Permission Set, User Permission and Role Permission. |
| Personalization | personalization/personal-default-selection | Per-user Default Selection (branch and location). |
No menu is hidden by a setting.
Listing

Columns: BPO No, Posting Status, Company, Supplier Name, Purchaser, Amount, Updated Date, Creation Date, Transaction Date, Created By, Status. The grid loads the user’s branches for the last month by default and sorts by Updated Date descending. Advanced Search narrows by supplier, branch, creation date and transaction date.
Bulk actions above the grid:
| Button | What it does |
|---|---|
| FINAL | Sends every selected row that is not already FINAL to FINAL. Tick DRAFT rows only. |
| DISCARD | Discards only the selected rows whose stored posting status is blank and whose status is ACTIVE. A row stored as DRAFT is skipped without a message, so discard an ordinary draft from its view screen instead (in tab layout — see below). |
| VOID | Voids every selected row that is FINAL and ACTIVE. |
There is no print, e-mail or export bulk action on this listing.
Create screen
The + button opens Create Blanket Purchase Order with three tabs — Main, Supplier Info, Line Items. A Settlement tab and a Department Hdr tab exist but are switched off in the build, so department tags are entered on the view screen after the first save. CREATE is enabled only when the Main form and the supplier entity are valid.
View screen
Opening a saved document shows View Blanket Purchase Order as tabs — or stacked panels when VERTICAL_ORIENTATION is on — in the order set under Default Selection → Details Tab Ordering:
All seven tabs — Main Details, Account, Lines, Doc Link, Department Hdr, Export and Attachments — are always present in the build your users are running; no setting removes any of them. The one whose content is not obvious:
| Tab | What it carries that is not obvious |
|---|---|
| Doc Link | Copied From / Copied To grids of linked documents (Doc No, Branch, Server Doc Type, Status, Date). |
Header buttons: SAVE, FINAL and VOID. DISCARD sits at the foot of the Main Details tab, in the tab layout only: with VERTICAL_ORIENTATION on, the stacked Main panel has no DISCARD button, so switch back to tabs to discard a draft.
There is no RESET and no DELETE button: both are commented out of the screen, so a draft you do not
want is discarded, never deleted.
FINAL and DISCARD appear while the record’s status is ACTIVE and its posting status is either DRAFT or blank. The blank case is not hypothetical — blanket purchase orders with an empty posting status do exist. The backend fills DRAFT when the caller sends nothing, on create and again on update, so a blank status means the row reached the database by a path that set it explicitly, or predates that default. The listing shows a blank posting status as DRAFT, so you cannot tell the two apart there; the view screen’s FINAL and DISCARD work on both, and the listing’s bulk DISCARD works only on the blank ones.
VOID appears only when posting status is exactly FINAL; clicking it on anything else toasts This
document has not been finalized yet.
Each line opens with sub-tabs Main, Serial Number, Batch Number, Bin Number, Purchase Order, Doc Link, Department.
The Purchase Order sub-tab (hidden by HIDE_PURCHASE_ORDER_TAB) has columns Purchase Order No., Item Code, Item Name, Purchase Order Qty, Delivered Qty, Open Qty, UOM, Unit Price, Status, but it is fed only by a link of the older IBPO_IPO type, and only by the first one it finds. Every release route described below creates a KO link instead, so this sub-tab stays empty for agreements drawn down today.
To see what was drawn, use the Doc Link tab’s Copied To grid: it lists each linked order line with its document number, item code and the quantity it took. A release whose order was voided drops off it; one whose order was discarded stays listed although its quantity is back on the agreement; and its Status column is the order’s record status, not its posting status — so open an order before you count it.
Report
Columns: BPO No, Company, Supplier Name, Amount, Created Date, Created By, Status. Advanced Search filters: supplier, branch, creation-date range, transaction-date range — the same four as the listing. Clicking a row opens the agreement in the view screen.
That is all it is: behind it is the ordinary agreement search plus a company, branch and location lookup per row, not the backend’s blanket-purchase report endpoints, which nothing in this applet calls. So the Report shows no drawn, outstanding or GRN quantity per line. The agreement’s Doc Link tab (Copied To) gives the quantity each linked order took; it shows no outstanding or goods-received figure. The BPO Detailed Report in the supplier-access twin is the screen that calls the report endpoint, and it shows the supplier’s own agreements only.
A page titled Batch No Booking is registered in the applet’s page list (fields Batch No, Quantity, Unit Price, amounts, tax, Packing Date, Delivery Date, Remarks) but no screen navigates to it.
Drawing down from a Purchase Order
The release step lives in the Purchase Order (Internal) applet, not here:

- Purchase Order (Internal) → + → complete Main Details and Account.
- Open KO For → Blanket Purchase Order, select the agreement row(s), click KNOCK OFF.
- Check Lines, click CREATE, then FINAL the PO from its listing.
KNOCK OFF is the moment the agreement is drawn, not CREATE. On this tab the server saves the purchase order as a numbered draft and writes the links to the agreement as soon as you click KNOCK OFF. Leaving the screen afterwards does not undo the release: the draft order keeps holding that quantity until it is discarded or its lines are removed.
The tab appears only when the company’s document-flow configuration has the pair INTERNAL_BLANKET_PURCHASE_ORDER → INTERNAL_PURCHASE_ORDER enabled with flow type LINE, and it lists rows from the line open queue for that pair. Only agreements whose lines have open-queue rows — i.e. FINAL agreements — can be selected.
There are three release routes into a purchase order, and they behave differently.
- The header-level KO For → Blanket Purchase Order tab takes whole agreements. You select the agreement rows and the server builds the purchase order: every active line with a remaining quantity, each at its entire remaining quantity, plus the agreement’s header details (see What a release copies). There is no quantity box on it.
- The line-level picker, reached from a purchase order line rather than the header, shows Base Qty., Bal. Qty. and an editable To Knockoff, which starts at the full balance and lets you type a partial quantity. If you need to release 200 of an agreed 5,000, that is the screen to use.
- Multi-PO releases into several orders at once and splits the remaining quantity evenly across the locations you select — an integer share each, with the remainder spread one unit at a time, and zero-quantity lines skipped. One agreement line becomes one order line per location. Nothing on the screen says the split is even, and it is not editable there, so if the branches need different quantities use route 2 once per branch instead.
Configuration
Before you can use it
| Prerequisite | Where | Why |
|---|---|---|
| Company, branch, location | Organisation | Company, branch and location are required on Main. Branch MAIN_LOCATION fills the default location. |
| Supplier entity | Supplier | The Supplier Info / Account tab requires an entity. |
| Items | Doc Item Maintenance | Every agreement line is an item; unit prices can be seeded from a pricing scheme (Pricebook, linkable per branch or role under Branch Settings → Pricing Scheme / Role Pricing Scheme Link). |
| Tax codes | Tax Configuration | Optional SST/GST and WHT codes on lines. No GL mapping is needed — nothing posts. |
| Fiscal period open | Chart of Account → fiscal years | FINAL is refused when the transaction date is in a LOCK_ALL / LOCK_TXN period — this generic check applies although no journal is created. |
| Document-flow configuration | Company document-flow configuration | The pair INTERNAL_BLANKET_PURCHASE_ORDER → INTERNAL_PURCHASE_ORDER, flow type LINE, enabled, is what creates open-queue rows on FINAL and what shows the PO applet’s Blanket Purchase Order knock-off tab. Without it, FINAL succeeds but nothing can draw the agreement down. |
| Permissions | This applet → Settings → Permission Wizard / Client Side Permission | Server-side create / read / update / delete on the document; client-side switches below. |
Applet settings
Settings live in three places in the build your users are running: Default Selection and Branch
Settings are this applet’s own screens, and Application Settings (field-settings) is the shared
settings screen used across applets. The shared screen has no section specific to this applet, so
it shows only its general sections. Anyone who can reach the Settings
menu can change the master settings for everyone.
ENABLE_INLINE_APPLET_CONFIG. The version currently served
to tenants predates it: it contains no gear, and it does not read most of the hides that newer version
adds (listed at the end of this section). Do not go looking for the gear icon, and do not tell a
customer to switch it on.The tables below are what the build your users are running reads (its source commit is recorded in this page’s sources). The Control column says where a key can be switched: Shared is the Application Settings screen; None means no screen you can open today offers it, so it changes only when the applet settings are written directly. Keys that fail one of the checks are listed separately at the end.
Settings → Default Selection (default-selection):
| Setting | What it controls | Default | Effect when changed |
|---|---|---|---|
DEFAULT_BRANCH | Branch pre-selected on new agreements; choosing it also stores DEFAULT_COMPANY and DEFAULT_LOCATION (branch MAIN_LOCATION). | Empty — patched from the saved value, null when nothing was saved. | New agreements open with these values; a personal default overrides them. |
DEFAULT_LOCATION | Location pre-selected on new agreements. | Empty. | Set for you when you pick DEFAULT_BRANCH — it takes the branch’s MAIN_LOCATION. If the branch has no MAIN_LOCATION, nothing is stored and every new agreement opens with an empty, required Location field. |
DEFAULT_TOGGLE_COLUMN | SINGLE or DOUBLE column layout of the create / view forms. | Empty (single). | Two-column layout. |
DEFAULT_ORIENTATION | HORIZONTAL (tabs) or VERTICAL (stacked panels) for the view screen. | Empty (tabs). | Panels; the EXPAND_* keys below decide which open. |
BLANKET_PURCHASE_ORDER_DETAILS_TAB_ORDER | Drag-and-drop order of the view tabs (Main, Account, Lines, Doc Link, Department Hdr, Export, Attachments). | Code order. | Tabs re-order for everyone. |
Settings → Application Settings (shared screen, ungated sections). Every toggle starts off (the form is built empty and patched from saved values).
| Setting | What it controls | Default | Control | Effect when changed |
|---|---|---|---|---|
DEFAULT_TRANSACTION_DATE | The transaction-date window the listing loads on open. | Unset → last month to today. | Shared | 1_month, 1_week, 1_day set the window explicitly. |
SORT_ORDER | Listing sort column. | Unset → Updated Date. | Shared | Sorts by the chosen column, descending. |
DISABLE_GEN_DOC_LISTING | Stops the listing auto-loading. | Off. | Shared | The grid opens empty until someone searches. Worth turning on where the agreement count is large enough that the default last-month window is slow; it is the only lever on this listing’s load cost, because the date window and sort are the only other tunables. |
HIDE_GENDOC_FINAL_BUTTON, HIDE_GENDOC_DISCARD_BUTTON, HIDE_GENDOC_VOID_BUTTON, HIDE_GENDOC_SAVE_BUTTON | Remove FINAL / DISCARD / VOID / SAVE from the view screen. | Off. | Shared | Hidden for everyone, with no permission that reopens them. |
VERTICAL_ORIENTATION | Stacked panels instead of tabs on the view screen. | Off. | Shared | Panels. Which panel opens by default is read from EXPAND_DETAILS, EXPAND_ACCOUNTS, EXPAND_LINE, EXPAND_DOC_LINK, EXPAND_DEPARTMENT, EXPAND_EXPORT and EXPAND_ATTACHMENT; the shared screen offers only the doc-link, export and attachment ones under those names, and its main details, account, line items and department toggles use other names that this build does not read. |
HIDE_QTY_BASE, HIDE_QTY_UOM, HIDE_UOM_TO_BASE_RATIO | Quantity fields on line forms. | Off. | Shared | Hidden. On the create and edit line forms the matching SHOW_QTY_* / SHOW_UOM_TO_BASE_RATIO permission reopens them; the view screen’s add-line form ignores those permissions. |
HIDE_UNIT_PRICE_STD_PRICING_SCHEME, HIDE_UNIT_PRICE_STD_INCL_TAX, HIDE_UNIT_PRICE_STD_EXCL_TAX, HIDE_UNIT_PRICE_STD_UOM_INCL_TAX, HIDE_UNIT_PRICE_STD_UOM_EXCL_TAX, HIDE_UNIT_PRICE_NET_EXCL_TAX, HIDE_UNIT_PRICE_NET_UOM_EXCL_TAX, HIDE_UNIT_PRICE_TXN, HIDE_UNIT_PRICE_TXN_UOM_INCL_TAX, HIDE_LAST_PURCHASE_PRICE | Unit-price fields on line forms. | Off. | Shared | As above, with SHOW_UNIT_PRICE_* / SHOW_LAST_PURCHASE_PRICE. |
HIDE_UNIT_DISCOUNT, HIDE_UNIT_DISCOUNT_UOM_EXCL_TAX, HIDE_DISCOUNT_AMOUNT_EXCL_TAX, HIDE_AMOUNT_STD_EXCL_TAX, HIDE_AMOUNT_NET_EXCL_TAX, HIDE_AMOUNT_TXN | Discount and amount fields on line forms. | Off. | Shared | As above, with SHOW_UNIT_DISCOUNT* / SHOW_DISCOUNT_AMOUNT_EXCL_TAX / SHOW_AMOUNT_*. |
HIDE_TAX_CONFIG_SELECTION, HIDE_WHT_CONFIG_SELECTION | Tax and WHT selectors on line forms. | Off. | Shared | As above, with SHOW_TAX_CONFIG_SELECTION / SHOW_WHT_CONFIG_SELECTION. |
HIDE_SEGMENT, HIDE_DIMENSION, HIDE_PROFIT_CENTER, HIDE_PROJECT; MANDATORY_SEGMENT, MANDATORY_DIMENSION, MANDATORY_PROFIT_CENTER, MANDATORY_PROJECT | Hide or require each accounting dimension on the line Department tab. | Off. | Shared | Hidden, or required at save. |
HIDE_PURCHASE_ORDER_TAB | Remove the line-level Purchase Order sub-tab. | Off. | None | The sub-tab goes; it shows only older IBPO_IPO links in any case (see View screen). |
Read, but with no control or no effect: ENABLE_FILTER_BY_TODAYS_TXN (declared and read, offered
on no screen). SHOW_DOCUMENT_DELETE_BUTTON is offered on the shared screen and read by the view
screen, but the DELETE button it would reveal is commented out, so switching it changes nothing.
PRINTABLE is written by Printable Format Settings when a format is marked default and read by the
Export tab.
Declared but never read (present in the model only — not documented as settings):
ENABLE_CUSTOM_STATUS_1..5, ENABLE_CUSTOM_STATUS_HDR_1..5, ENABLE_CUSTOM_STATUS_LINE_1..5,
LIST_CUSTOM_STATUS_*, NAME_CUSTOM_STATUS_*, the SST and WHT enable flags, a subject-GUID field, and
the KO for, delivery, AR/AP, contra, settlement, posting and trace document expand flags.
Read by nothing in the build you are running. The shared Application Settings screen shows some of these to this applet and gates others to different applets; either way this build reads none of them, so switching them changes nothing here:
- Main and listing: the document-number, transaction-, created- and updated-date, client-document-type, location, remarks, purchaser and reference hides; the listing amount and branch hides; the tracking-ID and permit-number hides.
- Account tab: the supplier type, e-mail and phone hides, and the Bill To, Ship From and Intercompany sub-tab hides.
- Tabs and buttons: the Doc Link, Department Hdr, Export and Attachments tab hides, the two Doc Link grid hides and the EXPORT AS PDF hide; the print-button and send-e-mail-button hides.
- Lines: the batch, bin and serial sub-tab hides, and the four
ENABLE_*Department toggles (segment, dimension, profit centre, project).
A newer version of this applet in its repository reads most of them — through the inline gear the callout above describes — and this section will change when that version is served. The print and e-mail hides are honoured elsewhere — by the Purchase Order, Purchase GRN, Receipt Voucher, Stock Requisition and Stock Transfer listings, and the e-mail one by eighteen document applets including the Purchase Order and Sales Invoice — which is where the expectation comes from.
Document behaviour settings
| Behaviour | Where it is set | Notes |
|---|---|---|
| Posting status on create | No control — new agreements are DRAFT. | |
| Validity dates | Main tab: Start Date + Validity in Day(s) compute Valid Date; stored with the document. | Recorded, printed and reported; nothing enforces them. See What the agreement commits you to, under Lifecycle and effects below. |
| Spending cap | None. | The ceiling this document type carries is a quantity, per line, and nothing anywhere compares the value of the orders released against the agreement’s amount — the open queue stores a quantity and the knock-off validation compares quantities. If you need a committed-spend limit, it has to live in the purchase order approval path, not here. |
| Quantity cap | Per agreement line. | See What happens if a release would exceed the agreement below, under Lifecycle and effects. |
| Printable formats | Settings → Printable Format Settings. Branch Settings → Printable Format overrides per branch. | Used by the Export tab’s EXPORT AS PDF. |
| Approval workflow | No exposed control. | |
| Webhooks | Settings → Webhook (shared component). | Fires on document events. |
Branch settings
Settings → Branch Settings — pick a branch on the left. Sub-tabs: Branch Details (read-only name, code, company; the Sales Agent picker, Rounding Five Cent with a rounding item, Group Discount Item), Item Category Filter, Pricing Scheme, Printable Format, Default Settlement Method. (A Menu List tab exists in the source but is commented out.) The Sales Agent control writes the branch’s default sales agent; the create screen’s Purchase Agent field is not pre-filled from it.
Who can change what
Server-side. Every API call on the document is gated by
TNT_API_DOC_INTERNAL_CUSTOM_INTERNAL_BLANKET_PURCHASE_ORDER_{CREATE,READ,UPDATE,DELETE}_TGT_GUID,
each assignable with a target of type Company, Branch, Location or Entity through Permission
Wizard or Permission Set.
Client-side permissions seeded for this applet (assign under Settings → Client Side Permission):
| Permission code | Effect |
|---|---|
SHOW_TRANSACTION_DATE | Enables the Start Date picker on Main; for anyone without it the picker’s input is disabled. |
HIDE_PRICE | Hides the standard unit price (excl. and incl. tax) and unit discount fields on the view screen’s add-line form for the holder. |
The applet code also checks SHOW_QTY_*, SHOW_UNIT_PRICE_*, SHOW_UNIT_DISCOUNT*, SHOW_DISCOUNT_AMOUNT_EXCL_TAX, SHOW_AMOUNT_*, SHOW_LAST_PURCHASE_PRICE, SHOW_UOM_TO_BASE_RATIO, SHOW_TAX_CONFIG_SELECTION and SHOW_WHT_CONFIG_SELECTION — each reopens, on the create and edit line forms, a field that the matching HIDE_* setting removed. None of these is seeded for this applet; BigLedger has to add them to its permission list before Client Side Permission can grant them. The build you are running checks no SHOW_DOC_NO_* or SHOW_GENDOC_* permission.
Settings → Feature Visibility (shared) can hide menus per team.
Fields
Main (create) / Main Details (view)
| Field | Meaning | Required | Notes / validation |
|---|---|---|---|
| Doc No (Tenant / Company / Branch) | Running numbers. | System | The tenant number is given when the agreement is first saved; the company and branch numbers at FINAL. The New screen works on a temporary document, and the save that makes it a real draft stamps the tenant number — so a saved draft already shows its BPO No on the listing and you can quote it to a supplier, but its company and branch numbers stay blank until it is posted. The three fields show on an existing agreement, not on the New screen. |
| Company, Branch, Location | Owning company, branch and location. | Yes | Defaults from Default Selection / personal defaults. The branch decides who can see the agreement in the release list: the knock-off tab filters on the buyer’s permitted branches. The header-level tab and Multi-PO both refuse a selection that mixes suppliers or branches (see Troubleshooting). |
| Start Date | First day of the agreement. | Yes | On an existing document it falls back to the transaction date. |
| Validity in Day(s) | Length of the agreement. | Yes | Changing it, or the start date, recomputes Valid Date. |
| Status | ACTIVE / INACTIVE. | Yes | Default ACTIVE. FINAL and DISCARD buttons appear only while ACTIVE. |
| Reference No. | Free text. | No | This is the field a buyer searches the release list by: the purchase order’s knock-off tab searches on it in its advanced search. Put the supplier’s contract or quotation number here and the person releasing against it can find the agreement without knowing its document number. |
| Purchase Agent | Employee responsible (entity picker). | No | Not pre-filled from Branch Settings → Sales Agent, despite the branch carrying one. Fill it by hand or leave it blank. |
| Remarks | Free text. | No | Copied onto the purchase order header, with the reference, by the header-level knock-off tab and by Multi-PO (from the first agreement selected). The line-level picker copies lines only, so on that route only the line remarks travel. Anything the buyer must see whichever route is used belongs on the line. |
Supplier Info (create) / Account (view)
| Field | Meaning | Required | Notes / validation |
|---|---|---|---|
| Entity (Supplier) | The supplier the agreement is with. | Yes | A new supplier can be created inline (name, type, AR/AP type and currency required). |
| Entity branch, contacts, Bill To / Ship From addresses | Supplier branch, contact person, addresses. | No | Contact creation requires a contact name; addresses require type, city, state, country and postal code. |
Lines
| Field | Meaning | Required | Notes / validation |
|---|---|---|---|
| Item Code / Item Name | The item covered. | Yes | The item identity is what the release copies and what the line-level picker aggregates a balance by. A line must also be an ordinary item line (transaction type PNS) to enter the open queue — anything else is never offered by the line-level picker. The header-level tab is different: once you select an agreement there, the server copies every active line that still has a remaining quantity, queued or not. |
| Quantity Base, Quantity by UOM, UOM to Base Ratio | Agreed quantity — this is what the PO knock-off draws down. | Quantity yes | |
| Unit Price STD (excl. / incl. tax), by UOM | Agreed unit price. | No | Editable per line; seeded from the pricing scheme. Hidden for holders of HIDE_PRICE. |
| Unit Discount, Discount Amount | Line discount. | No | Copied onto the released purchase order line along with the price, so the agreed discount is honoured without anyone re-entering it. |
| Unit Price Net, STD Amount, Amount Net | Derived amounts. | Derived (always present) | These are the agreement line’s totals, for the full agreed quantity. They never reach a ledger — see the posting proof below — and the released purchase order recomputes its own. |
| SST/GST code, %, amount; WHT code, %, amount | Tax lines. | No | Recorded so the agreed tax treatment carries to the release; no tax is accrued or reported from this document. The tax codes themselves are copied to the purchase order line. |
| Remarks | Line text. | No | Travels to the purchase order line on every release route. The header remarks travel through the header-level knock-off tab and Multi-PO, not the line-level picker. |
| Serial / Batch / Bin sub-tabs | Stock references. | No | Batch requires batch number, issue and expiry date, quantity; bin requires bin code, container measure and quantity. |
| Department sub-tab | Segment, dimension, profit centre, project. | Per MANDATORY_* | Header values default. |
Lifecycle and effects
What the agreement commits you to, and what it does not
A blanket purchase order is an agreement, and the engine treats it as one. Its document type
INTERNAL_BLANKET_PURCHASE_ORDER is declared with amount signum 0 and quantity signum 0, and
both zeros decide
what finalising one can and cannot do:
- No journal, at any size. Journal posting builds a journal line only for document lines whose amount signum is non-zero. A finalised agreement for RM 2 million produces no accounting entry at all — nothing in creditors, nothing in purchases, nothing in input tax. The Amount column on the listing is the value of the agreement, and it will never appear in a trial balance.
- No stock, and no reservation. Stock posting skips every line whose quantity signum is zero. Agreeing 5,000 units does not raise stock on order, does not move stock availability, and reserves nothing at the supplier. Only the purchase orders drawn from the agreement do that.
- No budget. FINAL runs four optional validations — serial numbers on signum-zero lines, stock balance, sell-below-cost, and redeemed points — and none of them consults a budget. Committing to an agreement does not draw down a budget figure and cannot be refused by one.
- No GL mapping required. Because no journal line is built, no default GL code is looked up, so FINAL cannot fail for a missing one. This is the one purchase document where an incomplete chart of accounts costs you nothing.
What the agreement does commit is a price and a quantity ceiling per item, and both are carried by one thing: the line open-queue row that FINAL writes. Everything the agreement is for lives in that row. If it is not created — because the document-flow pair is not enabled — the agreement is a record with no mechanism behind it, and the screens give no hint of the difference.
The validity window is recorded and gates nothing. Start Date and Validity in Day(s) compute Valid Date, stored with the document. The only things that read the end date are this applet’s own Main tab, which computes it, and its create-screen Lines grid, which prints it in a Valid Date column. No release screen, no backend check and no other applet consults it. An expired agreement keeps appearing in the purchase order knock-off list until its lines are exhausted or somebody voids it.
Statuses and what FINAL does
| Status | Meaning | Allowed next |
|---|---|---|
| DRAFT | Editable. Lines not yet available for knock-off. | FINAL, DISCARDED |
| FINAL | Locked. Lines have open-queue rows that Purchase Orders can draw down. | VOID |
| VOID | Reversed. The void reason is stored with the document. | none |
| DISCARDED | Abandoned draft. | none |
Backend checks on FINAL: the document must not already be FINAL (Generic Document has already been posted to FINAL), and the transaction date must not fall in a LOCK_ALL / LOCK_TXN fiscal period.
What FINAL does: applies the transaction-date rule, generates the running numbers, and starts the posting run and the message-template queue. The posting run then reads the company’s document-flow configuration and, for the enabled pair INTERNAL_BLANKET_PURCHASE_ORDER → INTERNAL_PURCHASE_ORDER, writes one open-queue row per line. Those rows are what the PO applet’s knock-off tab lists and decrements.
Posting proof block
| Item | Value |
|---|---|
| Server document type | INTERNAL_BLANKET_PURCHASE_ORDER |
| Amount signum | 0, and it is checked on create and update — send anything else and the document is rejected |
| Quantity signum | 0, filled on every line rather than checked, so a caller cannot opt a line into stock movement |
| Dr/Cr equation | None. A journal line is built only when a line’s amount signum is non-zero, so no line qualifies and no journal is created. |
| Handler | No dedicated journal handler for this type; the generic purchase fallback would select CREDITOR / PURCHASE / INPUT_TAX, but no line reaches it. |
| GL precedence | Not applicable — no GL line is built; no default GL mapping is required for FINAL. |
| Hard stops in posting | None from posting. FINAL is refused for a locked period and for a document that is already FINAL. |
| Stock processor | None. Stock posting skips every line whose quantity signum is 0. |
| Open queue | One row per ordinary item line (PNS) for each enabled flow pair that starts from this type, netted against any links the line already carries. The release then recomputes the open quantity from the line quantity and every link, and deletes the row when it reaches zero. |
| What VOID reverses | VOID sets the status and the reason and starts the void posting run, which permanently deletes every open-queue row where this document is the source and marks its links deleted. There is no journal to reverse. |
Treat voiding as one-way, and know that the two directions do opposite things.
Voiding the agreement deletes its open-queue rows outright rather than flagging them, so the remaining quantity is destroyed, not parked. Purchase orders already released are untouched — they keep their lines, their prices and their document links. To keep drawing, raise a new agreement. Use DISCARD on a draft you do not want, and VOID only when you mean the agreement to be over.
Voiding a purchase order that drew the agreement down runs the same step from the other side: its links are marked deleted, and removing a link puts the quantity back on the agreement — recreating the open-queue row if it had already been deleted for reaching zero, and capping the restored figure at the agreement line’s own quantity. A cancelled order therefore returns its allocation automatically, provided the blanket purchase order → purchase order pair is still enabled when you void; nobody has to adjust the agreement.
Where the remaining quantity comes from
This is the number people argue about, and the two screens derive it two different ways.
The stored figure. FINAL writes one open-queue row per agreement line, carrying the open quantity.
Two filters there are invisible from the screen: only lines whose transaction type is PNS — ordinary
item lines — enter the queue, and the starting quantity already nets off any links the line carries, so
re-finalising an agreement cannot double-count what has been drawn. The header-level knock-off tab reads
that stored value straight off the row and shows it as the line’s open quantity.
The recomputed figure. Every time a purchase order links to an agreement line, the backend does not subtract from a running total — it recomputes the whole figure from the agreement line and every link on it: open quantity = agreed quantity + the sum of (linked quantity × the link’s sign) over all links on that line. The line-level picker shows the same sum before you have knocked anything off. Because a release link carries a negative sign, the sum walks the agreed quantity down.
Two consequences a reader cannot see:
- A correction is self-healing. Because the figure is derived rather than decremented, editing a purchase order line’s quantity, deleting a linked line, or voiding the purchase order does not leave the agreement permanently drawn down. Deleting the link restores the open-queue row — recreating it if it had already gone — and caps the restored quantity at the agreement line’s own quantity so a double restore cannot inflate it. The restore happens only while the company still has a knock-off pair enabled from the blanket purchase order; switch the pair off and a void, a discard or a deleted link gives nothing back, silently.
- A fully drawn line disappears rather than showing zero. When the recomputed open quantity reaches zero or below, the open-queue row is permanently deleted, not set to zero. So an exhausted agreement vanishes from the knock-off list entirely. An empty knock-off list means “nothing left to draw”, not “something is broken” — and it is indistinguishable on screen from an agreement whose open-queue rows were never written because the document-flow pair was not enabled when it was finalised.
The agreement’s Doc Link tab (Copied To) helps tell those two apart: linked orders there mean it was drawn on (open each to confirm it is still live); none means nothing was drawn, so check whether the pair was enabled at FINAL and whether someone used CANCEL on the knock-off list.
There is also a CANCEL action on the knock-off list that removes a whole agreement from the queue without touching the agreement itself (toast The selected document has been removed from the queue). It is not a soft filter: it takes the agreement out of the release pool for everyone, and it acts on the first selected row only, whatever else is ticked. Use VOID on the agreement if you want the state to be visible on the document.
What a release copies, and what it leaves behind
Knocking off does not create a live link to the agreement — it copies the agreement line onto a new purchase order line and records a link between the two. What travels on the line:
- The agreed unit price (standard and transaction, and the by-UOM variants), the discount, the tax and withholding codes with their rates and amounts, and the line’s computed amounts. This is the whole point of the agreement: the purchase order is priced at what was agreed, not re-priced from today’s pricebook.
- The item, UOM and UOM-to-base ratio, the line remarks, the accounting dimensions (segment, dimension, profit centre, project) and any serial numbers, on every route.
- Batch and bin references, and the rebate and min/max price fields, on the header-level tab (which copies the whole line) but not on the line-level picker, whose copy of those fields is switched off. Re-enter batch and bin details after a line-level release.
- The quantity: the whole remaining quantity on the header tab, or the figure you typed on the line-level picker.
The header travels on the header-level tab and on Multi-PO. On the header-level tab the server copies the first selected agreement’s header onto the purchase order: the supplier and its stored details, the company, branch and location, the delivery branch and location, the currency, the reference and external references, the header remarks and the header dimensions. The order keeps its own transaction date (the day of the knock-off) and its own numbering — both given at KNOCK OFF, when the server saves the order as a draft — and you can still edit that draft afterwards.
Multi-PO does the same from the first agreement selected — supplier and its stored details, company, currency, reference, header remarks, delivery details and dimensions — but not the branch or location, which come from the locations you split across. The line-level picker copies lines only; the order’s header is whatever you entered on it. And because the line is a copy, editing the agreement afterwards changes nothing on purchase orders already released — the price you see on an old order is the price that was agreed on the day it was drawn.
The supplier on an agreement that is a year old
When you pick the supplier, the applet copies the supplier’s details onto the agreement rather than pointing at the record: code, name with the chosen contact appended, e-mail, phone and supplier type go into the document’s entity block, and the chosen addresses into the billing and shipping blocks. The backend fills the same block only when it arrives empty and never refreshes one that is already there (What a document keeps explains why every document works this way). An agreement is precisely the document where that matters, because it may be drawn on for twelve months:
- A reprint matches what was agreed. If the supplier moves office or changes its tax number in month six, the agreement still shows what was true when it was signed. That is what makes it evidence.
- Correcting the copy corrects one document. Editing the address here changes this agreement and not the supplier record; pushing the correction back to master data is a separate, deliberate act.
- What a released purchase order carries depends on the route. The header-level tab and Multi-PO copy the agreement’s stored supplier details onto the order, so an order drawn in month eleven carries the address that was true when the agreement was signed — check it against the supplier record before you send the order. On the line-level picker you pick the supplier on the order yourself, and it takes a fresh copy of the supplier record as it stands that day.
- One path does rewrite history, and it is the right one. Merging two supplier records refreshes the snapshot on every document pointing at the survivor — see Supplier → Entity merging.
What happens if a release would exceed the agreement
For whole-number quantities, no release screen will let you over-draw. Multi-PO is the exception for a fractional balance: it gives each location a whole-number share and spreads any remainder one whole unit at a time, so 10.5 left across two locations becomes 6 and 5. The line-level picker rejects a To Knockoff greater than the balance outright — the cell refuses any value above the balance, and a line left at zero is not taken — and the header tab imports exactly the remaining quantity and offers no box to change it.
The header-level tab’s knock-off copies only what remains on each agreement line, and refuses with “The quantity to be knocked off exceeds the generic doc line quantity” when nothing remains.
Whoever owns the agreement reads its Doc Link tab (Copied To) against each line’s agreed quantity at month-end, opening each linked order to confirm it is still live.
What it will not do
Stated plainly, because each of these is a thing customers ask for and a thing the screen does not deny:
- It will not stop an order being placed outside the agreement. A buyer can raise an ordinary purchase order for the same item and supplier and never touch the agreement. Nothing reconciles the two, and the agreement’s Report will not show the leakage.
- It will not cap spend. The ceiling is a quantity per line. No value is compared against anything.
- It will not expire. The validity window is recorded, printed and reported, and no code path consults it at release time.
- It will not schedule anything. There are no call-off dates, no delivery schedules and no reminders on this document; the Batch No Booking page in the applet’s page list (Packing Date, Delivery Date) is registered but no screen navigates to it.
- It will not approve. There is no approval route, state or setting in this applet — the only states are draft, final, void and discarded.
- It will not price a purchase order raised later from scratch. The agreed price reaches an order only through the knock-off. Typing the item onto a purchase order by hand takes the pricebook price, not the agreement’s.
- It will not tell the supplier. The agreement can be printed or exported as PDF, and the Supplier Access applet lets a supplier’s own login read it, but nothing is sent: this listing has no print, e-mail or export bulk action, and the print- and e-mail-button hides on Application Settings are read by nothing here because there is no such button to hide.
Related applets
- Purchase Order (Internal) — the only document that draws the agreement down (KO For → Blanket Purchase Order).
- Blanket Purchase Order Supplier Access — the supplier-facing view of the same documents.
- Purchase GRN (Internal) — the backend report follows PO lines to GRN quantities.
- Purchase Quotation (Internal) — the other pre-order document the PO can knock off.
- Supplier, Organisation, Doc Item Maintenance, Tax Configuration, Pricebook — master data it depends on.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| The Blanket Purchase Order tab is missing under KO For in Purchase Order (Internal) | The company’s document-flow configuration has no enabled INTERNAL_BLANKET_PURCHASE_ORDER → INTERNAL_PURCHASE_ORDER pair with flow type LINE. | Enable the pair in the company document-flow configuration; the tab appears on the next load. |
| The agreement is FINAL but does not appear in the knock-off list | No open-queue rows were written for it: the flow pair was enabled after the agreement went FINAL, or the lines have been fully drawn down (drawn quantity equals agreed quantity). | Void and re-create the agreement after enabling the pair, or read the agreement’s Doc Link › Copied To to see whether its quantity has been drawn. |
| KNOCK OFF shows an error and imports nothing | The selected agreement’s lines have nothing left: existing links already add up to each line’s quantity. | Open the agreement’s Doc Link › Copied To: the linked orders there account for the quantity. |
| On Multi-PO, KNOCK OFF refuses with The selected documents contain different entities or branches | That screen requires every selected agreement to share the supplier and branch of the first one. The header-level tab refuses a mixed selection with the same message. | Select one supplier’s and one branch’s agreements at a time. |
| FINAL refused with The selected date falls within a locked fiscal period | Transaction date in a LOCK_ALL / LOCK_TXN period — the check applies even though nothing posts. | Change the date or reopen the period. |
| Generic Document has already been posted to FINAL | Two users (or bulk FINAL plus the view screen) finalised the same draft. | Refresh; no action needed. |
| VOID toasts This document has not been finalized yet | The view screen’s VOID runs only on FINAL documents. | Use DISCARD for a draft. |
| FINAL / DISCARD / VOID button missing on the view screen | HIDE_GENDOC_*_BUTTON is on. It hides the button for everyone, and no permission reopens it in the build you are running. | Turn the setting off. |
| A setting toggle in Application Settings does nothing | It is one of the keys listed under Read by nothing in the build you are running or Declared but never read. | No fix needed; it has no effect in this applet. |
A HIDE_* toggle you need is not on the Application Settings screen | Either its Control is None (HIDE_PURCHASE_ORDER_TAB), or the shared screen gates it to other applets — in which case this build does not read it either (see Read by nothing under Applet settings). The inline gear is not in the served build. | For HIDE_PURCHASE_ORDER_TAB, leave it at its default or have the applet settings written directly. For a gated key, writing it changes nothing here. Do not spend time hunting for the gear icon. |
| The Report shows VOID or DRAFT agreements | The Report is the ordinary agreement search over a date window, with no posting-status filter, and its Status column is the record status (ACTIVE / INACTIVE), not the posting status. | Read the Posting Status column on the listing (its column filter narrows the rows already loaded), or open the agreement. Neither screen’s Advanced Search has a posting-status criterion. |
| Unit-price fields are missing on the add-line form for one user | The user holds the HIDE_PRICE client-side permission. | Remove the permission if the user should see prices. |
| DELETE button missing on a draft | The build you are running has no DELETE button: it is commented out of the view screen, and SHOW_DOCUMENT_DELETE_BUTTON cannot bring it back. | Use DISCARD on a draft and VOID on a FINAL agreement. |
Related documentation
- Purchasing module and its related applets
- Purchase Order (Internal) — the knock-off side of the release step