One carton left in stock, and two buyers ordering it at once.
One stock count for SAP, branches and online sales
Dahn Trading (example): a distributor on SAP S/4HANA, selling from DC Jeddah through a B2B portal, a website, a wholesale desk and a branch.Before and after
The first click wins
No rule protects the last carton, and the portal and website sell from a stock copy taken at 02:00. The desk saves a walk-in's order 0.2 seconds earlier, SAP confirms it, and your key account's order waits for Wednesday. At 12:40 the account manager calls to apologise.
Your rule decides, in every channel
Your team sets the rule once in SAP's product allocation, and your portal and website ask SAP's availability check live, with your allocation rule, instead of a 02:00 copy. The key account is confirmed, the desk offers its walk-in Wednesday at once, and every channel shows the new count with the time it was read.
- Key account, B2B portal
- 9,120 confirmed
- Walk-in, wholesale desk
- Confirmed for Wednesday
- Why
- Key-account allocation, in SAP
- Portal and website stock
- Read live from SAP, 12:04:12
What it reads, writes and never touches
- Asks SAP before any channel promises a carton
- Shows each channel its count, and when it was read
- Queues orders while SAP is down, sends each once
Stock at DC Jeddah, your allocation rule, delivery priorities and each order's confirmed date
Portal and website orders, saved in SAP as sales orders through its standard interface, each once
Your rule and your stock figures. SAP stays the record; your team sets the rule there.
How it works, step by step
- 112:04:10 · demo time
Read the rule from SAP, not a copy
Before anyone orders, the count and the rule come straight from SAP's product allocation. No channel works from last night's copy.
Read from SAP- Product
- Dahn al-Oud 12 ml, carton of 24 · DA‑12‑24
- Price
- 9,120 per carton, excl. VAT
- Stock at DC Jeddah
- 1 carton
- Key-account allocation
- 1 left today
- Walk-in allocation
- 0
- 212:04:11 · demo time
Check both buyers against the rule
The desk asks first, for a walk-in. Your key account orders 0.2 seconds later. Arrival order does not decide; the allocation does, inside SAP's own availability check.
The two orders- Desk · walk-in · 12:04:11.1
- allocation 0 → Wednesday's delivery
- Key account · portal · 12:04:11.3
- allocation 1 → confirmed, delivery Tuesday
- Key account's order
- SAP sales order 1000012873
- 312:04:12 · demo time
Update every channel, offer a date
Each channel shows what its own customers can buy, with the time it was read. The desk does not apologise; it offers a real date, or a transfer from the branch.
What each channel shows- B2B portal · key accounts
- 0, updated 12:04:12
- Website · retail
- 0, available Wednesday
- Wholesale desk
- 0, available Wednesday
- Branch · Al Rawdah
- 3, its own stock
- Other option for the desk
- a transfer of 1 from Al Rawdah, tomorrow 09:00
Rules you set
Values are examples from the demo
Connect or build
Connect to yours
On SAP S/4HANA we use SAP's standard sales-order and stock interfaces and its product allocation, part of its advanced availability check. On older SAP (ECC), or without that check, we use the availability rules you already have, or keep the rule in what we build; which one fits is settled at the start.
Or we build it
If you have no ERP, or one that can't hold a rule like this, we build what is missing.
Oracle, Microsoft Dynamics and Odoo connect through the interfaces they offer; which ones yours has is checked at the start. Each system is reached through a technical user your IT creates and can revoke.
The questions that decide it
Does it replace SAP?
No. SAP stays the record of stock. The system reads it and makes every channel follow it, instead of each channel keeping its own copy.
Who decides who gets the last carton?
Your team, through the rule set in SAP. The system never overrides SAP; it shows the rule in every outside channel and gives the other buyer a date at once.
What happens while SAP is down?
As in the demo, orders are received and wait in line. When SAP is back they are sent in the order they arrived, each one once, even if the network retried it, and the same rule decides.
Does it replace SAP?
No. SAP stays the record of stock. The system reads it and makes every channel follow it, instead of each channel keeping its own copy.
We don't use SAP. Does it still work?
The demo uses SAP S/4HANA's standard sales-order and stock interfaces. Other ERPs, such as Oracle, Microsoft Dynamics and Odoo, connect through the interfaces they offer; which ones yours has is checked at the start of a project. If you have no ERP, or one that can't do this, we can build one.
What happens while SAP is down?
As in the demo, orders are received and wait in line. When SAP is back they are sent in the order they arrived, each one once, even if the network retried it.
Is this a real company?
No. Dahn Trading and its figures are an example. SAP is simulated, with SAP's real interface names and document number ranges.