Stedi maintains this guide based on public documentation from Target. Contact Target for official EDI specifications. To report any errors in this guide, please contact us.
X12 852 Retail Product Activity Data
—
Delimiters
- ~ Segment
- * Element
- > Component
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
N9
040
Heading > N9
Department Number
OptionalMax use >1
—
Usage notes
—
Example
Variants (all may be used)
N9Internal Vendor NumberN9
040
Heading > N9
Internal Vendor Number
OptionalMax use >1
—
Usage notes
—
Example
Variants (all may be used)
N9Department NumberN1 Buying Party (Purchaser)
OptionalMax >1
Variants (all may be used)
Reporting LocationN1
060
Heading > Buying Party (Purchaser) > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
Usage notes
—
- 92
- Assigned by Buyer or Buyer's Agent
N1 Buying Party (Purchaser) end
N1
060
Heading > Reporting Location > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
Usage notes
—
- 92
- Assigned by Buyer or Buyer's Agent
N1 Reporting Location end
Heading end
Detail
LIN Loop
OptionalMax >1
LIN
010
Detail > LIN Loop > LIN
Item Identification
RequiredMax use 1
—
Usage notes
—
Example
If either Product/Service ID Qualifier (LIN-04) or Product/Service ID (LIN-05) is present, then the other is required
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
—
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- EO
- EAN/UCC - 8
- IN
- Buyer's Item Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
—
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- EO
- EAN/UCC - 8
- IN
- Buyer's Item Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
—
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- EO
- EAN/UCC - 8
- IN
- Buyer's Item Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
ZA Loop
RequiredMax >1
ZA
080
Detail > LIN Loop > ZA Loop > ZA
Product Activity Reporting
RequiredMax use 1
—
Usage notes
—
Example
If either Quantity (ZA-02) or Unit or Basis for Measurement Code (ZA-03) is present, then the other is required
—
- QA
- Current Inventory Quantity Available for Shipment or Sale—
- QP
- Quantity On Order, Not Yet Received—
- QS
- Quantity Sold
- QX
- Quantity Requested (Will Override Replenishment Planning)—
SDQ
110
Detail > LIN Loop > ZA Loop > SDQ
Destination Quantity
OptionalMax use >1
—
Usage notes
—
Example
If either Identification Code (SDQ-19) or Quantity (SDQ-20) is present, then the other is required
If either Identification Code (SDQ-17) or Quantity (SDQ-18) is present, then the other is required
If either Identification Code (SDQ-15) or Quantity (SDQ-16) is present, then the other is required
If either Identification Code (SDQ-13) or Quantity (SDQ-14) is present, then the other is required
If either Identification Code (SDQ-11) or Quantity (SDQ-12) is present, then the other is required
If either Identification Code (SDQ-09) or Quantity (SDQ-10) is present, then the other is required
If either Identification Code (SDQ-07) or Quantity (SDQ-08) is present, then the other is required
If either Identification Code (SDQ-05) or Quantity (SDQ-06) is present, then the other is required
ZA Loop end
LIN Loop end
Detail end
Summary
Summary end
EDI Samples
Sample 852
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231005*0118*U*00401*000000001*0*T*>
GS*PD*SENDERGS*RECEIVERGS*20231005*011822*000000001*X*004010
ST*852*00001
XQ*H*20000209*20000215
N9*DP*088
N9*IA*3342078
N1*RL*TARGET*92*0001
N1*BY*TARGET*92*0229
LIN*1*UP*012437891437*CB*063020400*VA*70344
PO4*4*************6
ZA*QS*102*EA
CTP**UCP*9.99
SDQ*EA*92*0551*72*0552*48*0553*12*0554*104*0555*72*0556*120*0557*12*0559*24
CTT*24
SE*13*00001
GE*1*000000001
IEA*1*000000001
GS*PD*SENDERGS*RECEIVERGS*20231005*011822*000000001*X*004010
ST*852*00001
XQ*H*20000209*20000215
N9*DP*088
N9*IA*3342078
N1*RL*TARGET*92*0001
N1*BY*TARGET*92*0229
LIN*1*UP*012437891437*CB*063020400*VA*70344
PO4*4*************6
ZA*QS*102*EA
CTP**UCP*9.99
SDQ*EA*92*0551*72*0552*48*0553*12*0554*104*0555*72*0556*120*0557*12*0559*24
CTT*24
SE*13*00001
GE*1*000000001
IEA*1*000000001
Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.