AAFES (Army and Air Force Exchange Service) X12 870 Order Status Report

AAFES via DSCO

3 schema elements found

This Draft Standard schema for Trial Use contains the format and data contents of the schema for use within the context of an Electronic Data Interchange (EDI) environment.

ISA

ISA

Interchange Control Header

MMax: 1

To start and identify an interchange of zero or more functional groups and interchange-related control segments

ISA01
Authorization Information Qualifier
MIDMIN 2 MAX 2ID: I01

Code to identify the type of information in the Authorization Information

ISA02
Authorization Information
MANMIN 10 MAX 10ID: I02

Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

ISA03
Security Information Qualifier
MIDMIN 2 MAX 2ID: I03

Code to identify the type of information in the Security Information

ISA04
Security Information
MANMIN 10 MAX 10ID: I04

This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA05
Interchange ID Qualifier
MIDMIN 2 MAX 2ID: I05

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

ISA06
Interchange Sender ID
MANMIN 15 MAX 15ID: I06

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 value in the sender ID element

ISA07
Interchange ID Qualifier
MIDMIN 2 MAX 2ID: I05

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

ISA08
Interchange Receiver ID
MANMIN 15 MAX 15ID: I07

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

ISA09
Interchange Date
MDTMIN 6 MAX 6ID: I08

Date of the interchange

ISA10
Interchange Time
MTMMIN 4 MAX 4ID: I09

Time of the interchange

ISA11
Interchange Control Standards Identifier
MIDMIN 1 MAX 1ID: I10

Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer

ISA12
Interchange Control Version Number
MIDMIN 5 MAX 5ID: I11

This version number covers the interchange control segments

ISA13
Interchange Control Number
MN0MIN 9 MAX 9ID: I12

A control number assigned by the interchange sender

ISA14
Acknowledgment Requested
MIDMIN 1 MAX 1ID: I13

Code sent by the sender to request an interchange acknowledgment (TA1)

ISA15
Usage Indicator
MIDMIN 1 MAX 1ID: I14

Code to indicate whether data enclosed by this interchange envelope is test, production or information

ISA16
Component Element Separator
MMIN 1 MAX 1ID: I15

Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

GS

GS

Functional Group Header

MMax: 1

To indicate the beginning of a functional group and to provide control information

GS01
Functional Identifier Code
MIDMIN 2 MAX 2ID: 479

Code identifying a group of application related transaction sets

GS02
Application Sender's Code
MANMIN 2 MAX 15ID: 142

Code identifying party sending transmission; codes agreed to by trading partners

GS03
Application Receiver's Code
MANMIN 2 MAX 15ID: 124

Code identifying party receiving transmission. Codes agreed to by trading partners

GS04
Date
MDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD

GS05
Time
MTMMIN 4 MAX 8ID: 337

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)

GS06
Group Control Number
MN0MIN 1 MAX 9ID: 28

Assigned number originated and maintained by the sender

GS07
Responsible Agency Code
MIDMIN 1 MAX 2ID: 455

Code used in conjunction with Data Element 480 to identify the issuer of the standard

GS08
Version / Release / Industry Identifier Code
MANMIN 1 MAX 12ID: 480

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

transactionSets

Loop: transactionSets

ST

Transaction Set Header

MMax: 1Area: 1Seq: 010

To indicate the start of a transaction set and to assign a control number

ST01
Transaction Set Identifier Code
MIDMIN 3 MAX 3ID: 143

Code uniquely identifying a Transaction Set

870Order Status Report
ST02
Transaction Set Control Number
MANMIN 4 MAX 9ID: 329

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

BSR

Beginning Segment for Order Status Report

MMax: 1Area: 1Seq: 020

To indicate the beginning of an Order Status Report Transaction Set

BSR01
Status Report Code
MIDMIN 1 MAX 2ID: 850

Code indicating the reason for sending the report

2Prearranged Schedule or Agreement
BSR02
Order/Item Code
MIDMIN 1 MAX 2ID: 847

Code identifying a group of orders and items

PPSelected Orders - Selected Items
BSR03
Reference Identification
MANMIN 1 MAX 30ID: 127

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

BSR04
Date
MDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD

Loop: HL_loop

Repeat: 1000
HL

Hierarchical Level

MMax: 1Area: 2Seq: 010

To identify dependencies among and the content of hierarchically related groups of data segments

HL01
Hierarchical ID Number
MANMIN 1 MAX 12ID: 628

A unique number assigned by the sender to identify a particular data segment in a hierarchical structure

HL02
Hierarchical Parent ID Number
OANMIN 1 MAX 12ID: 734

Identification number of the next higher hierarchical data segment that the data segment being described is subordinate to

HL03
Hierarchical Level Code
MIDMIN 1 MAX 2ID: 735

Code defining the characteristic of a level in a hierarchical structure

IItem
PRF

Purchase Order Reference

OMax: 1Area: 2Seq: 020

To provide reference to a specific purchase order

