Grocery Products Purchase Order 875
Broker Format


Documentation

M&M PO 875

M&M/MARS

875 Grocery Products Purchase Order (Inbound) 
 

Functional Group ID=OG


Introduction: 
 
This MARS Inc. Standard contains the format establishes the data contents of the Grocery Products Purchase Order Transaction Set (875) for use within the context of an Electronic Data Interchange (EDI) environment. This transaction set can be used to provide for customary and established grocery industry practice relative to the placement of purchase orders for finished goods in a retail or wholesale consumer market. This standard can be used by a retailer or wholesaler organization to request delivery of finished goods from a broker or supplier organization. This transaction set should not be used to convey purchase order changes or purchase order acknowledgement information. 
 
Notes: 

* is used as a data delimiter to separate and maintain element position.
Heading:
Pos. Seg. Req. Loop Notes and
No. ID Name Des. Max.Use Repeat Comments
M 010 ST Transaction Set Header M 1
M 020 G50 Purchase Order Identification M 1
030 N9 Reference Identification O 50
050 G62 Date/Time O 10
060 NTE Note/Special Instruction O 20
070 G66 Transportation Instructions O 1
080 G23 Terms of Sale O 20 n1
LOOP ID - 0100 10
M 090 N1 Name M 1 n2
LOOP ID - 0200 100
130 G72 Allowance or Charge O 1
Detail:
Pos. Seg. Req. Loop Notes and
No. ID Name Des. Max.Use Repeat Comments
LOOP ID - 0300 9999
M 010 G68 Line Item Detail - Product M 1
LOOP ID - 0310 100
060 G72 Allowance or Charge O 1
Summary:
Pos. Seg. Req. Loop Notes and
No. ID Name Des. Max.Use Repeat Comments
M 010 G76 Total Purchase Order M 1
M 020 SE Transaction Set Trailer M 1

Segment: ST Transaction Set Header
Position: 010
Loop:
Level: Heading
Usage: Mandatory
Max Use: 1
Purpose: To indicate the start of a transaction set and to assign a control number
Notes: Example: 
 
ST*875*10012 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
M ST01 143 Transaction Set Identifier Code M ID 3/3
Code uniquely identifying a Transaction Set
M ST02 329 Transaction Set Control Number M AN 4/9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Segment: G50 Purchase Order Identification
Position: 020
Loop:
Level: Heading
Usage: Mandatory
Max Use: 1
Purpose: To transmit identifying dates and numbers for this transaction set
Notes: Example: 
 
G50*N*20000926*12345****SA 
 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
M G5001 473 Order Status Code M ID 1/1
Code identifying purpose of transaction set
C    Confirmation
N    Original
M G5002 373 Date M DT 8/8
Date expressed as CCYYMMDD
M G5003 324 Purchase Order Number M AN 1/22
Identifying number for Purchase Order assigned by the orderer/purchaser
G5007 92 Purchase Order Type Code O ID 2/2
Code specifying the type of Purchase Order
CF    Confirmation
NE    New Order
SA    Stand-alone Order

Segment: N9 Reference Identification
Position: 030
Loop:
Level: Heading
Usage: Optional
Max Use: 50
Purpose: To transmit identifying information as specified by the Reference Identification Qualifier
Notes: Example: 
 
N9*BK*122123*DESCRIPTION*20000129 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
M N901 128 Reference Identification Qualifier M ID 2/3
Code qualifying the Reference Identification
BK    Broker's Order Number
BR    Broker or Sales Office Number
ST    Store Number
N902 127 Reference Identification X AN 1/30
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
N903 369 Free-form Description X AN 1/45
Free-form descriptive text
N904 373 Date O DT 8/8
Date expressed as CCYYMMDD

Segment: G62 Date/Time
Position: 050
Loop:
Level: Heading
Usage: Optional
Max Use: 10
Purpose: To specify pertinent dates and times
Notes: Example: 
 
G62*02*20000930 
 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
G6201 432 Date Qualifier X ID 2/2
Code specifying type of date
01    Cancel After This Date
02    Delivery Requested on This Date
10    Requested Ship Date/Pick-up Date
53    Deliver Not Before Date
54    Deliver No Later Than Date
G6202 373 Date X DT 8/8
Date expressed as CCYYMMDD

Segment: NTE Note/Special Instruction
Position: 060
Loop:
Level: Heading
Usage: Optional
Max Use: 20
Purpose: To transmit information in a free-form format, if necessary, for comment or special instruction
Notes: Example: 
 
NTE*DEL*DESCRIPTION 
 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
NTE01 363 Note Reference Code O ID 3/3
Code identifying the functional area or purpose for which the note applies
DEL    Delivery
GEN    Entire Transaction Set
M NTE02 352 Description M AN 1/80
A free-form description to clarify the related data elements and their content

Segment: G66 Transportation Instructions
Position: 070
Loop:
Level: Heading
Usage: Optional
Max Use: 1
Purpose: To specify transportation instructions relating to the shipment
Notes: Example: 
 
G66*PP*M 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
G6601 146 Shipment Method of Payment O ID 2/2
Code identifying payment terms for transportation charges
PB    Customer Pick-up/Backhaul
PP    Prepaid (by Seller)
PU    Pickup
G6602 91 Transportation Method/Type Code O ID 1/2
Code specifying the method or type of transportation for the shipment
H    Customer Pickup
M    Motor (Common Carrier)

Segment: G23 Terms of Sale
Position: 080
Loop:
Level: Heading
Usage: Optional
Max Use: 20
Purpose: To specify the terms of sale
Notes: Example: 
 
