AAFES (Army and Air Force Exchange Service) X12 860 Purchase Order Change Request - Buyer Initiated

AAFES

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 identifying 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 identifying 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

Code indicating 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

Code indicating 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
Repetition Separator
MMIN 1 MAX 1ID: I65

Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator

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

Code specifying the version number of 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 indicating sender's request for an interchange acknowledgment

ISA15
Interchange Usage Indicator
MIDMIN 1 MAX 1ID: I14

Code indicating 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 where CC represents the first two digits of the calendar year

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 identifying the issuer of the standard; this code is used in conjunction with Data Element 480

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: 0100

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

860Purchase Order Change Request - Buyer Initiated
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

BCH

Beginning Segment for Purchase Order Change

MMax: 1Area: 1Seq: 0200

To indicate the beginning of the Purchase Order Change Transaction Set and transmit identifying numbers and dates

BCH01
Transaction Set Purpose Code
MIDMIN 2 MAX 2ID: 353

Code identifying purpose of transaction set

01Cancellation
04Change
BCH02
Purchase Order Type Code
MIDMIN 2 MAX 2ID: 92

Code specifying the type of Purchase Order

PRPromotion
RLRelease or Delivery Order
SAStand-alone Order
ZZMutually Defined
BCH03
Purchase Order Number
MANMIN 1 MAX 22ID: 324

Identifying number for Purchase Order assigned by the orderer/purchaser

BCH06
Date
MDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

BCH11
Date
ODTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

REF

Reference Information

OMax: >1Area: 1Seq: 0500

To specify identifying information

REF01
Reference Identification Qualifier
MIDMIN 2 MAX 3ID: 128

Code qualifying the Reference Identification

IAInternal Vendor Number
REF02
Reference Identification
CANMIN 1 MAX 50ID: 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

PER

Administrative Communications Contact

OMax: 3Area: 1Seq: 0600

To identify a person or office to whom administrative communications should be directed

PER01
Contact Function Code
MIDMIN 2 MAX 2ID: 366

Code identifying the major duty or responsibility of the person or group named

BDBuyer Name or Department
PER02
Name
OANMIN 1 MAX 60ID: 93

Free-form name

PER03
Communication Number Qualifier
CIDMIN 2 MAX 2ID: 365

Code identifying the type of communication number

TETelephone
PER04
Communication Number
CANMIN 1 MAX 256ID: 364

Complete communications number including country or area code when applicable

FOB

F.O.B. Related Instructions

OMax: >1Area: 1Seq: 0800

To specify transportation instructions relating to shipment

FOB01
Shipment Method of Payment
MIDMIN 2 MAX 2ID: 146

Code identifying payment terms for transportation charges

CCCollect
PAAdvance Prepaid
PBCustomer Pickup/Backhaul
PCPrepaid but Charged to Customer
PPPrepaid (by Seller)
TPThird Party Pay
FOB02
Location Qualifier
CIDMIN 1 MAX 2ID: 309

Code identifying type of location

CICity
DEDestination (Shipping)
FAFactory
MIMill
OROrigin (Shipping Point)
PLPlant
RGRegion Code
TLTerminal Cargo Location
FOB03
Description
OANMIN 1 MAX 80ID: 352

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

Loop: SAC_loop

Repeat: 25
SAC

Service, Promotion, Allowance, or Charge Information

OMax: 1Area: 1Seq: 1200

To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

SAC01
Allowance or Charge Indicator
MIDMIN 1 MAX 1ID: 248

Code which indicates an allowance or charge for the service specified

AAllowance
CCharge
SAC02
Service, Promotion, Allowance, or Charge Code
CIDMIN 4 MAX 4ID: 1300

Code identifying the service, promotion, allowance, or charge

