B4 Beginning Segment for Inquiry or Reply

To transmit identifying numbers, dates and other basic data relating to the transaction set

Position
Element
Name
Type
Requirement
Min
Max
Repeat
B4-01
Transaction Set Identifier Code
Identifier (ID)
Optional
3
3
-
Code uniquely identifying a Transaction Set.
If either B407 or B408 is present, then the other is required.
Due to the installation of the "ST" segment in all transaction sets, data element 143 in all of the "B" segments is redundant. DE143 will be retained as an optional data element for a period of adjustment. It is suggested that DE143 not be transmitted so it may be dropped from segment definitions in the future.
B4-02
Inquiry Request Number
Numeric (N0)
Conditional
1
3
-
Identifying number assigned by inquirer.
B4-03
Status Code
Identifier (ID)
Mandatory
1
2
-
Code indicating last reported status for a shipment.
B4-04
Status Date
Date (DT)
Conditional
6
6
-
Date of last reported status of cargo.
B4-05
Status Time
Time (TM)
Conditional
4
4
-
Time (HHMM), expressed in 24-hour clock time, of last reported status of cargo. (Time range: 0000 - 2359).
B4-06
Status Location
String (AN)
Conditional
3
5
-
Air shipment: Airport code for last reported status for a shipment. (Note: If the shipment is in-flight, the status location is the origin airport for this flight.) Ground transportation: Code of carrier's terminal.
B4-07
Equipment Initial
String (AN)
Conditional
1
4
-
Prefix or alpha part of an equipment unit's identifying number.
B4-08
Equipment Number
String (AN)
Conditional
1
10
-
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred).
B4-09
Equipment Status Code
Identifier (ID)
Optional
1
2
-
Code indicating status of equipment.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site 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. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.