Grocery Products Purchase Order 875


Documentation

Untitled 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
 
  Must Use   010   ST   Transaction Set Header   M   1
  Must Use   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
  Must Use   080   G23   Terms of Sale   M   20   n1
        LOOP ID - 0100   10    
  Must Use   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    
  Must Use   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
 
  Must Use   010   G76   Total Purchase Order   M   1
  Must Use   020   SE   Transaction Set Trailer   M   1
 
Transaction Set Notes 
 
       
  1. The G23 segment can be used at the header level or detail level, but not both. When it is used at the detail level, there must be at least one occurrence of the G23 segment for each iteration of the G68 segment.
  2. One occurrence of the N1 loop must be used to identify the party to whom the merchandise is to be shipped.
 

           
  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
  Syntax Notes:
Semantic Notes:   1 The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
  Comments:
  Notes:   Example: 
 
ST*875*10012 
 
 
Data Element Summary 
                               
      Ref.   Data
    Des.   Element   Name   Attributes
  >>   ST01   143   Transaction Set Identifier Code   M   ID 3/3
      Code uniquely identifying a Transaction Set
     
 
  >>   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
  Syntax Notes:   1   If either G5005 or G5006 is present, then the other is required.
Semantic Notes:   1 G5002 is the date assigned by the purchaser to the purchase order.
  Comments:
  Notes:   Example: 
 
G50*N*20010926*12345****SA 
 
 
 
Data Element Summary 
                               
      Ref.   Data
    Des.   Element   Name   Attributes
  >>   G5001   473   Order Status Code   M   ID 1/1
      Code identifying purpose of transaction set
     
      C Confirmation
      N   Original
 
  >>   G5002   373   Date   M   DT 8/8
      Date expressed as CCYYMMDD
  >>   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
  Syntax Notes:   1   At least one of N902 or N903 is required.
      2   If N906 is present, then N905 is required.
      3   If either C04003 or C04004 is present, then the other is required.
      4   If either C04005 or C04006 is present, then the other is required.
Semantic Notes:   1 N906 reflects the time zone which the time reflects.
    2 N907 contains data relating to the value cited in N902.
  Comments:
  Notes:   Example: 
 
N9*BK*122123 
 
 
Data Element Summary 
                               
      Ref.   Data
    Des.   Element   Name   Attributes
  >>   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


           
  Segment:   G62 Date/Time
  Position:   050
  Loop:
  Level:   Heading
  Usage:   Optional
  Max Use:   10
  Purpose: To specify pertinent dates and times
  Syntax Notes:   1   At least one of G6201 or G6203 is required.
      2   If either G6201 or G6202 is present, then the other is required.
      3   If either G6203 or G6204 is present, then the other is required.
  Semantic Notes:
  Comments:
  Notes:   Example: 
 
G62*02*20010930 
 
 
 
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
  Syntax Notes:
  Semantic Notes:
Comments:   1 The NTE segment permits free-form information/data which, under ANSI X12 standard implementations, is not machine processable. The use of the NTE segment should therefore be avoided, if at all possible, in an automated environment.
  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
 
  >>   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
  Syntax Notes:
  Semantic Notes:
  Comments:
  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:   Mandatory
  Max Use:   20
  Purpose:   To specify the terms of sale
  Syntax Notes:   1   At least one of G2308 or G2309 is required.
  Semantic Notes:
Comments:   1 The G23 segment may be used for the detail or the total transaction set level. Refer to the transaction set assumptions for details on proper usage.
    2 If G2301 equals "04" (deferred or installment) then either G2313 or G2314 is required and the data in the segment pertains only to the portion of the invoice described in G2313 or G2314. If G2301 equals "11" (elective) then G2304 is required. If G2301 is not equal to "05"' (discount not applicable) then (G2305 or G2310) and (G2306 or G2307) is required. If G2301 equals "ZZ" (other) then G2315 is required. Multiple use of this segment when G2301 equals "04" (deferred or installment) always implies an "AND" relationship. When G2301 equals "06" (mixed) or "11" (elective) an "OR" relationship is always implied.
    3 G2310 is a memo figure requiring specific payment performance and therefore should not be negative.
    4 When elective terms are offered in a deferred or installment situation, G2316 (Installment Group Indicator - DE 713) must be used to properly group the terms within each installment.
  Notes:   Example: 
 
