X12 Release 3040
Delimiters: ~ Segment * Element > Component
Certified March 27, 2024
The Home Depot

X12 852 Product Activity Data

This Draft Standard for Trial Use contains the format and establishes the data contents of the Product Activity Data Transaction Set (852) for use within the context of an Electronic Data Interchange (EDI) environment.
ISA
Interchange Control Header
Required
Max Use 1
To start and identify an interchange of one or more functional groups and interchange-related control segments
ISA01
I01
Authorization Information Qualifier
Required
ID
Min 2 Max 2
Code to identify the type of information in the Authorization Information.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA02
I02
Authorization Information
Required
alphanumeric (AN)
Min 10 Max 10
Information used for additional identification or authorization of the sender or the data in the interchange. The type of information is set by the Authorization Information Qualifier.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA03
I03
Security Information Qualifier
Required
ID
Min 2 Max 2
Code to identify the type of information in the Security Information.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA04
I04
Security Information
Required
alphanumeric (AN)
Min 10 Max 10
This is used for identifying the security information about the sender or the data in the interchange. The type of information is set by the Security Information Qualifier.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA05
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA06
I06
Interchange Sender ID
Required
alphanumeric (AN)
Min 15 Max 15
Identification code published by the sender for other parties to use as the receiver ID to route data to them. The sender always codes this number in the sender ID element.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA07
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA08
I07
Interchange Receiver ID
Required
alphanumeric (AN)
Min 15 Max 15
Identification code published by the receiver of the data. When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA09
I08
Interchange Date
Required
date (DT)
Min 6 Max 6
Date of the interchange.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA10
I09
Interchange Time
Required
time (TM)
Min 4 Max 4
Time of the interchange.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA11
I10
Interchange Control Standards Identifier
Required
ID
Min 1 Max 1
Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA12
I11
Interchange Control Version Number
Required
ID
Min 5 Max 5
This version number covers the interchange control segments.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA13
I12
Interchange Control Number
Required
numeric (N0)
Min 9 Max 9
This number uniquely identifies the interchange data to the sender. It is assigned by the sender. Together with the sender ID it uniquely identifies the interchange data to the receiver. It is suggested that the sender, receiver, and all third parties be able to maintain an audit trail of interchanges using this number.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA14
I13
Acknowledgment Requested
Required
ID
Min 1 Max 1
Code sent by the sender to request an interchange acknowledgment.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA15
I14
Test Indicator
Required
ID
Min 1 Max 1
Code to indicate whether data enclosed by this interchange envelope is test or production.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA16
I15
Subelement Separator
Required
alphanumeric (AN)
Min 1 Max 1
This is a field reserved for future expansion in separating data element subgroups. (In the interest of a migration to international standards, this must be different from the data element separator).
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS
Functional Group Header
Required
Max Use 1
To indicate the beginning of a functional group and to provide control information
GS01
479
Functional Identifier Code
Required
ID
Min 2 Max 2
Code identifying a group of application related Transaction Sets.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS02
142
Application Sender's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party sending transmission. Codes agreed to by trading partners.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS03
124
Application Receiver's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party receiving transmission. Codes agreed to by trading partners.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS04
373
Date
Required
date (DT)
Min 6 Max 6
Date (YYMMDD).
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS05
337
Time
Required
time (TM)
Min 4 Max 8
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS06
28
Group Control Number
Required
numeric (N0)
Min 1 Max 9
Assigned number originated and maintained by the sender.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS07
455
Responsible Agency Code
Required
ID
Min 1 Max 2
Code used in conjunction with Data Element 480 to identify the issuer of the standard.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS08
480
Version / Release / Industry Identifier Code
Required
alphanumeric (AN)
Min 1 Max 12
Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments. If code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user). If code in DE455 in GS segment is T, then other formats are allowed.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ST
Transaction Set Header
Required
Max Use 1
To indicate the start of a transaction set and to assign a control number
ST01
143
Transaction Set Identifier Code
Required
ID
Min 3 Max 3
Code uniquely identifying a Transaction Set.
852
X12.52 Product Activity Data
ST02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
XQ
Reporting Date/Action
Required
Max Use 1
To specify reporting date and action to be taken
XQ01
305
Transaction Handling Code
Required
ID
Min 1 Max 1
Code designating the action to be taken by all parties.
H
Notification Only
XQ02
373
Date
Required
date (DT)
Min 6 Max 6
Date (YYMMDD).
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
XQ03
373
Date
Required
date (DT)
Min 6 Max 6
Date (YYMMDD).
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
XPO
Preassigned Purchase Order Numbers
Required
To transmit preassigned purchase order numbers
Syntax Notes
If any of XPO03 or XPO04 are present, then all are required.
XPO01
324
Purchase Order Number
Required
alphanumeric (AN)
Min 1 Max 22
Identifying number for Purchase Order assigned by the orderer/purchaser.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

N1 loop

