824 guide
824 guide
5
0
1
0
824 Application Advice
Business Usage:
Response from Wal-Mart Application System Edits
Example of Conventions...............................................................................................................................................................26
Change History................................................................................................................................................................................28
Business Changes
To support our growing company, Wal-Mart Stores, Inc. will be incorporating the following
business changes into this 5010 upgrade.
Wal-Mart will utilize the GTIN (Global Traded Item Number) in EDI X12 Version 5010. GTIN
information will be sent in addition to the UPC code. It will be the suppliers' responsibility to
handle the information as their systems become GTIN compliant. For more information
regarding GTIN, please visit the UCC website (<www.uc-council.org>) in the U.S. and ECCC
(<www.eccc.org>) in Canada, or the appropriate numbering orga nization for your country.
Heading:
Pos. Seg. Req. Loop Notes and
No. ID Name Des. Max.Use Repeat Comments
M 0100 ST Transaction Set Header M 1
M 0200 BGN Beginning Segment M 1
LOOP ID - N1 >1
0300 N1 Party Identification O 1
0700 REF Reference Identification O 12
Detail:
Pos. Seg. Req. Loop Notes and
No. ID Name Des. Max.Use Repeat Comments
LOOP ID - OTI >1
M 0100 OTI Original Transaction Identification M 1 n1
0200 REF Reference Information O 12 n2
0300 DTM Date/Time Reference O 2 n3
0400 PER Administrative Communications Contact O 3 n4
0500 AMT Monetary Amount Information O >1 n5
0600 QTY Quantity Information O >1 n6
0650 NM1 Individual or Organizational Name O 9 n7
LOOP ID - TED >1
0700 TED Technical Error Description O 1
0750 CTX Context O 10
0800 NTE Note/Special Instruction O 100
0820 RED Related Data O 100 n8
LOOP ID - LM >1
0850 LM Code Source Information O 1 n9
LOOP ID - LQ 100
M 0860 LQ Industry Code Identification M 1
0870 RED Related Data O 100 n10
1. The OTI loop is intended to provide a unique identification of the transaction set that is the subject of this
application acknowledgment.
2. The REF segment allows for the provision of secondary reference identification or numbers required to
uniquely identify the original transaction set. The primary reference identification or number should be
provided in elements OTI02-03.
3. The DTM segment allows for the provision of date, time, or date and time information required to uniquely
identify the original transaction set.
4. The PER segment should be utilized if administrative communications contact information is important to the
unique identification of the original transaction set.
824-5010 (005010) Wal-Mart Stores, Inc. Confidential 4
5. The AMT segment should be utilized if monetary amount information is important to the unique
identification of the original transaction set.
6. The QTY segment should be utilized if quantity information is important to the unique identification of the
original transaction set.
7. The NM1 segment allows for the provision of entity identification information required to uniquely identify
the original transaction set.
8. The RED segment may be used to provide data related to the error condition specified in the associated
TED01 element.
9. The LM loop is used to identify industry-based or proprietary application error conditions.
10. The RED segment may be used to provide data related to the error condition specified in the associated LQ02
element.
Notes: In some EDI Implementations, it may be necessary to identify the sender and/or
receiver of the transaction set within each transaction set. To identify the sender of
the transaction set, N101 will contain code FR, N103 will contain 93, and N104 will
contain the actual identification number. To identify the receiver of the transaction
set, N101 will contain code TO, N103 will contain code 94, and N104 will contain the
actual identification number. These four codes may be used only in the combination
listed above and may be used only to identify the sender and/or receiver of the
transaction set.
Notes: In some EDI Implementations, it may be necessary to identify the sender and/or
receiver of the transaction set within each transaction set. To identify the sender of
the transaction set, N101 will contain code FR, N103 will contain 93, and N104 will
contain the actual identification number. To identify the receiver of the transaction
set, N101 will contain code TO, N103 will contain code 94, and N104 will contain the
actual identification number. These four codes may be used only in the combination
listed above and may be used only to identify the sender and/or receiver of the
transaction set.
Ref. Data
Des. Element Name Attributes
M TED01 647 Application Error Condition Code M 1 ID 1/3
Code indicating application error condition
007 Missing Data
012 Invalid Combination
024 Other Unlisted Reason
The reason for the application error condition cannot be
described using any other code on the standard code list
134 Missing or Invalid Invoice (Pro) Number
140 Missing or Invalid Ship-To Location
803 Missing or Invalid Payment Method Code
IID Invalid Identification Code
INF Invalid Status Code
IQT Invalid Quantity
IWT Invalid Weight
MB Missing or Invalid Purchase Order Number
MID Missing Identification Code
MK Missing or Invalid Ship Date Location
OTH Other
Unspecified application error
POI Purchase Number Invalid
SCA Invalid SCAC
ZZZ Mutually Defined
TED02 3 Free Form Message O 1 AN 1/60
Free-form text
TED03 721 Segment ID Code O 1 ID 2/3
Code defining the segment ID of the data segment in error (See Appendix A -
Number 77)
TED04 719 Segment Position in Transaction Set O 1 N0 1/6
The numerical count position of this data segment from the start of the
transaction set: the transaction set header is count position 1
TED05 722 Element Position in Segment O 1 N0 1/2
This is used to indicate the relative position of a simple data element, or the
relative position of a composite data structure with the relative position of the
component within the composite data structure, in error; in the data segment
the count starts with 1 for the simple data element or composite data structure
immediately following the segment ID
TED06 725 Data Element Reference Number O 1 N0 1/4
Reference number used to locate the data element in the Data Element
Dictionary
824-5010 (005010) Wal-Mart Stores, Inc. Confidential 15
TED07 724 Copy of Bad Data Element O 1 AN 1/99
This is a copy of the data element in error
TED08 961 Data Element New Content O 1 AN 1/99
New data which has replaced erroneous data
This Draft Standard for Trial Use contains the format and establishes the data contents of the Application
Advice Transaction Set (824) for use within the context of an Electronic Data Interchange (EDI)
environment. The transaction set can be used to provide the ability to report the results of an application
system's data content edits of transaction sets. The results of editing transaction sets can be reported at the
functional group and transaction set level, in either coded or free-form format. It is designed to
accommodate the business need of reporting the acceptance, rejection or acceptance with change of any
transaction set. The Application Advice should not be used in place of a transaction set designed as a
specific response to another transaction set (e.g., purchase order acknowledgment sent in response to a
purchase order).
Detail:
Pos. Seg. Req. Loop Notes and
No. ID Name Des. Max.Use Repeat Comments
LOOP ID - OTI >1
M 0100 OTI Original Transaction Identification M 1 n1
0200 REF Reference Identification O 12 n2
0300 DTM Date/Time Reference O 2 n3
0400 PER Administrative Communications Contact O 3 n4
0500 AMT Monetary Amount O >1 n5
0600 QTY Quantity O >1 n6
0650 NM1 Individual or Organizational Name O 9 n7
LOOP ID - TED >1
0700 TED Technical Error Description O 1
0800 NTE Note/Special Instruction O 100
0820 RED Related Data O 100 n8
LOOP ID - LM >1
0850 LM Code Source Information O 1 n9
LOOP ID - LQ 100
M 0860 LQ Industry Code M 1
0870 RED Related Data O 100 n10
1. The OTI loop is intended to provide a unique identification of the transaction set that is the subject of this
application acknowledgment.
2. The REF segment allows for the provision of secondary reference identification or numbers required to
uniquely identify the original transaction set. The primary reference identification or number should be
provided in elements OTI02-03.
3. The DTM segment allows for the provision of date, time, or date and time information required to uniquely
identify the original transaction set.
4. The PER segment should be utilized if administrative communications contact information is important to the
unique identification of the original transaction set.
The purpose of this section is to present and explain the application of the ASC X12 standards as
they pertain to the retail industry implementation of the Application Advice Transaction Set.
The VICS EDI utilization of the transaction set is two fold: 1) to report any application errors
from any business application system, e.g., invoice edit errors, and 2) for a financial institution
(bank) to report acceptance or discrepancies to either the sender or receiver of a Payment Order/
Remittance Advice Transaction Set (820).
When sending an 824 application advice transaction set, the following generation guidelines
should be considered:
§ The 824 eliminates the need for reporting application system edit errors via phone, fax, or
mailed paper reports.
§ Do not use this transaction set to communicate EDI compliance errors. Transaction Set 997
Functional Acknowledgment is to be used for communicating EDI compliance errors.
§ There may be a need within certain business functions to acknowledge receipt of
transmissions with no errors. This will be confined to transaction sets that do not have
existing response transaction sets and only with trading partner agreement. For example, a
financial institution may use Transaction Set 824 to respond to an 820 transmission
confirming the payment order.
§ Do not use Transaction Set 824 for communicating 824 application system edit errors
detected on the 824 Transaction Set, e.g., Functional Acknowledgments are never
acknowledged with a Functional Acknowledgment, nor are Application Advices responded
to by an Application Advice.
§ Transaction Set 832, Price Sales Catalog, edit errors should not be reported to the third party
service provider. Report Transaction Set 832 edits errors to the data originator.
§ Transaction Set 824, where applicable, can be sent for non-EDI documents (e.g., paper
invoice).
§ All edit errors on a document should be reported (do not stop editing once an error is
detected on a document).
§ The 824 can be sent for application errors detected on different transaction sets received, e.g,
810, 856, etc. It is recommended that the 824 sender generate a unique interchange file (ISA
to IEA Segments) for application errors detected on a specific transaction set. For example, a
separate interchange would be generated for application errors detected on an 856 versus
errors detected on an 810. It is also recommended that the 824 sender assign a unique sender-
ID which will enable the 824 receiver to identify which transaction set errors are being
received. By generating a unique interchange and sender-ID for each transaction set’s
application errors, the 824receiver can quickly direct the 824 data to the appropriate internal
group for corrective action.
§ If the sender of this transaction set has access to the GS and ST segments associated with the
detected errors, it is recommended that the following data elements be included in the 824:
functional group number, functional group date, and transaction set control number. This
information can facilitate the error correction process.
§ 824 application errors are usually forwarded to individuals who are not familiar with data
processing terminology. As a result, if it is necessary to describe the error condition in text
form, use business terminology, rather than EDI terminology. For example, use ‘‘store’’
number instead of ‘‘buying location’’, use ‘‘U.P.C. code’’ instead of ‘‘Product/Service ID’’.
1. Every data element on each segment is listed in the Data Element Summary section of the
segment documentation, including unused Elements.
2. Every data element has the ANSI X12 data element ID noted.
3. Every data element has the ANSI X12 data element title noted.
4. Every data element has the ANSI X12 data element attributes noted:
4.1. Data element requirement designation
4.1.1. Mandatory (M) This element is required to appear in the segment.
4.1.2. Optional (O) The appearance of this data element is at the option of the
sending party or is based on the mutual agreement of the interchange
parties.
4.1.3. Relational (X) Relational conditions may exist between two or more data
elements within a segment based on the presence or absence of one of
those data elements. The relational condition is displayed under the
heading “Syntax Notes.”
4.2. Data element type
4.2.1. Numeric (Nn) — The numeric type of data element is symbolized by the
two-position representation Nn. N indicates a numeric, and n indicates the
decimal places to the right of a fixed, implied decimal point. the decimal
point is not transmitted in the character stream. For negative values, the
leading minus sign (-) is used. Absence of a sign indicates a positive
value. The plus sign (+) should not be transmitted. Leading zeros should
be suppressed unless necessary to satisfy a minimum length requirement.
The length of the data element is the number of digits used. The minus
sign (-) is not counted when determining the length of the data element
value.
4.2.2. Decimal Number (R) — The decimal type of data element is symbolized
by the representation R. The decimal point is optional for integer values,
but required for fractional values. For negative values, the leading minus
sign (-) is used. Absence of a sign indicates a positive value. The plus
sign (+) should not be transmitted. Leading zeros should be suppressed
unless necessary to satisfy a minimum length requirement. The minus
sign and the decimal point are not counted when determining the length of
the data element value.
4.2.3. Identifier (ID) — The identifier type of data element is symbolized by the
representation ID. An identifier data element must always contain a value
from a predefined list of values that is maintained by ASC X12 or other
bodies that are recognized by ASC X12. The value is left justified.
Trailing spaces should be suppressed.
4.2.4. String (AN) — The string type of data element is symbolized by the
representation AN. Contents of string type data elements are a sequence
of any letters, digits, spaces, and/or special characters and contain at least
one non-space character. The significant characters must be left justified.
Leading spaces, if used, are assumed to be significant characters. Trailing
spaces should be suppressed.
4.2.5. Date (DT) — The date type of data element is symbolized by the
representation DT. Format for the date type is CCYYMMDD. CC is the
two digit Century (00-99). YY is the last two digits of the year (00-99),
824-5010 (005010) Wal-Mart Stores, Inc. Confidential 24
MM is the numeric value of the month (01-12), and DD is the numeric
value of the day (01-31).
4.2.6. Time (TM) — The time type is symbolized by the representation TM.
Format for this type is expressed in 24-hour clock format, HHMMSSd..d.
HH is the numeric expression of the hour (00-23), MM is the numeric
expression of the minute (00-59), SS is the numeric expression of the
second (00-59), and d..d is the numeric expression of decimal seconds.
4.3. Data element length (minimum/maximum)
5. Data elements utilized by Wal-Mart applications are noted in bold type.
6. Data elements ignored by Wal-Mart application are noted in italicized type.
7. Every data element utilized by Wal-Mart applications has the ANSI X12 data element
purpose noted.
8. ID-type data elements have the list of utilized values noted.
9. Industry comments relating to segments and data elements are noted in bold text with
a shaded background.
10. Wal-Mart comments relating to segments and data elements are noted in underlined
bold text with a shaded background.
Segment: N1 Name
Position: 0300
Loop: N1
Level: Heading
Usage: Optional
Max Use: 1
Purpose: To identify a party by type of organization, name, and code
Syntax Notes: 1 At least one of N102 or N103 is required.
2 If either N103 or N104 is present, then the other is required.
Semantic Notes:
Comments: 1 This segment, used alone, provides the most efficient method of providing
organizational identification. To obtain this efficiency the "ID Code" (N104) must
provide a key to the table maintained by the transaction processing party.
2 N105 and N106 further define the type of entity in N101.
Notes: In some EDI Implementations, it may be necessary to identify the sender and/or
receiver of the transaction set within each transaction set. To identify the sender of
the tr ansaction set, N101 will contain code FR, N103 will contain 93, and N104 will
contain the actual identification number. To identify the receiver of the transaction
set, N101 will contain code TO, N103 will contain code 94, and N104 will contain the 9
actual identification number. These four codes may be used only in the combination
listed above and may be used only to identify the sender and/or receiver of the
transaction set.
This segment will always identify Wal-Mart Stores, Inc. as the sender of the
document 10
Data Element Summary
4.3
1 Ref. Data 8 4.1
Des. Element Name Attributes
M N101 98 Entity Identifier Code M ID 2/3
2 Code identifying an organizational entity, a physical location, property or an
individual 4.2
3 FR Message From
N102 93 Name X AN 1/60
Free-form name
N103 66 Identification Code Qualifier X ID 1/2
Code designating the system/method of code structure used for Identification
Code (67) 7
UL UCC/EAN Location Code
A globally unique 13 digit code for the identification of a
legal, functional or physical location within the Uniform
Code Council (UCC) and International Article Number
Association (EAN) numbering system
5 N104 67 Identification Code X AN 2/80
Code identifying a party or other code
1 N105 706 Entity Relationship Code O ID 2/2
Code describing entity relationship
6 N106 98 Entity Identifier Code O ID 2/3
Code identifying an organizational entity, a physical location, property or an
individual
December , 2004 DRAFT 0.1 Publish Draft version 0.1 of the Document
January, 2005 Version 1.0 Production version of guide published
June, 2005 Version 1.1 New Application Error Condition Code added to the TED segment.