What the re-key involves
At 8:30 someone opens the store admin, filters yesterday’s paid orders and starts typing. Each order becomes a sales order in NetSuite, Odoo, SAP Business One or Business Central. Find or create the customer, add each line by SKU, enter the price the buyer paid, add the discount, add shipping as its own line, check the tax, paste the payment reference. Then a tick in a spreadsheet, so the next person knows it is done.
For example, a store with 80 orders a day at about three minutes each spends four hours on this. These are round numbers, not a client’s. On Monday the pile holds the whole weekend. The warehouse cannot pick an order the ERP has not seen, so an order paid at 18:05 waits until somebody types it the next morning.
Why nobody owns it
The re-key usually starts as a stopgap at launch. The store went live before the integration, someone offered to copy orders across for a few weeks, and the few weeks became the process.
It sits between teams. Ecommerce runs the store, finance runs the ERP and operations runs the warehouse, and each assumes the step belongs to one of the others. The rules live in the head of the person who does it. Gift wrap goes to a service item. A coupon goes in as a discount line. Marketplace orders are skipped because another connector brings them in. When that person is on leave, orders wait or someone guesses.
The errors it makes
Hand entry fails in predictable ways. A SKU is transposed and the warehouse picks the item next to it. The ERP reprices the line from its own price list, so the invoice disagrees with what the card was charged. The ERP recalculates tax line by line and lands a paisa or a penny away from the store total. Two people work the same filter and the order goes in twice. An order cancelled at 9:15 was entered at 8:50, and nobody reverses it.
Most of these surface at month-end, when finance reconciles payouts against invoices and finds a gap with no trail.
Automate order entry: what a trigger does instead
Shopify, BigCommerce and WooCommerce can each send a webhook when an order is created or paid. That event is the trigger. Put it on a queue first, so a slow ERP or a deploy does not lose orders.
Map the order the way the person did, with the rules written down. Match the customer on email or account number. Match each line on SKU. Send the charged price as the line price so the ERP does not reprice it, and send shipping and discounts as their own lines. Send tax as charged, with the ERP’s tax code beside it.
Check before writing. Every SKU must exist in the item master, the order total must match the payment to the smallest currency unit, and a customer on credit hold goes to a person. When a check fails, alert a named person with the order number and the reason.
Retries need a limit. Retry a timeout or a locked record a few times over ten minutes, then park the order and alert. A validation error, such as an unknown SKU, will fail the same way on every retry, so it goes straight to the person. Cash-on-delivery orders need a rule of their own. Many stores send them to the ERP at once so the warehouse can pick, and post the payment when the courier remits it.
Write the sales order with the store order number as its external reference. NetSuite has an external ID field, Odoo has the customer reference on the sale order, and Business Central has the external document number. A replay then finds the existing order and does not create a second one. Write the ERP document number back to the store order, so support can see it without opening the ERP.
Cancellations, edits and refunds are separate events with their own mapping. Leave them out and the re-key comes back in a smaller form.
Run both for two weeks
For the first two weeks the integration writes the orders and the person who used to type them checks each one. Each morning, compare the count of paid store orders with the count of ERP sales orders that carry a store reference, and compare the totals for the day. Any difference goes to the alert owner with the order number.
Make the person who did the re-key the owner of the alerts. They know the exceptions better than anyone, and their morning becomes a ten-minute review of the orders that failed a check. Our workflow automation work starts from that list of rules, and the ERP side uses the same mapping we describe under ERP integration.





