Setting up Purchasing
The supplier master, and the settings that decide how your company uses it.
Switching it on
Settings → Apps → Purchasing. It has no dependencies: purchasing runs without Inventory, because a distributor buying services and a company mid-implementation both exist. What needs Inventory is the supplier catalogue — a vendor item names an item, and items are Inventory's — and that part refuses with a sentence rather than quietly doing nothing while Inventory is off.
The options
| Option | Default | What it does |
|---|---|---|
| Vendor items | On | Record what each supplier calls an item, what they charge, how many come in a case and how long they take. Needs Inventory. |
| Vendor licences | On | Record the licences a supplier holds. Switch off for a distributor with nothing regulated on its shelves — a licence tab full of nothing on every supplier teaches people to ignore a tab. |
| Duplicate detection | On | Look for suppliers that already exist while somebody types a new one, and keep a review list. |
| Duplicate threshold | 0.55 | How alike two suppliers must be before one is offered as a duplicate of the other. Lower finds more and is noisier. |
| Default lead time | 7 days | What to assume when neither the catalogue row nor the supplier says. It is what turns a reorder point into a date to order on. |
| Licence notice days | 30 | How far ahead an expiring supplier licence is flagged. Roughly what a state renewal takes; move it if you buy from a state with a slower authority. |
| Late order notice days | 1 | How many days past the date the supplier gave before a purchase order is flagged as late. One, so an order due today is not chased before the truck has had the day to arrive. |
| Supplier request interval days | 14 | How long to wait after asking a supplier for a licence copy or a missing invoice before another request is drafted for the same thing. |
| Order chaser interval days | 7 | How long to wait after a late-order email goes to a supplier before another is drafted for the same order. The order stays flagged; only the drafted email waits. |
| State directory check | Warn | What a purchase order does with a product a state's product directory does not list: ignore, warn on the order, or refuse to send it for approval. See below. |
| Check which states | Customer states | Where to look: receiving_site (where the order is delivered), customer_states (every state a customer or ship-to is in), pact_states (every state you have filed a PACT report with), or listed_only. |
| Also check these states | (none) | States always checked, whichever of the above you chose. Country and state, separated by commas: US-CA, US-TX. A bare US checks federal lists only. |
Buying something you cannot sell where you sell
A state's product directory refuses a sale of an unlisted product into that state, at order entry. Buying one is not illegal, so by default a purchase order only warns. The order page lists each line and each state where the product is not listed, and the order can still be approved.
Choose refuse if you never want stock you cannot sell. The order is then refused when it is sent for approval, not while it is being written, and the refusal names the lines. Fix it by removing the line, recording the listing on the state's directory, or changing this option.
Choosing where to look:
- Single-state distributor: receiving_site. The state the goods arrive in is the state you sell in.
- Regional distributor: customer_states, the default. It checks every state you have a customer in.
- National PACT filer: pact_states, which checks the states you already report to.
- Anyone with a fixed list: listed_only with the states listed.
A state with no product directory is never a concern, so a wide choice costs nothing where there are no lists.
Vendor classes
Purchasing → Vendor classes. A class carries the defaults a supplier inherits: payment terms, a settlement discount, the account roles a payable and an accrual post through, the value above which a purchase order for this kind of supplier needs approving, and which licence types this kind of supplier must hold.
Every field on a class is optional. An unset field means "ask the next rung down", which is the company setting — so a class that answered every question would force a decision nobody has made yet.
A class's code cannot be changed after it is created. Import files and rules are written against it, and renaming it would silently break both: the class they name would simply stop matching, with nothing raising.
Three classes is usually the right number. A shape that works:
- one for regulated importers, requiring a distributor licence;
- one for local wholesalers, on shorter terms;
- one for services and supplies, which never touch a shelf.
There are deliberately no vendor groups and no vendor territories. A customer is segmented for reporting and covered by a rep in a place; a supplier is neither. Use tags for the rest.
On the screen: New vendor class (or the command palette's "New vendor class")
opens the form, and clicking a code opens a class to change it. Leave a field
blank to use the company's default. Once payment terms, the discount or the
approval threshold are set on a class they can be changed but not emptied here.
The account-role fields suggest the payables roles from the chart of accounts
for people who can read the ledger; others can type a role key. Switching a
class off hides it from the new-supplier form; suppliers already on it keep it,
and View suppliers finds them. Reading classes needs vendor.read; changing
them needs vendor_class.manage, which Manager holds.
Who may do what
Purchasing and payables are Admin only by default. Every permission in this
app and in Payables — suppliers, their prices, purchase orders, deliveries,
receiving, putaway, inspections, landed costs, returns, rebates, quotes,
requisitions, bills, payments, cheques, payment files, 1099s and the supplier
portal — is held by the Admin role and by no other seeded role. A buyer, a
receiver or an accounts-payable clerk is given what they need through a role
of the company's own (Settings → Roles: copy Warehouse, say, and add
purchase_receipt.read, purchase_receipt.manage and putaway.manage).
Until then the Purchasing app and its menu entries are not shown to them.
Except what Accounting reads (owner decision, round 80). The seeded
Accounting role, which is the controller's and the bookkeeper's, reads
suppliers, their bills and what has been paid to them: vendor.read,
vendor_bill.read, vendor_payment.read and the bill list's four summary
figures (bill_figures.*). So the supplier and bill lists and records open
for them, and so does the payment run they are asked to approve. It changes
none of it: creating or changing a supplier or a bill, approving a supplier
or a bill, posting, paying, building or releasing a run stay Admin's or a
company role's. It still does not reveal a supplier's tax id
(vendor.tax_id.reveal; the record shows the last four), read their bank
details in clear, their prices (vendor_item.read), their licence numbers
(vendor_licence.read), the supplier portal or purchase orders. Accounting
also approves payment runs somebody else submitted
(payment_run.approve, see Payment runs in docs/admin/payments.md). The
list is OWNER_GRANTED in app/auth/admin_only.py. Nothing changes for a
company's own roles: they hold what they were saved with.
The demo company does this. Its administrator has made three roles of the
company's own and put the people who work with suppliers on them
(app/demo/company_roles.py): Manager and buying (manager@example.com),
Accounting and payables (accounting@example.com) and Warehouse and
receiving (warehouse@example.com). Each is the seeded role it is named after
plus what that role held before the go-live review, and falls back to it, so
the person is still a Manager, an Accountant or the Warehouse wherever the
product names a role. The warehouse's role reads suppliers and their part
numbers and receives against purchase orders; it does not read supplier
licences, tax ids, prices, bills or payments. New suppliers and supplier
payment runs are routed to Accounting there (Settings → All settings), as
they were before the review routed them to Admin. A real company's seeded
roles are untouched: only Admin holds these permissions until the company
gives them to somebody.
Prices are stock_cost.read's (Inventory), on every purchasing screen. A
purchase order's prices, line amounts and totals, a delivery's goods value,
unit costs and landed cost, a supplier's prices and quantity breaks, rebates,
a return's expected credit, the match exceptions' prices and the open-order
figures on the dashboard are shown only to holders of stock_cost.read,
which among the seeded roles is Admin only. A company role that may read
orders or deliveries without it sees the same documents with quantities, dates
and parties and no money; the columns
and figures are not drawn at all, the lists cannot be filtered or sorted by a
total, and the assistant's purchasing answers leave the amounts out. The
printed purchase order and return-to-supplier note carry prices, so only
holders print them (the first print of an approved order is the copy kept for
the supplier, and one without prices would be wrong for everybody). The Landed
costs page is listed only for holders.
| Permission | Granted by default to | What it allows |
|---|---|---|
vendor.read | Admin and Accounting (read only, round 80) | See suppliers, their people and their addresses. |
vendor.manage | Admin only (give it through a company role) | Create and change suppliers and their contacts. |
vendor.approve | Admin only (give it through a company role) | Approve a new supplier for trading, or send it back. |
vendor.hold | Admin only (give it through a company role) | Stop ordering from a supplier, and start again. |
vendor.merge | Admin only (give it through a company role) | Join two records that are the same company. |
vendor_class.manage | Admin only (give it through a company role) | Create and change classes and the defaults they carry. |
vendor_item.read | Admin only (give it through a company role) | See supplier part numbers, pack sizes and prices. On a product's Vendors tab the price also needs stock_cost.read (Inventory); without vendor_item.read the tab is not shown, nor are a product's supplier part numbers or supplier notes. |
purchase_receipt.read | Admin only (give it through a company role) | See deliveries: the supplier, the purchase order and what was received. Not Sales: a salesperson answers "has it landed" from on hand, available and on order, which name no supplier. A batch's trace names the supplier it came from only to holders of vendor.read. |
vendor_item.manage | Admin only (give it through a company role) | Record and change them. |
vendor_licence.read | Admin only (give it through a company role) | See supplier licences, including the numbers. |
vendor_licence.manage | Admin only (give it through a company role) | Record licences and mark them verified. |
advance_ship_notice.manage | Admin only (give it through a company role) | Record a supplier's shipping notice, cancel one, and start a delivery from one. |
quality_inspection.manage | Admin only (give it through a company role) | Decide a receiving inspection. |
Two splits are worth understanding before you change them.
Reading a supplier and reading what it charges are different. The warehouse
needs the supplier's part number off a carton to put it away; it does not need
the cost. That is why the catalogue has its own read permission and the warehouse
holds it, while vendor_item.manage stays with the people who negotiate.
Approving is not managing. Somebody who can open a supplier account should not also be the person who signs it off for payment. Both are granted to Accounting by default because in a distributor of this size the same team does both — but they are separate permissions precisely so that a company that wants them separated can do it without a code change.
The suppliers list's bulk bar (tick suppliers, or select all that match) uses
the same permissions: each action is offered only to whoever holds the one it
needs — vendor.manage to send for approval, retire, bring back and set terms
or currency, vendor.approve to approve and reject, vendor.hold to hold and
release, vendor_tax_form.request to request W-9s — and every supplier in a
batch goes through the same approval rules, including Allow self-approval,
as one opened on its own.
Sales holds none of these. A salesperson has no reason to open a supplier account, and the person who would is the owner, who is a Manager.
Inbound: shipping notices, inspection, cross-dock
Shipping notices arrive from a person, or from the API
(POST /api/v1/advance-ship-notices) that an EDI provider or a supplier portal
calls. A notice is against one sent purchase order; the supplier's own
reference is unique per supplier, so a resent notice is refused by name rather
than filed twice. EDI 856/855 itself needs a provider, which is a separate
decision (it is a new dependency).
Inspection is switched on per product with Inspect on receipt. Before
turning it on, give every site a bin of storage type quality hold (or
quarantine, or damaged) under Inventory → Locations → Storage: failed goods
are walked there, and a site with none refuses the decision rather than leave
failed stock somewhere it could be sold. A company with a quality department
grants quality_inspection.manage to its own role and takes it off Warehouse.
Cross-dock is the Cross-dock setting under Settings → Apps → Inventory, and needs the task queue. It also needs somewhere to stage: a bin of storage type staging in the site, or the site's packing bench.
Supplier approval
A new supplier is created pending and cannot be named on a purchase order. Moving it to approved goes through the workflow engine, which asks configuration whether a second signature is needed:
- nothing configured — whoever holds
vendor.manageapproves it themselves; - a rule — write one in Settings → Rules against
vendor.submit. The rule sees the supplier's class, currency, payment terms, whether it is 1099 reportable, the state of its W-9 and its class's approval threshold; - the shipped default — accounting approves, because accounting is who pays.
A rejected supplier goes back to pending rather than to nothing: the buyer is still talking to them, and the answer was "not yet".
The supplier's button follows this configuration (round-16 review): it reads
Approve for trading only where the person's submit approves on the spot —
nothing configured, a rule that requires no approval, and no approval authority
routing them — and Send for approval wherever a request would open, whatever
their role holds. With workflow.allow_self_approval off, the sender cannot
sign their own request; the person it waits for approves it on the supplier
record or in Approvals.
Merging two suppliers
Purchasing → Duplicate suppliers lists pairs that look alike. A merge
rewrites every reference both records have — contacts, licences, catalogue rows —
and cannot be undone by editing, which is why it is granted to nobody below
Manager. The entry, the list and the merge all need vendor.merge; without it
the entry is not in the menu. The fields the merge dialog offers a choice for
come from the server's merge registration, so a field added there appears in the
dialog without a release of the screen.
Two merges are refused outright:
- across currencies. Two suppliers billed in different currencies are not one supplier: the bills were raised at the rate on their own day, and there is no rate at which restating them is true.
- into an unapproved record. Merging an approved supplier into one that is not would leave every part number hanging off a record no purchase order can name, which reads as the merge having lost them.
Importing a vendor list
Settings → Import and export → Vendors. Presets are shipped for NetSuite's vendor saved search and the QuickBooks vendor list, so the columns are mapped before anybody starts.
Three columns decide how a re-run behaves:
- External id — the id in your old system. Keep it: a second run of the same
file updates the supplier it created rather than making another one. It and
External source change only through an import (audited as
vendor.external_link_changed); the supplier edit refuses them (409external_link_import_only). The sourceexpense_claimantis the expense claim's alone and is refused everywhere else (403). - Supplier number — kept if the file has one, so the numbers your own staff quote stay the same. Allocated from the sequence when the column is empty.
- Status — exported, never imported. A supplier is approved through the workflow, and a column that set it would be a way round the one control this module exists for.
A supplier's addresses load as Addresses, the same file customers'
addresses use: name the supplier under Supplier external id or Supplier
number and leave the customer columns empty. A row naming both is refused.
Opening balances load as Supplier bills; a row of kind credit is a
supplier credit still open. Coming from SalesGent, your implementation team's
conversion writes all three files.
The supplier catalogue imports as its own file, keyed on your SKU in one column and the supplier's part number in another. It supersedes by default: a row starting today closes whatever was open the day before, which is how a price list becomes a history rather than an overwrite. Load older agreed prices with the effective-from column set and supersession turned off.
What the product watches for
Three signals arrive with this module, all on the daily sweep:
-
A purchase order past the supplier's date. Sent, not all in, and past the date they gave — never the one you asked for. It comes with a drafted email to the supplier asking when the rest will arrive, waiting in Approvals and on the order itself. Nothing is sent until somebody with permission to manage purchase orders approves it, and it goes from the company's own email account. If no email account is connected, approving hands the text back to copy instead.
-
A supplier licence expiring, or already expired. One signal at two severities rather than two signals, because a licence that goes on Saturday is the same problem all week. It comes with a drafted email asking their compliance contact for the current copy — one per supplier per interval, however many of their licences are running out. The licence number is never in the email.
-
A reportable supplier with no W-9 requested. Only the ones nobody has even asked: a form already requested is one somebody is chasing, and a second line about it would be the product nagging about its own reminder. It comes with a drafted email asking their billing contact for the form. Sending it marks the form as requested, which is what ends the reminder. The tax id is never in the email.
With Payables on, a delivery nobody has billed also drafts an email asking their billing contact for the invoice. It names their delivery note and your order number and no amount.
A supplier bill outside your price or quantity tolerance drafts an email to their billing contact too, quoting each line that disagrees — what they charged, what was agreed, and the difference — and asking for a credit note or a corrected invoice. Sending it changes nothing on the bill. Accepting a difference is never drafted for anybody: it stays a decision for somebody holding accept a bill exception, made on the bill itself. The tolerances under Payables decide what counts as outside.
Every one of these waits in Approvals and on the record it is about, goes only when somebody with the permission to do it by hand approves it, and leaves from the company's own email account.
Replenishment suggestions
Purchasing → What to buy lists items that have fallen to the reorder point somebody set for them at a site. Nothing appears there until a reorder point exists, which is the right default for the long tail a distributor stocks.
Reorder points are set per item and site, on the item's Sites tab in Inventory. The same product turns over four times a week in one warehouse and once a month in another; one number for both is a suggestion for neither.
Reorder margin (Settings → Purchasing) starts the suggestion a percentage above the point. It ships at zero, meaning "at the point itself". Raise it where long lead times mean you want earlier warning across the board — though raising the reorder points themselves is the more honest fix, since the margin hides the real number from whoever reads the screen.
A suggestion is rounded up to what the preferred supplier will ship: whole purchase units (a case of twelve), then their minimum order quantity, then their order multiple — all from the supplier's catalogue row for the item. A supplier with no minimum and no pack size is suggested the exact shortfall. Always up, because a reorder exists to stop stock being short.
A purchase order line's expected date comes from that item's own lead time from that supplier, where the catalogue has one, and otherwise from the supplier's.
A release against a blanket order is priced at what the blanket agreed for the item, not today's catalogue price. Typing a price on the line still wins.
Items below their point are also raised as a signal, so somebody is told
rather than having to look, and the assistant can draft the order. Approving
that draft needs proposal.approve_financial, which is granted to no role
out of the box — raising a purchase order commits money, and the permission
is deliberately something you have to decide to give somebody.
Minimums, multiples and reorder points
Minimum and multiple on order lines (Settings → Purchasing → Order constraints) decides what happens when a line is below the supplier's minimum order or off their multiple, by hand or from a suggestion:
- Round up (the default) — the line is raised to the next quantity the supplier will ship, and keeps what was asked for beside it.
- Refuse — the line is refused with the nearest quantity that would do.
- Ignore — the quantity is taken as typed.
Three settings feed suggested reorder points:
- Service level (95% by default; 90 to 99.5) — how sure the point should be of not running out before the delivery arrives, per replenishment cycle.
- Order cycle (14 days) — how much a reorder quantity should cover.
- Demand look-back (90 days) — how far back demand and its spread are read.
Lead time is measured from your own orders and receipts where there are two or more, then the catalogue, then the company default. A connected demand forecast provider (Settings → Integrations) is used in place of the average where there is one; without one the built-in average is used and nothing breaks.
Requisitions, quotes and rebates: who may do what
| Permission | What it allows | Granted to |
|---|---|---|
purchase_requisition.manage | Write, submit and cancel a requisition | Manager, Sales, Warehouse, Accounting |
purchase_requisition.approve | Approve or reject somebody else's | Manager |
request_for_quote.manage | Ask suppliers, record quotes, award | Manager, Accounting |
vendor_rebate.manage | Set up rebate agreements and claim them | Manager, Accounting |
Approving a requisition never lets the asker approve their own, whatever their
role. Ordering one, awarding a quote and Buy for this order on a sales order
also need purchase_order.manage, because each raises purchase orders.
A drop-ship is booked in by whoever books in deliveries
(purchase_receipt.manage), and posting it ships the sales order, so the
receiver also needs order.ship (since 21 October): the goods leave as surely
as from the dock, and the sales order is checked as a shipment is — confirmed,
not held, and every guard asked when goods leave (the customer's licence, the
state's directory).
Supplier performance, and the number people argue about
Purchasing → Supplier performance measures on-time delivery against the date the supplier was promising when the order was sent to them, which the product freezes at that moment and never rewrites.
This matters because there is more than one defensible answer. Measured against a supplier's latest promise, one who slips three times and delivers on the third scores 100%; measured this way, they score 0%. Your supplier will make the first argument. The definition is printed on the screen so the conversation starts from the same sentence, and Revised — how many of those orders had their promised date moved after the supplier had it — is shown beside the rate so the other reading is available rather than hidden.
Two things follow that are worth knowing before somebody queries a number:
- An order raised before this feature shipped has no frozen promise and is left out of the measure entirely, rather than counted as on time or late.
- An order is judged on the date its last delivery arrived, so a supplier cannot improve their score by splitting a shipment.
Quality is deliberately not scored, and neither is price competitiveness. What is shown instead is what the three-way match found the supplier overcharged, which your own data can answer.
Purchase units
Nothing to switch on. What a purchase order line goes on in is set on data you already keep:
- The supplier's price list row (Suppliers → supplier → What they sell you): Purchase unit and Units per purchase unit. Where both are set, a line from that supplier goes on in their case at their size. Get the size right — it is what 3 cases means in singles.
- Packaging levels on the product: mark one default for purchasing. It is the default where the supplier names no unit, and what a transfer between sites proposes.
- The product's purchase unit is the default after that.
Receipts count in the order line's unit, and a bill drafted from a delivery or
an order shows it. purchasing.order_constraints (minimum and multiple) still
rounds in the supplier's unit, as before.