G23*03*3***2**10**30 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
M G2301 336 Terms Type Code M ID 2/2
Code identifying type of payment terms
03    Fixed Date
M G2302 333 Terms Basis Date Code M ID 1/2
Code identifying the beginning of the terms period
3    Invoice Date
G2305 338 Terms Discount Percent O R 1/6
Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date
G2307 351 Terms Discount Days Due O N0 1/3
Number of days in the terms discount period by which payment is due if terms discount is earned
G2309 386 Terms Net Days X N0 1/3
Number of days until total invoice amount is due (discount not applicable)

Segment: N1 Name
Position: 090
Loop: 0100 Mandatory
Level: Heading
Usage: Mandatory
Max Use: 1
Purpose: To identify a party by type of organization, name, and code
Notes: Example: 
 
N1*ST*COSTCO*9*1234567890000 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
M N101 98 Entity Identifier Code M ID 2/3
Code identifying an organizational entity, a physical location, property or an individual
BO    Broker or Sales Office
BS    Bill and Ship To
BT    Bill-to-Party
BY    Buying Party (Purchaser)
ST    Ship To
VN    Vendor
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)
9    D-U-N-S+4, D-U-N-S Number with Four Character Suffix
N104 67 Identification Code X AN 2/80
Code identifying a party or other code

Segment: G72 Allowance or Charge
Position: 130
Loop: 0200 Optional
Level: Heading
Usage: Optional
Max Use: 1
Purpose: To specify allowances, charges, or services
Notes: Example: 
 
G72*54*02 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
M G7201 340 Allowance or Charge Code M ID 1/3
Code identifying the type of allowance or charge
54    Pick-up Allowance
M G7202 331 Allowance or Charge Method of Handling Code M ID 2/2
Code indicating method of handling for an allowance or charge
02    Off Invoice

Segment: G68 Line Item Detail - Product
Position: 010
Loop: 0300 Mandatory
Level: Detail
Usage: Mandatory
Max Use: 1
Purpose: To specify basic and most frequently used purchase order line item data
Notes: Example: 
 
G68*100*CA*102.48*004000001105*UA*1*CB*2 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
M G6801 330 Quantity Ordered M R 1/15
Quantity ordered
M G6802 355 Unit or Basis for Measurement Code M ID 2/2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
CA    Case
PL    Pallet/Unit Load
G6803 237 Item List Cost O R 1/9
Gross unit cost within the appropriate price bracket for a line item
G6804 438 U.P.C. Case Code X AN 12/12
Code (Universal Product Code - U.P.C.) including two high order digits identifying the "system" (U.S. Grocery = 00, 06 or 07; U.S. Drug = 03); using the U.S. Grocery system, the next ten digits are: Manufacturer (5) Case Code (5)
G6805 235 Product/Service ID Qualifier X ID 2/2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
UA    U.P.C./EAN Case Code (2-5-5)
UI    U.P.C. Consumer Package Code (1-5-5)
UN    U.P.C. Case Code Number (1-1-5-5)
UP    U.P.C. Consumer Package Code (1-5-5-1)
G6806 234 Product/Service ID X AN 1/48
Identifying number for a product or service
G6807 235 Product/Service ID Qualifier X ID 2/2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
CB    Buyer's Catalog Number
PI    Purchaser's Item Code
VN    Vendor's (Seller's) Item Number
G6808 234 Product/Service ID X AN 1/48
Identifying number for a product or service

Segment: G72 Allowance or Charge
Position: 060
Loop: 0310 Optional
Level: Detail
Usage: Optional
Max Use: 1
Purpose: To specify allowances, charges, or services
Notes: Example: 
 
G72*97*02*A1A**2.16 
 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
M G7201 340 Allowance or Charge Code M ID 1/3
Code identifying the type of allowance or charge
97    Cents Off
M G7202 331 Allowance or Charge Method of Handling Code M ID 2/2
Code indicating method of handling for an allowance or charge
01    Bill Back
02    Off Invoice
G7203 341 Allowance or Charge Number X AN 1/16
The number assigned by a vendor referencing an allowance, promotion, deal or charge
G7205 359 Allowance or Charge Rate X R 1/15
Allowance or Charge Rate per Unit

Segment: G76 Total Purchase Order
Position: 010
Loop:
Level: Summary
Usage: Mandatory
Max Use: 1
Purpose: To specify summary details of total items shipped in terms of quantity, weight, and volume, and to specify payment method
Notes: Example: 
 
G76*215*CA*25212*LB****20.00 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
M G7601 330 Quantity Ordered M R 1/15
Quantity ordered
G7601 contains the hash totals of all G6801 values.
M G7602 355 Unit or Basis for Measurement Code M ID 2/2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
CA    Case
PL    Pallet/Unit Load
G7603 81 Weight X R 1/10
Numeric value of weight
G7604 355 Unit or Basis for Measurement Code X ID 2/2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
LB    Pound
G7608 610 Amount O N2 1/15
Monetary amount

Segment: SE Transaction Set Trailer
Position: 020
Loop:
Level: Summary
Usage: Mandatory
Max Use: 1
Purpose: To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
Notes: Example: 
 
SE*32*10012 
 

 
Data Element Summary 

Ref. Data
Des. Element Name Attributes
M SE01 96 Number of Included Segments M N0 1/10
Total number of segments included in a transaction set including ST and SE segments
M SE02 329 Transaction Set Control Number M AN 4/9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

 

M&M/Mars PO Set: 875 Version 4010 X12 April 5, 2000

Back     Home