G23*03*3***2**10**30 
 
 
Data Element Summary 
                               
      Ref.   Data
    Des.   Element   Name   Attributes
  >>   G2301   336   Terms Type Code   M   ID 2/2
      Code identifying type of payment terms
     
      03 Fixed Date
 
  >>   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
  Syntax Notes:   1   At least one of N102 or N103 is required.
      2   If either N103 or N104 is present, then the other is required.
  Semantic Notes:
Comments:   1 This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
    2 N105 and N106 further define the type of entity in N101.
  Notes:   Example: 
 
N1*ST*SHIPTO NAME*9*1234567890000 
 
Data Element Summary 
                               
      Ref.   Data
    Des.   Element   Name   Attributes
  >>   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
  Syntax Notes:   1   At least one of G7203 G7205 G7208 or G7209 is required.
      2   Only one of G7205 G7208 or G7209 may be present.
      3   If either G7206 or G7207 is present, then the other is required.
      4   If either G7209 or G7210 is present, then the other is required.
      5   If G7211 is present, then G7203 is required.
Semantic Notes:   1 G7209 is the allowance or charge percent.
Comments:   1 The G73 segment is required when G7201 contains code "499" or "999"; however, the use of these codes is discouraged.
  Notes:   Example: 
 
G72*54*02 
 
 
Data Element Summary 
                               
      Ref.   Data
    Des.   Element   Name   Attributes
  >>   G7201   340   Allowance or Charge Code   M   ID 1/3
      Code identifying the type of allowance or charge
     
      54 Pick-up Allowance
 
  >>   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
  Syntax Notes:   1   At least one of G6804 or G6805 is required.
      2   If either G6805 or G6806 is present, then the other is required.
      3   If either G6807 or G6808 is present, then the other is required.
      4   If either G6810 or G6811 is present, then the other is required.
  Semantic Notes:
Comments:   1 G6802 qualifies G6801.
  Notes:   Example: 
 
G68*100*CA*102.48*004000001105*UA*004000001105 
 
 
Data Element Summary 
                               
      Ref.   Data
    Des.   Element   Name   Attributes
  >>   G6801   330   Quantity Ordered   M   R 1/15
      Quantity ordered
  >>   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
  Syntax Notes:   1   At least one of G7203 G7205 G7208 or G7209 is required.
      2   Only one of G7205 G7208 or G7209 may be present.
      3   If either G7206 or G7207 is present, then the other is required.
      4   If either G7209 or G7210 is present, then the other is required.
      5   If G7211 is present, then G7203 is required.
Semantic Notes:   1 G7209 is the allowance or charge percent.
Comments:   1 The G73 segment is required when G7201 contains code "499" or "999"; however, the use of these codes is discouraged.
  Notes:   Example: 
 
G72*97*02*A1A123**2.16 
 
 
 
Data Element Summary 
                               
      Ref.   Data
    Des.   Element   Name   Attributes
  >>   G7201   340   Allowance or Charge Code   M   ID 1/3
      Code identifying the type of allowance or charge
     
      97 Cents Off
 
  >>   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
      06   Charge to be Paid by Customer
 
      G7203   341   Allowance or Charge Number   X   AN 1/16
      The number assigned by a vendor referencing an allowance, promotion, deal or charge
      6 digit promotion code.
      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
  Syntax Notes:   1   If either G7603 or G7604 is present, then the other is required.
      2   If either G7605 or G7606 is present, then the other is required.
      3   If G7607 is present, then G7604 is required.
Semantic Notes:   1 G7608 indicates the total monetary amount of the purchase order as determined by the buyer.
Comments:   1 G7602 qualifies G7601.
  Notes:   Example: 
 
G76*2*CA*2*LB****2.00 
 
 
Data Element Summary 
                               
      Ref.   Data
    Des.   Element   Name   Attributes
  >>   G7601   330   Quantity Ordered   M   R 1/15
      Quantity ordered
      G7601 contains the hash totals of all G6801 values.
  >>   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)
  Syntax Notes:
  Semantic Notes:
Comments:   1 SE is the last segment of each transaction set.
  Notes:   Example: 
 
SE*32*10012 
 
 
Data Element Summary 
                               
      Ref.   Data
    Des.   Element   Name   Attributes
  >>   SE01   96   Number of Included Segments   M   N0 1/10
      Total number of segments included in a transaction set including ST and SE segments
  >>   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

Back     Home