Preparing an ERP extract for a supply chain audit.
The three exports the audit needs, the optional suppliers file and the extra tables worth pulling later, for SAP, Dynamics, Oracle, Odoo or a spreadsheet.
Most supply chain analysis starts with three questions: what do we have, how fast do we use it, and what is coming? All three answers already sit in your ERP. This guide lists the fields to pull for a first supply chain audit, where to find them in the most common systems, how to format the files, and the checks to run before you send them. The same files also work for the manual methods in our playbooks, such as the parts below reorder point morning routine.
For the supply chain audit: three exports
- Stock by item: part number, location, usable quantity on hand and unit cost.
- Consumption history: dated issues or usage by part over the last 4 to 12 weeks.
- Open orders: PO number and line, part number, supplier, open quantity, promised date (blank if unconfirmed) and status.
A suppliers file with lead times helps but is optional.
Export 1: stock by item, field by field
- Part number: the same identifier used on purchase orders. If your system has several (internal, supplier, customer), use the internal one.
- Description: helps people read the result; not used in calculations.
- Location: plant, site or warehouse. If you hold stock in several places, keep one row per item and location rather than a total.
- Usable quantity on hand: stock you can actually consume. Exclude stock in quality inspection, quarantine, on hold or blocked, or give it in a separate column.
- Unit of measure: the unit the quantity is expressed in. It must match the unit used for usage and on purchase orders, or be convertible.
- Unit cost: standard or average cost, in one currency. Needed to rank risks by the value they expose.
- Reorder point and safety stock, if your system holds them. They let you see which parts are below their own trigger.
Export 2: consumption history, field by field
- Part number, matching export 1.
- Location, if you hold stock in several places, so usage is matched to the right stock.
- Date of each issue or shipment, or of each period if your report groups them by week.
- Quantity consumed, in the same unit as stock. Consumption means issues to production or shipments to customers, not transfers between your own locations.
- Window: a fixed period, for example the last 4, 8 or 12 weeks, with the window stated.
Export 3: open purchase orders, field by field
- PO number and line (and schedule line or release, if your system splits lines into deliveries).
- Part number, matching export 1.
- Supplier name or code.
- Open quantity: ordered minus received, in the same unit as stock, or with the unit stated.
- Promised date: the date the supplier confirmed. Leave it blank if the supplier has not confirmed one; do not fill it with the requested date. See promised date.
- Requested date: the date you asked for, as a separate column if you have it.
- Order date: when the line was created, useful later for measuring lead times.
- Status: open, partially received, and so on. Exclude cancelled and fully received lines.
- Ship-to location, if you have several sites, so each order can be matched to the right stock.
Optional: suppliers file
- Supplier name or code, matching export 3, and the planned lead time by supplier or by supplier and part, to compare with what suppliers actually deliver. It helps but is not required for the audit.
Where to find the data in common ERPs
The exact menu path depends on your version and configuration. These are the usual starting points:
- SAP ECC and S/4HANA: stock from MB52 or MMBE; open order lines from ME2M with the WE101 selection parameter (open goods receipts); usage from goods issues in MB51. Our guide on late purchase orders in SAP goes further.
- Microsoft Dynamics 365 Supply Chain Management: the On-hand list for stock; All purchase orders for open lines with their requested and confirmed receipt dates; inventory transactions for usage. See Dynamics 365.
- Oracle Fusion Cloud SCM: item quantities in Inventory Management; purchase order schedules with requested and promised delivery dates; material transactions for usage; OTBI to join them. See Oracle Fusion.
- NetSuite: saved searches on items (on hand by location) and on purchase orders (open lines with expected receipt dates). See NetSuite.
- Epicor Kinetic: a BAQ on part warehouse quantities and another on PO releases with due and promise dates; part transactions for usage. See Epicor.
- Odoo: stock from Inventory reporting, receipts and purchase order lines with expected arrival dates, and Moves History for usage, each exportable from the list view. See Odoo.
- Acumatica: Inventory Summary (IN401000) for available stock by warehouse; purchase order lines with requested and promised dates; inventory transaction history for usage; a Generic Inquiry to join them. See Acumatica.
- SYSPRO: Inventory Query for stock by warehouse; Purchase Order Query for open lines with their due dates; inventory movements for usage; export each to Excel. See SYSPRO.
- A spreadsheet or another system: any file with the fields above works.
Later, for deeper analysis
- Goods receipts for the last 12 months.
- Sales / shipments for the last 24 months.
- Item master: unit, lead time, safety stock, supplier.
- Freight invoices with shipment references.
Goods receipts let you measure real lead times against the ERP setting; see why your ERP lead times are probably wrong. The item master lets you check reorder points and safety stock. Shipment history and freight invoices support the cost analysis in where mid-market supply chains leak money.
Format
CSV or Excel, one file per object. Before analyzing anything, WERISCO shows which fields are missing or inconsistent, and what that blocks.
Formatting rules that save time
- One header row, with clear column names. No merged cells, no subtotals, no blank rows in the middle.
- One row per record: one item and location in export 1, one issue or one item and period in export 2, one order line or schedule line in export 3.
- Dates in one format, ideally year-month-day, and no text such as "ASAP" or "TBD" in date columns. Leave unknown dates blank.
- Numbers as numbers: no units inside the cell, one decimal separator, no thousands separators that turn numbers into text.
- Keep leading zeros on part numbers. Excel often strips them; export as text or check after opening.
- State the extraction date and the usage window in the file name or a note.
Checks to run before you send the files
- Do part numbers match across the three files? Pick a few open order lines and find their parts in the stock and consumption files.
- Are units consistent? A part stocked in meters and bought in rolls needs a conversion.
- How many promised dates are blank? Many blanks usually mean confirmations are not being entered, which is itself a finding.
- Are there negative stock quantities? They point to posting timing or process issues.
- Are there items with stock but no usage? Check whether they are slow movers or whether usage is not being recorded.
- Is anything sensitive included that does not need to be, such as prices you prefer not to share? Leave it out; ask what is required.
Common mistakes
- Totals instead of rows. A total per item hides which location is short.
- Requested date in the promised date column. It makes unconfirmed orders look confirmed.
- Usage from the wrong movements. Transfers between your own sites are not consumption.
- Including blocked stock as usable. It makes cover look longer than it is.
- Different extraction dates for the three files. Pull them on the same day.
Questions people ask
How much usage history do we need?
For the audit, 4 to 12 weeks is enough to compute an average daily usage. Longer history is useful later for variability and lead times.
What if we cannot get usage from the ERP?
Send the stock and open order exports anyway. Without usage, days of cover cannot be computed for those items, and they will be flagged as a data gap rather than guessed.
Do we need IT to produce these exports?
Usually not. Most buyers and planners can run these reports themselves. IT helps if you want them scheduled.
Where WERISCO fits
For a supply chain audit, WERISCO works from these three exports, plus the suppliers file if you have one. A direct connection is also possible: the Odoo connector is validated in our lab, the SAP S/4HANA connector is validated against SAP's sandbox (preview), and the Oracle Fusion and Microsoft Dynamics 365 connectors are built but not yet validated on a customer environment. Other ERPs work through exports. Nothing is written back to your ERP. See integrations.
One supply-chain shock, decoded in numbers, and what a data-driven plant does about it.
