RED Related Data
To provide business data related to an item within a transaction to which a business application editing process has been applied, and an error condition has resulted
Position
Element
Name
Type
Requirement
Min
Max
Repeat
A free-form description to clarify the related data elements and their content
RED01 provides the related business data, whose nature is defined by the code in RED02 or RED06.
As an example of the use of the RED01 element, an application edit is applied to the Unit Price element within an Invoice (810) transaction set. The result of that edit indicates an invalid unit price. One piece of related business data would be the associated Product or Service Identification (data element #234). In this example, RED01 would be used to convey the associated Product or Service Identification.
Code identifying the nature of data related to an application edit error condition
R0206: At least one of RED-02 or RED-06 is required
E0206: Only one of RED-02 or RED-06 may be present
RED02 is an X12-defined code identifying the specific type of related data in RED01.
Code identifying the agency assigning the code values
P030506: If either RED-03, RED-05 or RED-06 are present, then the others are required
RED03 identifies the agency maintaining the code list identified in RED05.
A reference that indicates the table or text maintained by the Source Qualifier
C0403: If RED-04 is present, then RED-03 is required
RED04 provides further qualification of the agency identified in RED03.
Code identifying a specific industry code list
RED05 identifies the code list containing the code indicated in RED06.
Code indicating a code from a specific industry code list
RED06 is an industry-defined code identifying the specific type of related data in RED01.