A260Advertising Allowance
A630Blocking and Bracing Charge
B190Closing & Sealing
B320Competitive Allowance
B560Container Allowance
B570Container Deposits
C000Defective Allowance
C260Discount - Incentive
C310Discount
C350Distributor Discount/Allowance
C540Early Buy Allowance
C560Early Ship Allowance
C680Environmental Protection Service
D240Freight
D530Hazardous Cargo Charge
E550Market Development Funds
E800No Return Credit Allowance
F170Pallet Exchange Charge
F190Palletizing
F340Pick/Up
F800Promotional Allowance
F910Quantity Discount
G170Redistribution Allowance
G360Repack Charge
G470Restocking Charge
G870Shrink-Wrap Charge
H000Special Allowance
H660Tax - Federal Excise Tax, FET
H770Tax - State Tax
H920Temporary Allowance
I170Trade Discount
I310Truckload Discount
I410Unsaleable Merchandise Allowance
I530Volume Discount
SAC05
Amount
ON2MIN 1 MAX 15ID: 610

Monetary amount

SAC12
Allowance or Charge Method of Handling Code
OIDMIN 2 MAX 2ID: 331

Code indicating method of handling for an allowance or charge

01Bill Back
02Off Invoice
03Vendor Check to Customer
04Credit Customer Account
05Charge to be Paid by Vendor
06Charge to be Paid by Customer
ITD

Terms of Sale/Deferred Terms of Sale

OMax: 5Area: 1Seq: 1300

To specify terms of sale

ITD01
Terms Type Code
OIDMIN 2 MAX 2ID: 336

Code identifying type of payment terms

01Basic
02End of Month (EOM)
03Fixed Date
04Deferred or Installment
05Discount Not Applicable
06Mixed
07Extended
08Basic Discount Offered
09Proximo
11Elective
1210 Days After End of Month (10 EOM)
14Previously agreed upon
15Special Proximo
ITD03
Terms Discount Percent
ORMIN 1 MAX 6ID: 338

Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date

ITD04
Terms Discount Due Date
CDTMIN 8 MAX 8ID: 370

Date payment is due if discount is to be earned expressed in format CCYYMMDD where CC represents the first two digits of the calendar year

ITD05
Terms Discount Days Due
CN0MIN 1 MAX 3ID: 351

Number of days in the terms discount period by which payment is due if terms discount is earned

ITD06
Terms Net Due Date
ODTMIN 8 MAX 8ID: 446

Date when total invoice amount becomes due expressed in format CCYYMMDD where CC represents the first two digits of the calendar year

ITD07
Terms Net Days
ON0MIN 1 MAX 3ID: 386

Number of days until total invoice amount is due (discount not applicable)

ITD12
Description
OANMIN 1 MAX 80ID: 352

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

DTM

Date/Time Reference

OMax: 10Area: 1Seq: 1500

To specify pertinent dates and times

DTM01
Date/Time Qualifier
MIDMIN 3 MAX 3ID: 374

Code specifying type of date or time, or both date and time

002Delivery Requested
010Requested Ship
015Promotion Start
023Promotion Order - Start
038Ship No Later
077Requested for Delivery (Week of)
DTM02
Date
CDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

PWK

Paperwork

OMax: 25Area: 1Seq: 2100

To identify the type or transmission or both of paperwork or supporting information

PWK01
Report Type Code
MIDMIN 2 MAX 2ID: 755

Code indicating the title or contents of a document, report or supporting item

CPCertificate of Compliance (Material Certification)
PWK07
Description
OANMIN 1 MAX 80ID: 352

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

Loop: N1_loop

Repeat: 200
N1

Party Identification

OMax: 1Area: 1Seq: 3000

To identify a party by type of organization, name, and code

N101
Entity Identifier Code
MIDMIN 2 MAX 3ID: 98

Code identifying an organizational entity, a physical location, property or an individual

BYBuying Party (Purchaser)
N102
Name
CANMIN 1 MAX 60ID: 93

Free-form name

N103
Identification Code Qualifier
CIDMIN 1 MAX 2ID: 66

Code designating the system/method of code structure used for Identification Code (67)

9D-U-N-S+4, D-U-N-S Number with Four Character Suffix
92Assigned by Buyer or Buyer's Agent
ULGlobal Location Number (GLN)
N104
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

Loop: POC_loop

Repeat: >1
POC

Line Item Change

OMax: 1Area: 2Seq: 0100

To specify changes to a line item

POC01
Assigned Identification
OANMIN 1 MAX 20ID: 350

Alphanumeric characters assigned for differentiation within a transaction set

POC02
Change or Response Type Code
MIDMIN 2 MAX 2ID: 670

