Dealer order to confirmation.
An order from any of seven sources becomes one confirmed sales order with stock or production behind it. The AI agent reads letters, files, calls and chats; code runs the same checks on every order; the sales manager reviews, and the owner releases what is above the credit limit.
- Company
- Demo Manufacturer LLC and Demo Manufacturer US Inc.
- Starts when
- A dealer's order arrives from any source
- How often
- Every working day, one run per order
The diagram goes on to the side. Drag it, or use the two buttons.
Steps
Steps in order
| # | Step | Done by | Tolerance | Rollout stage |
|---|---|---|---|---|
| 1 | Order arrives from one of seven sources Selected | Dealer | No check at this step | 5 |
| 2 | Code puts every order into one queue Selected | Order intake · Automation, no AI | Exact | 5 |
| 3 | AI agent reads the order into a draft Selected | Order agent · AI agent | No check at this step | 5 |
| 4 | Code runs the same checks on every order Selected | Order checks · Automation, no AI | Price exact to the cent, or a discount of at most 5 % per model over all its lines and 5 more | 5 |
| 5 | Sales manager reviews the order Selected | Sales manager | None - the person decides | 5 |
| 6 | Owner releases order or asks for payment Selected | Owner | None - the owner decides, order by order | 5 |
| 7 | Code confirms the order Selected | Order confirmation · Automation, no AI | Lines, prices and quantities exact and 3 more | 5 |
Rollout stage: 5 · Orders, stock, serial numbers and production.
Before
How it was done before
Orders from letters and calls were typed into a Google Sheet in Ukraine, store orders into QuickBooks Online in the US. Stock and debts were asked about in chat before a unit was promised.
Where it breaks without control
- A dealer phones an order in and sends the same order by letter, and it is built and shipped twice.
- Two orders of one dealer on one day are each inside the credit limit and together above it.
- A quotation is accepted on the portal and the dealer's own purchase order for it comes as a new order.
- The certificate covers the state of the dealer, and the units go straight to another state.
Controls
What is checked, and who signs
Checks
| Step | Compared with | Tolerance | On a difference |
|---|---|---|---|
| 2 · Code puts every order into one queue | The number at the source and the fingerprint of each file against the items already in the queue; the count of new items at each source against the items taken plus the items skipped | Exact | An item already in the queue is skipped and the log says so, so reading a source twice makes no second order. A source that does not answer, or whose count does not agree, is shown to the sales manager as not read, never as a source without orders. |
| 4 · Code runs the same checks on every order | Each value against its place in the source; the dealer's state, last screening and stop; each price against the price list of the dealer, the accepted quotation or the signed tender pack; open invoices, confirmed orders, orders waiting and this one against the credit limit; stock and production against the date; all orders of the dealer from any source; FCC record and certificate for the US | Price exact to the cent, or a discount of at most 5 % per model over all its lines; sum at the rate of the day inside the credit limit, waiting orders counted in the order they arrived; no order with the same dealer number, accepted quotation, or models and quantities in the last 7 days; dealer active, cleared by the last screening, not older than the night before, no stop; for the US an FCC record on each line with a product that needs one, and a certificate in date for the state of delivery; each value found at its place | The order stays a draft in the sales manager's exception queue with each difference in plain words; a possible repeat stands beside the first order. A missing FCC record, a certificate out of date or for another state, a possible match or a stop cannot be lifted in this process. Odoo's own credit warning counts posted invoices, confirmed orders and this one, and stops nothing, so our module counts the waiting ones too and blocks. A page with no text layer is shown to the person beside the value. |
| 5 · Sales manager reviews the order | The draft against the letter, file, recording or message of the dealer | None - the person decides | The sales manager corrects model, quantity, place or date from the source, or asks the dealer with a prepared letter. A corrected order goes through step 4 again. The sales manager cannot type another price, cannot give more than 5 % without the owner, and cannot lift a hold. A real second order that looks like a repeat goes on with a written reason. An order that asks for more than 5 % is answered with a quotation in Dealer quote, where the owner decides. |
| 6 · Owner releases order or asks for payment | Overdue invoices and promised dates of the dealer, against the sum the order adds above the limit | None - the owner decides, order by order | Without the release our module refuses to confirm the order. Payment first keeps it a quotation; the sales manager sends the prepared request, and it goes on when the money is found in Bank reconciliation, or for a card or ACH payment in Stripe payout match. A changed line or sum cancels the release, and a release never raises the limit itself. Odoo would confirm a quotation paid on the portal by itself and send its own letter; our module keeps it a quotation until step 7. |
| 7 · Code confirms the order | The order now against the version accepted or released; what the dealer owes after orders confirmed since the check, the orders of one dealer confirmed one after another; each line against stock not taken by an earlier order, a draft production order, goods on the way from Ukraine, or a purchase request with its date; the dealer's state, stop, last screening, certificate and FCC records at this moment | Lines, prices and quantities exact; sum still inside the limit or the release; every line covered for its date; no stop, no possible match, certificate and records in date | The order stays a quotation and returns to the sales manager's exception queue with what changed. Two orders accepted in the same minute are not confirmed together; the second sees the first and goes to the owner when both are above the limit. A line with no stock and no free week gets another date, agreed with the dealer before the confirmation. A stop, a match or a certificate that ended since the check returns the order to the same queue. |
Duties by role
What the action log records
| Step | Record | What is written |
|---|---|---|
| 2 · Code puts every order into one queue | Agent action log | One line per item taken or skipped |
| 3 · AI agent reads the order into a draft | Agent action log | One line per write, with the old and the new value |
| 4 · Code runs the same checks on every order | Agent action log | One line per check result |
| 7 · Code confirms the order | Agent action log | One line per order confirmed or held |
Connected processes
Where the work comes from and where it goes
Work goes to
| Process | What passes | At step |
|---|---|---|
| Order picking and delivery | A confirmed order with its delivery order | Code confirms the order |
| Production capacity plan | A unit an order waits for, with its promised date | Code confirms the order |
| Purchase order | A spare part an order needs that is neither in stock nor on order | Code confirms the order |
| End-user documents | An order line whose product or country needs an end-user statement | Code confirms the order |
| Sale from Ukraine to the US company | A shortage of the US company, for the sales manager | Code confirms the order |
Work comes from
| Process | What passes | At step |
|---|---|---|
| Dealer quote | A letter that is an order, not a request | Sales manager reviews and sends the quote |
| Dealer quote | An accepted quotation with its number, version and prices | Code closes the quotation |
| Public tender | A won tender with its signed pack, as a one-off order | Tender buyer publishes the result |
| Collecting overdue invoices | The stop on the dealer, or its end | Owner stops deliveries or gives time |
| New dealer | An active dealer with its credit limit and portal access | Code opens the dealer |
| Dealer question answered with sources | An order by letter or message | Sales manager passes it on |
| Change to an AI agent | The version of the order agent in use | System administrator switches the agent |
Want this process checked on your data?
Tell us where it goes wrong.