Skip to main content

Dex Line Text Definitions and Fields

Distributor reference to DEX/UCS segment and field definitions (DXS, G82, G83, G72, G84 and more) in the 894 delivery and 895 adjustment transactions used for DEX in Encompass. Requires v23.01+.

B
Written by Bailey Naas-Thornton

Minimum Version Required: 23.01

Pre-Conditions

APPLICATION HEADER/TRAILER
​
​

DXS: DEX/UCS APPLICATION HEADER

  • DXS01 Vendor Communications ID, (must be 10 digits)
    ​
    ​

  • DXS02 Functional Identifier Code
    ​
    ​

  • DXS03 Version/Release/Industry Identifier Code
    ​
    ​

  • DXS04 Transmission Control Number
    ​
    ​

  • DXS05 Communication ID
    ​
    ​

  • DXS06 Test Indicator (P-Production Data)
    ​
    ​

DXE: DEX/UCS APPLICATION TRAILER

  • DXE01 Transmission Control Number
    ​
    ​

  • DXE02 Number of Transaction Sets Included
    ​
    ​

LS: LOOP HEADER
​

  • LS01 Loop Identifier Code
    ​
    ​

LE: LOOP TRAILER

  • LE01 Loop Identifier Code

Steps

894 DELIVERY/RETURN BASE RECORD

ST: TRANSACTION SET HEADER

  • ST01 Transaction Set Identifier Code
    ​

  • ST02 Transaction Set Control Number
    ​
    ​

G82: DELIVERY/RETURN BASE RECORD IDENTIFIER

  • G8201 Credit/Debit Flag Code

  • G8202 Supplier’s Delivery/Return Number

  • G8203 D-U-N-S Number

  • G8204 Location Number

  • G8205 Vendor D-U-N-S Number, (must be 9 digits)

  • G8206 Supplier’s Location Number

  • G8207 Physical Delivery or Return Date
    ​
    ​

LS: LOOP HEADER (DETAIL)

  • LS01 Loop Identifier Code
    ​
    ​

G83 : LINE ITEM DETAIL/DIRECT STORE DELIVERY (DETAIL)

  • G8301 Direct Store Delivery Sequence Number

  • G8302 Quantity, /adjust.

  • G8303 Unit of Measure, Only ‘CA’-Case, ‘EA’-Each are accepted

  • G8304 UPC/EAN, 12 digit value starting with 2 high order digits identifying system (U.S. Grocery= 00,06 or 07, U.S. Drug=03) followed by manufacturer id (5 digits) and the Item Id (5 digits). Do not include check digit.

  • G8305 Product/Service ID Qualifier, will use ‘DI’ for deposits

  • G8306 Product/Service ID,

  • G8307 UPC Case Code,

  • G8308 Item List Cost, required.

  • G8309 Pack, CVS will use, if G8303=CA

  • G8310 Cash Register Item Description,

  • G8311 Product/Service ID Qualifier,

  • G8312 Product/Service ID,

  • G8313 Inner Pack,
    ​
    ​

G72: ALLOWANCE OR CHARGE (DETAIL)

  • G7201 Allowance/Charge Code

  • G7202 Allowance or Charge Method of Handling Code, should be ‘02’

  • G7203 Allowance or Charge Number,

  • G7204

  • G7205 Allowance or Charge Rate

  • G7206 Allowance or Charge Quantity

  • G7207 Unit or Basis for Measurement Code

  • G7208 Allowance or Charge Total Amount

  • LE: LOOP TRAILER (DETAIL)
    ​
    ​

LE01 Loop Identifier Code

G72: ALLOWANCE OR CHARGE (SUMMARY)

  • G7201 Allowance/Charge Code.

  • G7202 Allowance or Charge Method of Handling Code

  • G7203 Allowance or Charge Number

  • G7204

  • G7205 Allowance or Charge Rate

  • G7206 Allowance or Charge Quantity

  • G7207 Unit or Basis for Measurement Code

  • G7208 Allowance or Charge Total Amount
    ​
    ​

G84: DELIVERY/RETURN RECORD OF TOTALS (SUMMARY)

  • G8401 Total Quantity

  • G8402 Total Invoice Amount

  • G8403 Total Deposit Dollar Amount
    ​
    ​

G86: SIGNATURE

  • G8601 Signature

  • G8602 Will not use
    ​
    ​

G85: RECORD INTEGRITY CHECK

  • G8501 Integrity Check Value,
    ​
    ​

SE: TRANSACTION SET TRAILER

  • SE01 Number of Included Segments,

  • SE02 Transaction Set Control Number, to match ST02

Fields And Definitions

895 DELIVERY/RETURN ACKNOWLEDGMENT OR ADJUSTMENT

ST: TRANSACTION SET HEADER

  • ST01 Transaction Set Identifier Code

  • ST02 Transaction Set Control Number
    ​
    ​

G87: DELIVERY/RETURN ADJUSTMENT IDENTIFICATION

  • G8701 Initiator Code: ‘R’-Receiver(Retailer), ‘S’-Supplier (Vendor)

  • G8702 Credit/Debit Flag Code

  • G8703 Supplier’s Delivery/Return Number

  • G8704 Integrity check value

  • G8705 Adjustment number

  • G8706 Receiver’s Delivery/Return Number,
    ​
    ​

LS: LOOP HEADER (DETAIL)

  • LS01 Loop Identifier Code
    ​
    ​

G89 : LINE ITEM DETAIL/DIRECT STORE DELIVERY (DETAIL)

  • G8901 Direct Store Delivery Sequence Number

  • G8902 Quantity

  • G8903 Unit of Measure, Only ‘CA’-Case, ‘EA’-Each are accepted

  • G8904 UPC/EAN,

  • G8905 Product/Service ID Qualifier, .

  • G8906 Product/Service ID,

  • G8907 UPC Case Code,

  • G8908 Item List Cost,

  • G8909 Pack,

  • G8910 Inner Pack,
    ​
    ​

G72: ALLOWANCE OR CHARGE (DETAIL)

  • G7201 Allowance/Charge Code.

  • G7202 Allowance or Charge Method of Handling Code, should be ‘02’

  • G7203 Allowance or Charge Number,

  • G7204

  • G7205 Allowance or Charge Rate, .

  • G7206 Allowance or Charge Quantity, .

  • G7207 Unit or Basis for Measurement Code

  • G7208 Allowance or Charge Total Amount, .
    ​
    ​

LE: LOOP TRAILER (DETAIL)

  • LE01 Loop Identifier Code
    ​
    ​

G72: ALLOWANCE OR CHARGE (SUMMARY)

  • G7201 Allowance/Charge Code.

  • G7202 Allowance or Charge Method of Handling Code, should be ‘02’

  • G7203 Allowance or Charge Number,

  • G7204

  • G7205 Allowance or Charge Rate, .

  • G7206 Allowance or Charge Quantity, .

  • G7207 Unit or Basis for Measurement Code

  • G7208 Allowance or Charge Total Amount, .
    ​
    ​

G84: DELIVERY/RETURN RECORD OF TOTALS (SUMMARY)

  • G8401 Total Quantity

  • G8402 Total Invoice Amount

  • G8403 Total Deposit Dollar Amount
    ​
    ​

G86: SIGNATURE

  • G8601 Signature

  • G8602 Will not use
    ​
    ​

G85: RECORD INTEGRITY CHECK

  • G8501 Integrity Check Value,
    ​
    ​

SE: TRANSACTION SET TRAILER

  • SE01 Number of Included Segments,

  • SE02 Transaction Set Control Number, to match ST02

Did this answer your question?