Required
Min Items
Max Loop 200
N1
Name
Required
Max Use 1
To identify a party by type of organization, name and code
Syntax Notes
At least one of N102 or N103 is required.
If any of N103 or N104 are present, then all are required.
N101
98
Entity Identifier Code
Required
ID
Min 2 Max 2
Code identifying an organizational entity, a physical location, or an individual
RL
Reporting Location
N102
93
Name
Required
alphanumeric (AN)
Min 1 Max 35
Free-form name.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N9
Reference Number
Required
To transmit identifying numbers and descriptive information as specified by the reference number qualifier
Syntax Notes
At least one of N902 or N903 is required.
If N906 is present, then and N905 is required.
N901
128
Reference Number Qualifier
Required
ID
Min 2 Max 2
Code qualifying the Reference Number.
DP
Department Number
VR
Vendor ID Number
N902
127
Reference Number
Required
alphanumeric (AN)
Min 1 Max 30
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

LIN loop

Required
Min Items
Max Loop 999999
LIN
Item Identification
Required
Max Use 1
To specify basic item identification data.
Syntax Notes
If LIN04 is present, then and LIN05 is required.
If LIN06 is present, then and LIN07 is required.
If LIN08 is present, then and LIN09 is required.
If LIN10 is present, then and LIN11 is required.
If LIN12 is present, then and LIN13 is required.
If LIN14 is present, then and LIN15 is required.
If LIN16 is present, then and LIN17 is required.
If LIN18 is present, then and LIN19 is required.
If LIN20 is present, then and LIN21 is required.
If LIN22 is present, then and LIN23 is required.
If LIN24 is present, then and LIN25 is required.
If LIN26 is present, then and LIN27 is required.
If LIN28 is present, then and LIN29 is required.
If LIN30 is present, then and LIN31 is required.
LIN02
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
SK
Stock Keeping Unit (SKU)
LIN03
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 30
Identifying number for a product or service.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
LIN04
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
VP
Vendor's (Seller's) Part Number
LIN05
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 30
Identifying number for a product or service.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
LIN06
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
UP
UPC Consumer Package Code (1-5-5-1)
LIN07
234
Product/Service ID
Required
numeric (AN)
Min 12 Max 12
Identifying number for a product or service.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ZA loop
Required
Max Loop 99
ZA
98
Product Activity Reporting
Required
Min 1 Max 1
Max Use 1
To provide activity details concerning product being reported
Syntax Notes
If any of ZA02 or ZA03 are present, then all are required.
If any of ZA04 or ZA05 are present, then all are required.
If any of ZA06 or ZA07 are present, then all are required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ZA01
859
Activity Code
Required
ID
Min 2 Max 2
Code identifying activity details for the product being reported.
QE
Ending Balance Quantity
QS
Quantity Sold
SDQ
98
Destination Quantity
Optional
Min 1 Max 1
To specify destination and quantity detail.
Syntax Notes
If SDQ05 is present, then and SDQ06 is required.
If SDQ07 is present, then and SDQ08 is required.
If SDQ09 is present, then and SDQ10 is required.
If SDQ11 is present, then and SDQ12 is required.
If SDQ13 is present, then and SDQ14 is required.
If SDQ15 is present, then and SDQ16 is required.
If SDQ17 is present, then and SDQ18 is required.
If SDQ19 is present, then and SDQ20 is required.
If SDQ21 is present, then and SDQ22 is required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ01
355
Unit or Basis for Measurement Code
Optional
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
BG
Bag
BX
Box
CS
Cassette
DO
Dollars, U.S.
EA
Each
SDQ02
66
Identification Code Qualifier
Optional
ID
Min 1 Max 2
Code designating the system/method of code structure used for Identification Code (67).
92
Assigned by Buyer or Buyer's Agent
56
Division
MK
Market
SDQ03
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 17
Code identifying a party or other code.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ04
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ05
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 17
Code identifying a party or other code.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ06
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ07
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 17
Code identifying a party or other code.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ08
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ09
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 17
Code identifying a party or other code.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ10
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ11
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 17
Code identifying a party or other code.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ12
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ13
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 17
Code identifying a party or other code.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ14
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ15
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 17
Code identifying a party or other code.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ16
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ17
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 17
Code identifying a party or other code.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ18
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ19
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 17
Code identifying a party or other code.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ20
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ21
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 17
Code identifying a party or other code.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SDQ22
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
CTT
Transaction Totals
Required
Max Use 1
To transmit a hash total for a specific element in the transaction set
Syntax Notes
If CTT03 is present, then and CTT04 is required.
If CTT05 is present, then and CTT06 is required.
CTT01
354
Number of Line Items
Required
numeric (N0)
Min 1 Max 6
Total number of line items in the transaction set.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SE
Transaction Set Trailer
Required
Max Use 1
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments).
SE01
96
Number of Included Segments
Required
numeric (N0)
Min 1 Max 10
Total number of segments included in a transaction set including ST and SE segments.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SE02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

Schedule a Demo

Schedule a Demo

BOOK A DEMO