Conclusion first: in an edi 852 sales data warehouse setup, most failures have nothing to do with transmission. They live in the stock snapshot. The 852, Product Activity Data, is not a sales story. It is a disciplined report, SKU by SKU and location by location, of how much product moved in a period and how much was left at the end of it. Get a sign wrong, point a location code at the wrong partner location, or freeze the snapshot while the night shift is still putting stock away, and the file will transmit perfectly — and still be wrong. The partner feeds that wrong data into replenishment and reconciliation, and your 846 inherits the error.

I treat the 852 as a translation job: the warehouse translates physical movement into a language the partner's system can reconcile. Below is my go-live eve checklist: what flows back, where the mapping breaks, and how the 852 ties to the 846.

What edi 852 sales data warehouse actually sends back: activity is not inventory

Keep two kinds of data separate. Mixing them is where implementations go soft.

The first is activity. Within the reporting period, how many units of an SKU were sold, returned, transferred out, or adjusted. The 852 distinguishes those movements with activity codes. Which codes you use, and whether the cycle is daily or weekly, comes from the partner's implementation guide — never from habit.

The second is the point-in-time balance. At the end of the period, for that SKU at that location, how much is available, and how much is reserved or otherwise spoken for. Activity is flow. The balance is stock. The two must reconcile by arithmetic: opening balance, plus receipts, minus sales and transfers out, plus returns, plus or minus adjustments, should land on the closing balance. If it does not, do not send the file. Fix the warehouse movement records first.

A concrete case. In 2023 I worked on a go-live at a Midwest 3PL handling household goods for two retail customers. For three weeks the 852 files transmitted successfully and acknowledgments came back clean. Then reconciliation showed one shampoo SKU with sales roughly a third higher than actual outbound shipments. The cause was operational: when returns passed inspection and went back to a pickable location, the mapping routine picked up the availability increase as if it were a second positive activity. The file format was flawless. The business definition behind it was wrong. I have seen this pit three times, and every time "sent successfully" hid "defined incorrectly."

Second case. A small-appliance warehouse kept getting complaints that 852 balances swung up and down. On site, the problem took ten minutes to find: the snapshot was taken at midnight on the clock, while replenishment was still mid-putaway and wave reservations had not yet released. A midnight cut of a warehouse that has not finished its day is a photograph of a moving target. They moved the snapshot to after the business day-close, and the swings largely disappeared. The right snapshot time is not a clock time. It is the moment warehouse work for that day is actually closed.

edi 852 sales data warehouse mapping traps: signs, location codes, and activity codes

Do not validate a mapping by matching field names. Validate these three things.

First, quantity signs and direction. An outbound sale reduces warehouse stock. Whether the 852 carries that as a positive quantity whose direction is implied by the activity code, or in some other signed form, is defined by the partner guide. Adjustments are the classic trap: a count gain adds stock, a loss removes it. If your mapping lifts the absolute adjustment value and the receiving system applies the code's direction again, you subtract twice. Before go-live, hand-calculate five samples — a normal sale, a return to stock, a transfer, a count gain, and a count loss — and check all three sides: WMS movement, the 852 file, and the partner's posted result. All three must agree.

Second, a location code is not a warehouse address. Partners want their own location identifier: a store number, a distribution center code, or an assigned 3PL location code — not your internal aisle label. The failure I see most is the shared building: one warehouse serves two brands, the WMS sees one warehouse, but the 852 must report under two external location codes. If the mapping holds one default, every movement for the second brand posts to the first brand's account. Build a cross-reference — WMS warehouse plus customer plus channel maps to exactly one external code — and hard-stop the file when no match exists.

Third, do not collapse activity codes to save effort. Folding returns into negative sales, or transfers into generic outbound, can make a day's totals look right while destroying the partner's ability to tell what sold from what merely moved between buildings. Their replenishment logic will learn the wrong lesson. Map the extra codes up front; explaining them away later costs far more.

The table below is the reconciliation frame I use on 852 projects. The numbers are a clearly hypothetical worked example, not any company's real figures: assume an SKU opens at 1,000 units, receives 400, sells 350, takes back 20 in returns, transfers 50 out to another warehouse, and loses 5 on a count adjustment. The closing balance must be 1,000 + 400 − 350 + 20 − 50 − 5 = 1,015 units. If the activities in your 852 cannot be reassembled into 1,015, something was missed, double-counted, or signed backwards. Stop the file and find it.

Check WMS source What to confirm on the 852
Sales Outbound confirmation records Activity code and sign direction
Returns Returns inspection back-to-stock Reported separately, not netted into sales
Transfers Inter-warehouse transfer orders Out and in appear as a pair
Adjustments Count and adjustment records Gains and losses carry opposite signs
Closing balance Frozen day-close snapshot Rebuildable from the reported activity

Here is the counter-intuitive trade-off: sending the 852 more often is not better. Hourly files look real-time, but an unfrozen snapshot with unreleased reservations produces numbers that argue with each other, and the partner trusts you less. One file per agreed cycle, sent after day-close, that reconciles cleanly beats ten that do not. Frequency is vanity. Reconciliation is substance.

Reconciling the 852 with the 846: one reports movement, one reports the shelf

Keep the two documents straight. The 846, Inventory Inquiry/Advice, reports what you hold at a point in time — a shelf listing. The 852 reports what happened during a period, plus the closing position. So reconcile them directly: compare the 846 balance at the same cut point, SKU by SKU, with the 852 closing balance. They should match, or every difference needs a written explanation — for example, one includes reserved stock and the other counts only available.

My reconciliation rhythm has three steps. Step one, inside the warehouse: derive the closing balance from WMS movement records and compare it with the frozen snapshot. Step two, across documents: 852 closing against 846 at the same point. Step three, with the partner: pick ten to twenty fast-moving SKUs and ask the partner to return their posted quantities for a side-by-side check. Teams skip step three, yet it is the most valuable, because sign and location-code errors only become visible inside the receiving system.

One more scene. In 2024, before peak season, an apparel warehouse I advised had an 852 and an 846 that matched perfectly on our side. After the partner posted the data, one color-and-size combination came up short. The culprit was units: the warehouse counted pieces, while the partner master for a footwear-adjacent SKU counted pairs, and the mapping had never applied a unit conversion. The quantity was not lost; it was halved by definition, hiding inside a technically valid file. That is why my checklist has a standalone line for unit of measure — each, pair, case, set. Get it wrong once and the whole batch is wrong.

My go-live eve checklist is six items, ticked by hand:

  1. Activity code list confirmed item by item against the partner guide; no invented codes.
  2. Location cross-reference covers every warehouse-plus-customer combination; no match means no send.
  3. Five hand-calculated samples pass, with signs agreeing on all three sides.
  4. Snapshot freeze set after business day-close, never mid-operation.
  5. 852 closing reconciled to 846 at the same point, differences explained in writing.
  6. Unit conversions rechecked, with footwear and apparel singled out for sampling.

Judge an 852 by what happens three months later: whether the partner's replenishment gets more accurate and reconciliation meetings get quieter. Translate the warehouse's movement honestly, and the document does its job. I have seen this pit three times — I would rather you stepped around it the first time.

By Lin Xiao, WMS Implementation Consultant