PRF01
Purchase Order Number
MANMIN 1 MAX 22ID: 324

Identifying number for Purchase Order assigned by the orderer/purchaser

Loop: REF_loop

Repeat: >1
REF

Reference Identification

OMax: 1Area: 2Seq: 087

To specify identifying information

REF01
Reference Identification Qualifier
MIDMIN 2 MAX 3ID: 128

Code qualifying the Reference Identification

TDReason for Change
REF02
Reference Identification
CANMIN 1 MAX 30ID: 127

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

REF03
Description
CANMIN 1 MAX 80ID: 352

A free-form description to clarify the related data elements and their content

Loop: PO1_loop

Repeat: 1000
PO1

Baseline Item Data

OMax: 1Area: 2Seq: 150

To specify basic and most frequently used line item data

PO101
Assigned Identification
OANMIN 1 MAX 20ID: 350

Alphanumeric characters assigned for differentiation within a transaction set

PO102
Quantity Ordered
CRMIN 1 MAX 15ID: 330

Quantity ordered

PO103
Unit or Basis for Measurement Code
OIDMIN 2 MAX 2ID: 355

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

EAEach
PO104
Unit Price
CRMIN 1 MAX 17ID: 212

Price per unit of product, service, commodity, etc.

PO106
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

SKStock Keeping Unit (SKU)
PO107
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

PO108
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

ENEuropean Article Number (EAN) (2-5-5-1)
UPU.P.C. Consumer Package Code (1-5-5-1)
MGManufacturer's Part Number
IBInternational Standard Book Number (ISBN)
UKU.P.C./EAN Shipping Container Code (1-2-5-5-1)
BPBuyer's Part Number
CBBuyer's Catalog Number
EMEquipment Identification Number
E6Contract Transfer Reason Code
PO109
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

PO110
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

ENEuropean Article Number (EAN) (2-5-5-1)
UPU.P.C. Consumer Package Code (1-5-5-1)
MGManufacturer's Part Number
IBInternational Standard Book Number (ISBN)
UKU.P.C./EAN Shipping Container Code (1-2-5-5-1)
BPBuyer's Part Number
CBBuyer's Catalog Number
EMEquipment Identification Number
E6Contract Transfer Reason Code
PO111
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

PO112
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

ENEuropean Article Number (EAN) (2-5-5-1)
UPU.P.C. Consumer Package Code (1-5-5-1)
MGManufacturer's Part Number
IBInternational Standard Book Number (ISBN)
UKU.P.C./EAN Shipping Container Code (1-2-5-5-1)
BPBuyer's Part Number
CBBuyer's Catalog Number
EMEquipment Identification Number
E6Contract Transfer Reason Code
PO113
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

PO114
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

ENEuropean Article Number (EAN) (2-5-5-1)
UPU.P.C. Consumer Package Code (1-5-5-1)
MGManufacturer's Part Number
IBInternational Standard Book Number (ISBN)
UKU.P.C./EAN Shipping Container Code (1-2-5-5-1)
BPBuyer's Part Number
CBBuyer's Catalog Number
EMEquipment Identification Number
E6Contract Transfer Reason Code
PO115
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

PO116
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

ENEuropean Article Number (EAN) (2-5-5-1)
UPU.P.C. Consumer Package Code (1-5-5-1)
MGManufacturer's Part Number
IBInternational Standard Book Number (ISBN)
UKU.P.C./EAN Shipping Container Code (1-2-5-5-1)
BPBuyer's Part Number
CBBuyer's Catalog Number
EMEquipment Identification Number
E6Contract Transfer Reason Code
PO117
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

PO118
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

ENEuropean Article Number (EAN) (2-5-5-1)
UPU.P.C. Consumer Package Code (1-5-5-1)
MGManufacturer's Part Number
IBInternational Standard Book Number (ISBN)
UKU.P.C./EAN Shipping Container Code (1-2-5-5-1)
BPBuyer's Part Number
CBBuyer's Catalog Number
EMEquipment Identification Number
E6Contract Transfer Reason Code
PO119
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

SLN

Subline Item Detail

OMax: 100Area: 2Seq: 160

To specify product subline detail item data

SLN01
Assigned Identification
MANMIN 1 MAX 20ID: 350

Alphanumeric characters assigned for differentiation within a transaction set

SLN03
Relationship Code
MIDMIN 1 MAX 1ID: 662

Code indicating the relationship between entities

OInformation Only

Loop: ISR_loop

Repeat: 104
ISR

Item Status Report

OMax: 1Area: 2Seq: 210

To specify detailed purchase order/item status

ISR01
Shipment/Order Status Code
MIDMIN 2 MAX 2ID: 368

Code indicating the status of an order or shipment or the disposition of any difference between the quantity ordered and the quantity shipped for a line item or transaction

