Routing, Freight & Rack ASN · IN · GS*OR

EDI 816: Organizational Relationships (Store Directory). The retailer's list of store addresses, Global Location Numbers (GLNs), and the distribution center (DC) that serves each store.

01 · At a glance

Plain English vs. X12 specification.

Next: EDI 810 Invoice
Direction & GroupInbound · GS*OR
Partners includeWalmart
Grower RoleSyncs retail store addresses, GLNs & parent DCs
Common issueIgnoring new spring store numbers before 850s arrive
Plain English Grower Operations
Store Master SyncLists new retail store numbers and addresses so you can add them before orders arrive.
DC-to-Store LinksMaps which regional Distribution Center services each garden center.
Effective DatesIncludes store opening, remodel, and seasonal activation dates.
850 Store MatchPrevents inbound 850 POs from failing on unrecognized store IDs.
Common IssueIgnoring inbound 816 updates causes inbound 850 POs for new stores to land in an unmapped exception queue and routes cross-dock 856 advance ship notices (ASNs) to the wrong distribution center.
ANSI X12 / UCS Technical Specification
Functional GroupGS01='OR' (Organizational Relationships), BHT01='0057' (Supergroup, Subgroup, Member).
Parent DC NodeHL*2*1*25 (Regional Distribution Center ID & N1*WH party loop), under the retailer's top node HL*1**24.
Child Store NodeHL*3*2*26 (Retail Store Location linked to Parent DC Node 2).
Address & GLNN1*ST**92*StoreID (or UL*GLN) + N3 street + N4 city/state/ZIP + DTM*007.
Control & ValidationThe sample ends with DTM*007, the date the store directory change takes effect.
02 · Line-by-line X12 specification

X12 segment breakdown & raw sample.

Segment Plain-English Meaning Key X12 Elements
ST*816Organizational Relationships EnvelopeOpens the inbound retail store directory and hierarchy update.
ST01816 (Org Relationships)
GS01OR (Organizational Group)
DirectionInbound Retailer → Grower
BHTStore & DC Hierarchy Update (#ORG-20260414)Timestamps the store directory update (April 14, 2026) and marks it as an original transmission.
BHT010057 (Supergroup, Subgroup, Member)
BHT0200 (Original)
BHT0420260414
HL*1**24Top Node: The RetailerOpens the top node for the retailer itself. Every DC and store in the file is nested underneath it.
HL011 (Top Node)
HL0324 (Supergroup)
RetailerN1*CQ (Corporate Office)
HL*2*1*25Parent Regional Distribution Center #6024Opens the parent node for Regional Distribution Center #6024, which cross-docks and services the stores nested underneath it.
HL01/02Node 2 → Retailer 1
HL0325 (Subgroup)
DC IDN1*WH**92*6024 (Warehouse)
HL*3*2*26Child Retail Store Location (Linked to DC Node 2)Opens a child store location node and links it directly to Parent DC Node 2.
HL01/02Node 3 → Parent DC 2
HL0326 (Member)
HierarchyMaps DC → Store
N1*STGarden Center #1242 Store IdentifierEstablishes the official 4-digit store number (1242) that will appear on future 850 POs and 856 rack labels.
N101ST (Ship-To Store)
N103/0492 / 1242 (Store #1242)
ERP TargetCustomer Ship-To Master
N3 & N4Physical Delivery Address (Alpharetta, GA 30022)Provides the exact street address, city, state, and ZIP code for route planning and GS1-128 rack tags.
N3014800 State Bridge Rd
N4Alpharetta, GA 30022
DTM*007Effective 2026-04-15
01  ST*816*0001~02  BHT*0057*00*ORG-20260414*20260414*0400~03  N1*FR*NATIONAL GARDEN RETAILER~04  HL*1**24*1~05  N1*CQ*NATIONAL GARDEN RETAILER~06  HL*2*1*25*1~07  N1*WH*REGIONAL DC 6024*92*6024~08  HL*3*2*26*0~09  N1*ST*GARDEN CENTER #1242*92*1242~10  N3*4800 STATE BRIDGE RD~11  N4*ALPHARETTA*GA*30022~12  DTM*007*20260415~
Walk through your trading-partner map

Bring your retail EDI requirements to a Thursday.

Book a Grower Thursdays session with John Beauford, our Chief Technology Officer, or Stephen van Wingerden, our Chief Innovation Officer, and bring your retailer's EDI requirements.