Pivot AI LabCase study · Wine distribution, South Africa

AI order intake: from any purchase order to a validated Business Central sales order.

Published 7 October 2026

Pivot Partners built an AI order intake tool for a leading South African fine-wine distributor. It turns customer purchase orders in any format into draft sales orders in Microsoft Dynamics 365 Business Central: a language model reads the document, deterministic checks price every line from Business Central and flag every exception, and a person confirms. In controlled live use since October 2026.

ClientFine-wine and spirits distributor, South Africa
Our roleDiscovery, prototype, product design, engineering, data integration, rollout
ERP and dataMicrosoft Dynamics 365 Business Central, Microsoft Fabric
AIModel-agnostic LLM document extraction via OpenRouter, vision-capable
Built withNext.js, hosted on Vercel
TimelinePrototype approved June 2026, controlled live use from 2 October 2026
Order review screen of the AI order intake tool: seven extracted lines matched to the catalogue with confidence badges, each showing the purchase order price beside the Business Central price, and a validation panel listing the price differences for a person to decide.
Every line matched to the catalogue and priced from Business Central, with each purchase-order price shown against the ERP price. All screens on this page are from the live application, captured in October 2026 with customer, product and price data replaced by demo values.

Why was order capture a problem?

The distributor supplies national retail chains, independent liquor stores, restaurants, hotels and lodges across South Africa, and each customer sends purchase orders its own way: portal PDFs, scanned pages, email attachments, screenshots, lines typed into an email. The orders team re-keyed every line into Business Central by hand.

That is slow, and the errors that slip through are expensive: a case priced as a bottle, a deal price that has expired, a vintage that is out of stock. With hundreds of products, two dozen customer price lists and orders that run to 40-plus lines, a small slip on one line is easy to miss and costly to unwind.

What did Pivot Partners build?

A web tool that sits between the inbox and the ERP. A rep picks the customer, drops in the purchase order, confirms every flagged line, and a draft sales order lands in Business Central with the original document attached. Five steps.

1

Customer

The rep searches the Business Central customer list and picks the account. Address, payment terms, warehouse and price group come from Business Central and are locked.

Step one of the order intake tool: a customer search box with matching Business Central accounts listed beneath it.
Customers are picked from Business Central, never typed.
2

Order source

Upload the purchase order, paste a screenshot or the order text, or reorder from that account's history.

Order source step: the selected customer confirmed from Business Central, three ways to bring in the order (upload a document, paste text, enter manually) and a list of that customer's previous orders to reorder from.
Upload, paste, type, or reorder from history.
3

AI processing

A vision-capable language model reads the document, scanned and image-only pages included, and returns the order header and every line: description, quantity, unit and the price shown on the document.

4

Review

Each line is matched to the live product catalogue with a confidence score, priced from the customer's own Business Central price group, and checked against stock, allocations, units of measure and vintages. Low-confidence matches are resolved in the row with a search over the catalogue. Every exception sits in one panel, and Submit stays locked until each one has been actioned.

Order review screen with the inline product search open on a line: suggested matches ranked by confidence score, and a search box that filters the live catalogue as the user types.
Suggested matches ranked by confidence, with a search over the live catalogue for anything the rep wants to change.
Order review screen after every price flag has been resolved: the validation panel reads Ready, two vintage notes remain as advisories, and the Review and Submit button is enabled.
Submit unlocks only when every blocking flag has been actioned; advisory notes stay visible.
5

Submit

A draft sales order is created in Business Central through its API, with the source document attached and notes carried across as comment lines. The order number is shown only once every line has posted or genuinely failed.

Submit step: an order summary showing the customer, customer number, purchase order reference, warehouse, salesperson and payment terms from Business Central, the seven priced lines and the total, above the button that creates the draft sales order.
The final check before the draft sales order is written to Business Central.

How does AI read purchase orders without templates?

The model does not know in advance which retailer sent the order or what the page looks like. It reads the document as a person would and returns the same structured result every time, so there are no per-customer templates to build or maintain. The tool is model-agnostic: the model can be swapped on cost, speed or accuracy without a rebuild.

Where is the AI deliberately not used?

This is the part Pivot Partners would build the same way again. The AI reads. Everything that decides money or stock is deterministic, explainable and testable, and a person has the final say.

DecisionRuleSource of truth
Product matchFuzzy text similarity with confidence bands. Low-confidence lines go to a person. No product code is ever invented.Live catalogue
PriceAlways the customer's price group, priced fresh on every order. Any difference from the purchase order, even a few cents, is flagged and the rep chooses.Business Central
Case versus bottleWhen the ratio between the document price and the ERP price equals the pack size, submission is blocked and the corrected figure is offered.Item card
Unit of measureValidated against the item card, so a unit the ERP would reject cannot be chosen.Business Central
Reporting-only itemsFiltered out and never matchable.Business Central
SubmissionDuplicate-proof. A retry cannot create a second order.Business Central API

The AI does the reading. Business Central and a person stay accountable for price and stock.

How was it delivered?

Pivot Partners started with a clickable prototype and tested it with the orders team before writing any integration code. Two rounds of changes later it was formally approved in June 2026, so the production build started from a flow people had already used.

Production ran from June to August 2026: a Next.js application that reads Business Central data from daily feeds in Microsoft Fabric and writes draft sales orders back through the Business Central API. Testing ran on a Business Central test company first, then on real orders against live data. On 2 October 2026 the tool entered controlled live use, ring-fenced to two national retail accounts and a small group of reps.

Most of the hard problems were in the data, not the AI

Price lists with no unit of measure on most rows. Items that exist only for reporting. Blank vintages that Business Central silently rejected. The model read the documents well from the start; the real work was making the ERP data trustworthy enough to act on. Some fixes were code. Others came from the client's own data team publishing what was missing. We fixed the data with them, not around them, which is why the tool keeps working after we step back.

Status, October 2026

The tool is in controlled live use. Pivot Partners will add measured figures once the controlled phase has run long enough to report them honestly. One early result stands: during testing on real purchase orders, the case-versus-bottle check caught a line priced per bottle on a case quantity before it reached the ERP. One check, one avoided shortfall.

Questions we get asked

Can AI read purchase orders in different formats without templates?

Yes. A vision-capable language model reads PDFs, scans, screenshots and pasted text with no per-customer templates, so a new customer format needs no new code.

Does the AI set prices?

No. Prices come from the customer's price group in Business Central. The AI reads the price on the purchase order only so that any difference can be flagged for a person.

Does it work with Microsoft Dynamics 365 Business Central?

Yes. It reads customers, products, prices, units and stock from Business Central via Microsoft Fabric, and writes draft sales orders back through the Business Central API.

Have a process your team re-keys by hand?

Order capture is one example. The same shape, an AI that reads and rules that decide, fits invoices, delivery notes, supplier price updates and most of the paperwork that still gets typed into an ERP. If there is a process like that in your business, we should talk.

Read the Port2Port hybrid search case study

Start a conversation More from the AI Lab AI implementation in South Africa