AAMultiple Pickup Same Destination
ABAvailable to Ship - Billed Quantity
ANAvailable Now - No Shipping Schedule
APAllocation
ASAvailable Now - Scheduled to Ship (date)
AUAvailable to Ship - Unbilled Quantity
AVAvailable
BKBack Ordered from Previous Order
BMBackordered, Manufacturer, Out-of-Stock
BOBack Ordered
BPShipment Partial, Back Order to Ship on (Date)
BTBilled total
BWBilled week-to-date
CACustomer Inquiry - All Items
CBComponents Missing
CCShipment Complete on (Date)
CDConsolidated Freight
CEShipment Includes Extra Items to Meet Price Break
CFConsolidated Load
CICustomer Inquiry - Shipped Items Only
CKCancelled from Previous Order
CLComplete
CMShipment Complete with Additional Quantity
CNNext Carrier Move on (Date)
COCustomer Inquiry - Unshipped Items Only
CPPartial Shipment on (Date), Considered No Backorder
CSShipment Complete with Substitution
CTCombination
CUCancelled Line Item
DADue for Assortment
DDDelivered to Destination on (Date)
DEDeleted Order
DIDiscontinued
DODiverted Order
DPDispose
DRDating Requirements
DSOut Of Stock Condition
ECEquipment Capacity
EDExpect to Ship By (Date)
EWExpect To Ship Week of (Date)
EXExpect to Deliver by
FSUnits Not Shipped By Agent - To Be Shipped From Factory
HQHeld Awaiting Qualification
ICItem Canceled
IDInsufficient Information
INIn Process
IPInquiry by Purchase Order
ISItem Represents Substitution from Original Order
LMShipment late
LSLast Shipment on (Date)
LWNumber of Late Weeks
MCMissing Components Furnished
NFNot Yet Published
NNNot in Process - No Shipping Schedule
NSNot In Process, Scheduled to Ship on (Date)
NYNo Shipping Schedule
OBOut of Bill & Hold Goods
OFOrder Sent to Factory for Production on (Date)
OPOut of Print
ORTemporarily Out of Stock - Reorder
PAPurchase Order Inquiry - All Items
PCProduction
PDPurchase Order Complete
PHProduct On Hold
PIPurchase Order Inquiry - Shipped Items Only
PKPacked-to-Date as of (Date)
PLPart Lot, Stop Off
PNIn Process - No Shipping Schedule
POPurchase Order Inquiry - Unshipped Items Only
PPPurchase Order Inquiry - Specific Items
PRPartial Shipment
PSIn Process, Scheduled to Ship On (Date)
PTPart Lot
QNQuantity Net Due
QPQuantity Past Due
RCReleased to Carrier (Date)
RDRevised Expect to Ship By (Date)
RIRecall
RTReceived Total
RWRevised Expect to Ship Week of (Date)
SAShipment Quantity Increase
SBSeconds Available to Ship - Billed Quantity
SCShipment Quantity Decrease
SDShipped Damaged
SEReplacement Shipment
SFShipped and Held in Bond at Contractor's Plant
SGShipped and Held as Government-Furnished Property
SHShipped (Date)
SIShipment Late, Scheduled to Ship on (Date)
SJShipped or Performed as Indicated
SKShipment Underrun Quantity
SLShipped - to - Date through (Date)
SPScheduled for Production at Factory on (Date)
SQScheduled to ship (Summary quantity)
SSSplit Shipment
STStop Off
SUSeconds Available to Ship - Unbilled Quantity
UBUnbilled Quantity Balance
UNUnavailable
URUnsolicited Report
WSItem Invoiced - Shipment to Follow
ZZMutually Defined
ISR02
Date
ODTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD

ISR03
Status Reason Code
OIDMIN 3 MAX 3ID: 641

Code indicating the status reason

W01Out of Stock
W13Product Allocation Exceeded
A83Unauthorized or Invalid Action
A03Incorrect Address
051Vendor-Supplied Carrier Delay
D50Delayed
ABNAbnormal
A13Other
A80Item or Service Not Available
A05Unable To Locate
A06Address Corrected - Delivery Attempt
A82Address Specified Does Not Match Account
D01Carrier Dispatch Error
A07Refused by Consignee
D30Declined Services
SOWShipment Overweight
UCDUnknown Cause of Delay
IV1Failed Material Returned for Repair
MINMental Incompetency
W05Order Discrepancy
B14Missing Documents
POAPower of Attorney
030Fraud
RUNReason Unknown
A58Unable to Contact Recipient For Broker Information
CTT

Transaction Totals

OMax: 1Area: 3Seq: 010

To transmit a hash total for a specific element in the transaction set

CTT01
Number of Line Items
MN0MIN 1 MAX 6ID: 354

Total number of line items in the transaction set

SE

Transaction Set Trailer

MMax: 1Area: 3Seq: 020

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
Number of Included Segments
MN0MIN 1 MAX 10ID: 96

Total number of segments included in a transaction set including ST and SE segments

SE02
Transaction Set Control Number
MANMIN 4 MAX 9ID: 329

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set