Demo

Illustrative example - not a client. All companies, people and numbers are made up.

Purchase order.

A shortage ahead becomes an approved order that the supplier has confirmed line by line. Code drafts the need and checks price, limit and repeats; the owner approves above 200,000 UAH. AI reads the confirmation, small print included, and code compares it with the order.

Company
Demo Manufacturer LLC
Starts when
Stock will fall below its minimum
How often
Every working day, one run per order
Select a step to open its card. The table below lists every step in order.

Steps

Steps in order

#StepDone byToleranceRollout stage
1Code drafts a request for parts Reordering rules and need checks · Automation, no AIAny quantity below the minimum and 2 more5
2Purchasing manager completes the request Purchasing managerThe need rounded up to a full package and 2 more5
3Code checks the request and the limit Order checks · Automation, no AIPrice within 0.5 % of the agreed price and 6 more5
4Owner approves the order OwnerLimit 200,000 UAH an order, tax included and 1 more6
5Purchasing manager sends the order Purchasing managerExact and 1 more5
6Supplier confirms the order SupplierNo check at this step2
7AI agent reads the confirmation Confirmation agent · AI agentNo check at this step2
8Code compares confirmation and order Confirmation checks · Automation, no AIPrice within 0.5 % of the order line and 5 more2

Rollout stage: 2 · AI agent on supplier invoices; 5 · Orders, stock, serial numbers and production; 6 · Month-end close and approvals.

Before

How it was done before

The stock sheet in Google Sheets was read once a week and orders went out as letters. A confirmation was opened only to see that it came.

Where it breaks without control

  • The supplier confirms at a new price in the small print, and the bill is the first paper anyone compares.
  • One purchase is split into two orders, each a little under the owner's limit.
  • The same part is ordered twice, once from the stock list and once for a production order.
  • A part that needs an end-user statement is ordered without one, and the goods cannot move.

Controls

What is checked, and who signs

Checks

StepCompared withToleranceOn a difference
1 · Code drafts a request for partsStock on hand plus coming less needed against the minimum; each need against the requests and orders already open for the partAny quantity below the minimum; each need covered once; goods in the hold place and batteries past their 90 days check not counted as stockA need that an open order covers makes no new line. Where no price of the part is valid, Odoo would still take the first supplier on its list and draft a line with no agreed price; our module makes no such line, and the part waits in the exception queue of the purchasing manager until a valid price comes from New supplier.
2 · Purchasing manager completes the requestThe quantity against the need and the supplier's package size; the delivery date against the date needed; the supplier against the other approved suppliers of the partThe need rounded up to a full package; delivery not later than the date needed; the lowest landed costA larger quantity, a later date or a dearer supplier needs a reason on the line; without it our module does not let the request be confirmed.
3 · Code checks the request and the limitPrice against the agreed price of the day; quantity against the supplier's minimum; open orders for the same part; prepayment share; supplier and sanctions result; each flagged line against its end-user document; the order's total with tax, together with the same supplier's other requests of the day, against the limitPrice within 0.5 % of the agreed price; quantity not below the minimum; no open order for the same need; share not above the approved one; supplier approved and cleared by the last screening, not older than the night before; an end-user document asked for or in force for each flagged line; the owner's limit 200,000 UAH at the NBU rate of the dayThe request stays a request for quotation and waits with each difference in the exception queue of the purchasing manager, who corrects it, cancels it or asks for a new agreed price, which the owner approves. A flagged line lets the order be confirmed, but our module keeps it from being sent until the statement is in force. When requests of one day to one supplier pass the limit together, the one that passes it goes to the owner with the earlier ones beside it. Odoo asks for approval from its set amount on, so the amount is set 0.01 above the limit. Odoo converts at the order date, so our module sets that date to the day of the check.
4 · Owner approves the orderThe order's total against the last prices paid and the cash forecastLimit 200,000 UAH an order, tax included; on the rest the owner decidesA refused order goes back to a request for quotation with the owner's reason or is cancelled; a changed one passes step 3 again. The purchasing manager cannot approve it, because in Odoo only a purchase administrator can, and that right is the owner's alone. A later change of supplier, total, currency or share cancels the approval.
5 · Purchasing manager sends the orderThe PDF against the order, the address against the supplier record, the block on sending against the end-user documentExact; no block leftOur module does not send to an address that is not on the supplier record, nor an order that is blocked. The purchasing manager corrects the record or waits for End-user documents.
8 · Code compares confirmation and orderPrice, quantity and date of each line; currency, delivery terms and prepayment; the paper's total against its own lines; the list of conditions outside the tablePrice within 0.5 % of the order line; quantity exact; date not later than ordered; currency, delivery terms and prepayment share exact; total equal to the lines to the cent; no condition outside the table that adds a charge or changes a priceThe order stays not acknowledged and waits in the purchasing manager's exception queue, line by line, with the sentence of the small print. The purchasing manager asks for a corrected confirmation or accepts a later date that production still meets. A new price, quantity or term is accepted only after the owner opens the locked order for a change, and it passes step 3 again. An order with no confirmation by its due date is listed in the same queue.

Duties by role

What the action log records

StepRecordWhat is written
1 · Code drafts a request for partsAgent action logOne line per need, with the figures it was counted from
3 · Code checks the request and the limitAgent action logOne line per check result
7 · AI agent reads the confirmationAgent action logOne line per write, with the old and the new value
8 · Code compares confirmation and orderAgent action logOne line per check result

Connected processes

Where the work comes from and where it goes

Work goes to

ProcessWhat passesAt step
Shipment from a supplierA confirmed order, to be shipped now or after its prepaymentCode compares confirmation and order
Prepayment to a supplier abroadA confirmed order that asks for a prepayment, with its shareCode compares confirmation and order
End-user documentsA request for quotation with a part or a country that has the flagPurchasing manager completes the request
Cash forecastA confirmed order with its amounts, currency and datesCode compares confirmation and order

Work comes from

ProcessWhat passesAt step
New supplierAn approved supplier with prices, terms and a validated accountOwner validates the bank account
Equipment maintenance and calibrationA new tool to buy, or an outside repair to orderOwner decides to keep, repair or replace
Dealer order to confirmationA spare part an order needs that is neither in stock nor on orderCode confirms the order
Demand planNew minimums of B and C parts, and A parts that must be ordered nowCode updates the reordering rules
Production capacity planParts not covered to their production date, with the last day to orderCode finds the day each part runs out
Production capacity planOutside machining the owner approved, with quantity and dateOwner approves overtime or outside work
Engineering changeOpen lines of the old part to change or cancel, and the need for the new oneCode puts the new revision in force
End-user documentsA purchase order that may be sent with its statementCode files the statement, lifts the block

Back to the diagramShow it on the process map

Want this process checked on your data?

Tell us where it goes wrong.

Write to us about this process