Code specifying the type of change to the line item

AIAdd Additional Item(s)
CAChanges To Line Items
CCChanges To Terms
CEChanges To Item Level Allowance/Charges
CGChanges To Total Level Allowance/Charges
DIDelete Item(s)
PCPrice Change
QDQuantity Decrease
QIQuantity Increase
POC03
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

POC04
Quantity Left to Receive
ORMIN 1 MAX 9ID: 671

Quantity left to receive as qualified by the unit of measure

POC06
Unit Price
CRMIN 1 MAX 17ID: 212

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

POC07
Basis of Unit Price Code
OIDMIN 2 MAX 2ID: 639

Code identifying the type of unit price for an item

WEWholesale Price per Each
POC08
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

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

EINEAN/UCC - 13
EOEAN/UCC - 8
IBInternational Standard Book Number (ISBN)
UAU.P.C./EAN Case Code (2-5-5)
UKGTIN 14-digit Data Structure
UPUCC - 12
POC09
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

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

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

POC11
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

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

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

VAVendor's Style Number
POC13
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

POC14
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)
POC15
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

POC0501
Unit or Basis for Measurement CodeCOMPOSITE
MIDMIN 2 MAX 2ID: 355

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

Composite Unit of Measure

To identify a composite unit of measure (See Figures Appendix for examples of use)

LIN

Item Identification

OMax: >1Area: 2Seq: 0150

To specify basic item identification data

LIN02
Product/Service ID Qualifier
MIDMIN 2 MAX 2ID: 235

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

LIN03
Product/Service ID
MANMIN 1 MAX 48ID: 234

Identifying number for a product or service

CTP

Pricing Information

OMax: >1Area: 2Seq: 0400

To specify pricing information

CTP02
Price Identifier Code
CIDMIN 3 MAX 3ID: 236

Code identifying pricing specification

ALTAlternate Price
PRPPromotional Price
RTLRetail
UCPUnit Cost Price
CTP03
Unit Price
CRMIN 1 MAX 17ID: 212

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

CTP04
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

CTP0501
Unit or Basis for Measurement CodeCOMPOSITE
MIDMIN 2 MAX 2ID: 355

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

Composite Unit of Measure

To identify a composite unit of measure (See Figures Appendix for examples of use)

Loop: PID_loop

Repeat: 1000
PID

Product/Item Description

OMax: 1Area: 2Seq: 0500

To describe a product or process in coded or free-form format

PID01
Item Description Type
MIDMIN 1 MAX 1ID: 349

Code indicating the format of a description

FFree form
PID05
Description
CANMIN 1 MAX 80ID: 352

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

PO4

Item Physical Details

OMax: >1Area: 2Seq: 0900

To specify the physical qualities, packaging, weights, and dimensions relating to the item

PO401
Pack
ON0MIN 1 MAX 6ID: 356

The number of inner containers, or number of eaches if there are no inner containers, per outer container

SDQ

Destination Quantity

OMax: 500Area: 2Seq: 1900

To specify destination and quantity detail

SDQ01
Unit or Basis for Measurement Code
MIDMIN 2 MAX 2ID: 355

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

SDQ02
Identification Code Qualifier
OIDMIN 1 MAX 2ID: 66

Code designating the system/method of code structure used for Identification Code (67)

9D-U-N-S+4, D-U-N-S Number with Four Character Suffix
92Assigned by Buyer or Buyer's Agent
ULGlobal Location Number (GLN)
SDQ03
Identification Code
MANMIN 2 MAX 80ID: 67

Code identifying a party or other code

SDQ04
Quantity
MRMIN 1 MAX 15ID: 380

Numeric value of quantity

SDQ05
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

SDQ06
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

SDQ07
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

SDQ08
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

SDQ09
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

SDQ10
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

SDQ11
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

SDQ12
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

SDQ13
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

SDQ14
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

SDQ15
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

SDQ16
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

SDQ17
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

SDQ18
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

SDQ19
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

SDQ20
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

SDQ21
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

SDQ22
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

Loop: CTT_loop

Repeat: 1
CTT

Transaction Totals

OMax: 1Area: 3Seq: 0100

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: 0300

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