
H-E-B 852 Scan Base Trading Product Activity Data
H-E-B · X12 004010
The H-E-B 852 is the product activity report a retailer sends with sales and inventory by item and location.
H-E-B’s published 852 specification, rendered as an interactive guide. Expand any segment to see its elements, data types, lengths and accepted codes — then validate your own document against it below.
Specification
10 of 10 segments
HEADING
ST
Transaction Set Header ST
pos 010
Optional
max —
XQ
Reporting Date Action XQ
Use of code F or G in XQ01 requires the supplier to advise the distributor/warehouse of replenishment quantity usually via Transaction Set 855 (Purchase Order Acknowledgment).
pos 020
Required
max —
N1 Looprequired
N1
Name N1
pos 060
Required
max —
N9
Reference Identification N9
pos 130
Optional
max —
DETAIL
LIN Looprequired
LIN
Item Identification LIN
This segment is required except when only sending pre-assigned purchase order numbers in the XPO segment.
Effective with the UCS version coinciding with the UCC-published sunset date (2005) for the discontinuation of the use of 12-digit product identifiers, the qualifier UA (U.P.C./EAN Case Code) (2-5-5) in DE235 will be marked as not used and will be replaced with the qualifier UK (U.P.C./EAN Shipping Container Code) (1-2-5-5-1). The corresponding 14-digit product code will be reflected in DE234. This parallels the global transition to the 14-digit and UCC/EAN product identification numbering structure. In preparation for this transition, the UK qualifier and the corresponding 14-digit product code would be communicated in LIN04 and LIN05, respectively.
pos 010
Required
max —
CTP
Pricing Information CTP
pos 020
Required
max 25
ZA Looprequired
ZA
Product Activity Reporting ZA
For WINS applications, when ZA01 contains code QI (Quantity in Transit), QR (Quantity Received), or QS (Quantity Sold), ZA06 should contain code SI (Shipper's Identifying Number for Shipment (SID) and ZA07 should contain the shipment number. When ZA01 contains code QT (Adjustment to Inventory Quantity) or PA (Production Quantity Adjustment), ZA06 should contain code BP (Adjustment Control Number) and ZA07 should contain the adjustment control number.
When specifying additional demand quantities, use code QD (Additional Demand Quantity) in ZA01, code 002 (Delivery Requested) in ZA04, and the delivery requested date in ZA05. Send one ZA segment to request a single delivery of additional demand quantities, and multiple ZA segments for incremental deliveries of additional demand quantities.
When ZA01 contains code QD (Additional Demand Quantity), the G95 loop may be used to identify an associated promotion and its start and end dates.
When ZA01 contains code QW (Quantity Withdrawn from Warehouse Inventory) and is used to define the portion of warehouse withdrawals pertaining to a promotion for a specific product, the quantity should be placed in the G95 segment in G95_04.
When ZA01 contains code QT (Adjustment to Inventory Quantity) or PA
(Production Quantity Adjustment), negative quantities should be preceded by a minus sign.
ZA04 is used to specify timing of delivery of product when ZA01 contains code QD (Additional Demand Quantity).
pos 080
Required
max —
SDQ
Destination Quantity SDQ
pos 110
Optional
max —
SUMMARY
CTT
Transaction Totals CTT
pos 010
Required
max —
SE
Transaction Set Trailer SE
pos 020
Optional
max —
Validate your 852
Paste or upload a document and check it against H-E-B’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on H-E-B’s 852 in days, not months
Connect this guide to your accounting system and test with H-E-B yourself, or leave the mapping and the test cycle to us, at no extra charge.