CDW
/
Price/Sales Catalog
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from CDW. Contact CDW for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
CDW logo

X12 832 Price/Sales Catalog

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Price/Sales Catalog Transaction Set (832) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide for customary and established business and industry practice relative to furnishing or requesting the price of goods or services in the form of a catalog.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • CDW Price/Sales Catalog
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/cdw/pricesales-catalog/01H82EXHQ17WEFKR3HWN5FRFXY
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
010
Transaction Set Header
Max use 1
Required
BCT
020
Beginning Segment for Price/Sales Catalog
Max use 1
Required
REF
050
Reference Identification
Max use 1
Optional
DTM
070
Date/Time Reference
Max use 10
Required
CUR
090
Currency
Max use 5
Optional
N1 Loop
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1

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

Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10

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)

ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10

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)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

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

Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15

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

ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

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

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15

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

ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format

Time of the interchange

ISA-11
I10
Interchange Control Standards Identifier
Required
Identifier (ID)

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

U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

This version number covers the interchange control segments

00401
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1

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

0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1

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

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1

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

>
Component Element Separator

Functional Group Header

RequiredMax use 1

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

Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)

Code identifying a group of application related transaction sets

SC
Price/Sales Catalog (832)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

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

GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15

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

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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)

GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2

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

T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)

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

004010
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997

Heading

ST
010
Heading > ST

Transaction Set Header

RequiredMax use 1

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

Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)

Code uniquely identifying a Transaction Set

  • The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
832
Price/Sales Catalog
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

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

BCT
020
Heading > BCT

Beginning Segment for Price/Sales Catalog

RequiredMax use 1

To indicate the beginning of the Price/Sales Catalog Transaction Set and specify catalog purpose and number information

Example
BCT-01
683
Catalog Purpose Code
Required
Identifier (ID)

Code indicating purpose of catalog

PC
Price Catalog
SC
Sales Catalog
BCT-02
684
Catalog Number
Required
String (AN)
Min 1Max 15

Identifying number for catalog or superseded catalog

BCT-09
352
Description
Optional
String (AN)
Min 1Max 80

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

BCT-10
353
Transaction Set Purpose Code
Optional
Identifier (ID)
Min 2Max 2

Code identifying purpose of transaction set

Usage notes

All valid standard codes are used.

REF
050
Heading > REF

Reference Identification

OptionalMax use >1

To specify identifying information

Example
REF-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

Usage notes

All valid standard codes are used.

REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

DTM
070
Heading > DTM

Date/Time Reference

RequiredMax use 10

To specify pertinent dates and times

Example
DTM-01
374
Date/Time Qualifier
Optional
Identifier (ID)
Min 3Max 3

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

Usage notes

All valid standard codes are used

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

CUR
090
Heading > CUR

Currency

OptionalMax use 5

To specify the currency (dollars, pounds, francs, etc.) used in a transaction

Example
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)

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

SE
Selling Party
CUR-02
100
Currency Code
Required
Identifier (ID)

Code (Standard ISO) for country in whose currency the charges are specified

CAD
Canadian Dollar
USD
US Dollar
N1 Loop
OptionalMax >1
N1
150
Heading > N1 Loop > N1

Name

RequiredMax use 1

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

Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
Min 2Max 3

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

Usage notes

All valid standard codes are used
Manufacturer Name must be sent either in the N102 or in the LIN with “MF” qualifier

Required
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

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

1
D-U-N-S Number, Dun & Bradstreet
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
91
Assigned by seller
92
assigned by buyer
93
assigned by buyer
94
Assigned by seller
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

  • 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.
Usage notes

Either a static value assigned or SIC codes for gov/ed

N2
160
Heading > N1 Loop > N2

Additional Name Information

OptionalMax use 2

To specify additional names or those longer than 35 characters in length

Example
Optional
String (AN)
Min 1Max 60

Free-form name

Optional
String (AN)
Min 1Max 60

Free-form name

N3
170
Heading > N1 Loop > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Example
N3-01
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

N4
180
Heading > N1 Loop > N4

Geographic Location

OptionalMax use >1

To specify the geographic place of the named party

Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

N1 Loop end
Heading end

Detail

LIN Loop
OptionalMax >1
LIN
010
Detail > LIN Loop > LIN

Item Identification

RequiredMax use 1

To specify basic item identification data

Usage notes

CDW Part Number, Vendor Part Number and Manufacturer Part Number are required. When Manufacturer Part
Number is sent, Manufacturer Name is required.

Example
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
If either Product/Service ID Qualifier (LIN-08) or Product/Service ID (LIN-09) is present, then the other is required
If either Product/Service ID Qualifier (LIN-12) or Product/Service ID (LIN-13) is present, then the other is required
If either Product/Service ID Qualifier (LIN-14) or Product/Service ID (LIN-15) is present, then the other is required
If either Product/Service ID Qualifier (LIN-16) or Product/Service ID (LIN-17) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • LIN01 is the line item identification
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)

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

  • LIN02 through LIN31 provide for fifteen different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
VN
Vendor’s Part Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

LIN-04
235
Product/Service ID Qualifier
Required
Identifier (ID)

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

MG
Manufacturer's Part Number
LIN-05
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

BP
CDW's Part Number
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

LIN-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

OE
OEM Part Number
LIN-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

UP
U.P.C. Consumer Package Code
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

LIN-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

UR
UCC/EAN-128 Coupon Extended Code
LIN-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

LIN-14
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

MF
Manufacturer’s Name
LIN-15
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

LIN-16
235
Product/Service ID Qualifier
Optional
Identifier (ID)

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

AC
Aggregation Code (Used to Consolidate Part Families)
LIN-17
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

DTM
030
Detail > LIN Loop > DTM

Date/Time Reference

RequiredMax use 10

To specify pertinent dates and times

Example
DTM-01
374
Date/Time Qualifier
Optional
Identifier (ID)

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

001
Cancel After
007
Effective
128
Replacement Effective
Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

REF
040
Detail > LIN Loop > REF

Reference Identification

OptionalMax use >1

To specify identifying information

Example
REF-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

Usage notes

All valid standard codes are used.

REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

YNQ
045
Detail > LIN Loop > YNQ

Yes/No Question

OptionalMax use 10

To identify and answer yes and no questions, including the date, time, and comments further qualifying the condition

Example
YNQ-02
1073
Yes/No Condition or Response Code
Required
Identifier (ID)
Min 1Max 1

Code indicating a Yes or No condition or response

  • YNQ02 confirms or denies the statement made in YNQ01, YNQ09 or YNQ10. A "Y" indicates the statement is confirmed; an "N" indicates the statement is denied.
Usage notes

All valid standard codes are used.

YNQ-05
933
Free-Form Message Text
Required
String (AN)
Min 1Max 264

Free-form message text

CTB
060
Detail > LIN Loop > CTB

Restrictions/Conditions

OptionalMax use 25

To specify restrictions/conditions (such as shipping, ordering)

Example
If either Quantity Qualifier (CTB-03) or Quantity (CTB-04) is present, then the other is required
At least one of Description (CTB-02), Quantity (CTB-04) or Amount (CTB-06) is required
If either Amount Qualifier Code (CTB-05) or Amount (CTB-06) is present, then the other is required
CTB-01
688
Restrictions/Conditions Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type of restriction/condition

Usage notes

Code specifying type of date or time, or both date and time
All valid codes used.

CTB-02
352
Description
Optional
String (AN)
Min 1Max 80

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

CTB-03
673
Quantity Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code specifying the type of quantity

Usage notes

CDW requires partner to use Code 57 for any and all items subject to supplier minimum order quantity requirements.

CTB-04
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

CTB-05
522
Amount Qualifier Code
Optional
Identifier (ID)
Min 1Max 3

Code to qualify amount

Usage notes

All valid codes used.

CTB-06
610
Amount
Optional
Numeric (N2)
Min 1Max 15

Monetary amount

PID
070
Detail > LIN Loop > PID

Product/Item Description

OptionalMax use 200

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

Example
PID-01
349
Item Description Type
Optional
Identifier (ID)

Code indicating the format of a description

  • If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
F
Free-form
PID-05
352
Description
Optional
String (AN)
Min 1Max 80

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

PKG
090
Detail > LIN Loop > PKG

Marking, Packaging, Loading

OptionalMax use 25

To describe marking, packaging, loading, and unloading requirements

Example
PKG-02
753
Packaging Characteristic Code
Optional
Identifier (ID)
Min 1Max 5

Code specifying the marking, packaging, loading and related characteristics being described

Usage notes

Used to identify EU-saleable package, i.e. single vs multipack quantities

PO4
100
Detail > LIN Loop > PO4

Item Physical Details

OptionalMax use 1

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

Example
If either Size (PO4-02) or Unit or Basis for Measurement Code (PO4-03) is present, then the other is required
If Weight Qualifier (PO4-05) is present, then Gross Weight per Pack (PO4-06) is required
If either Gross Weight per Pack (PO4-06) or Unit or Basis for Measurement Code (PO4-07) is present, then the other is required
If Length (PO4-10) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Width (PO4-11) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Height (PO4-12) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Unit or Basis for Measurement Code (PO4-13) is present, then at least one of Length (PO4-10), Width (PO4-11) or Height (PO4-12) is required
Optional
Numeric (N0)
Min 1Max 6

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

Usage notes

The number of eaches per outer container (“Master Pack” case quantity).
Note: Use for first outer pack over EU-saleable units. Use 0 value for Ready-Ship items

Optional
Decimal number (R)
Min 1Max 8

Size of supplier units in pack

PO4-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)

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

  • PO403 - The "Unit or Basis for Measure Code" in this segment position is for purposes of defining the pack (PO401) /size (PO402) measure which indicates the quantity in the inner pack unit. For example: If the carton contains 24 12-Ounce packages, it would be described as follows: Data element 356 = "24"; Data element 357 = "12"; Data element 355 = "OZ".
Usage notes

Unit or Basis of measurement code.

EA
Eaches
PO4-04
103
Packaging Code
Optional
String (AN)
Min 3Max 5

Code identifying the type of packaging; Part 1: Packaging Form, Part 2: Packaging Material; if the Data Element is used, then Part 1 is always required

Usage notes

Code identifying type of packaging
All valid codes, at minimum CAS (Manufacturer Master Pack) required

PO4-05
187
Weight Qualifier
Optional
Identifier (ID)

Code defining the type of weight

U
Weight Per Unit
PO4-06
384
Gross Weight per Pack
Optional
Decimal number (R)
Min 1Max 9

Numeric value of gross weight per pack

PO4-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)

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

LB
Pound
PO4-10
82
Length
Optional
Decimal number (R)
Min 1Max 8

Largest horizontal dimension of an object measured when the object is in the upright position

Optional
Decimal number (R)
Min 1Max 8

Shorter measurement of the two horizontal dimensions measured with the object in the upright position

PO4-12
65
Height
Optional
Decimal number (R)
Min 1Max 8

Vertical dimension of an object measured when the object is in the upright position

PO4-13
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)

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

  • PO413 defines the unit of measure for PO410, PO411, and PO412.
Usage notes

Unit or Basis of measurement code

IN
Inch
SAC
150
Detail > LIN Loop > SAC

Service, Promotion, Allowance, or Charge Information

OptionalMax use >1

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

Example
SAC-01
248
Allowance or Charge Indicator
Optional
Identifier (ID)

Code which indicates an allowance or charge for the service specified

  • If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
Usage notes

An 'A' will indicate a reduction in the invoice amount. A 'C' will indicate
a charge, or an increase in the invoice amount.

A
Allowance
C
Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Optional
Identifier (ID)
Min 4Max 4

Code identifying the service, promotion, allowance, or charge

SAC-05
610
Amount
Optional
Numeric (N2)
Min 1Max 15

Monetary amount

  • SAC05 is the total amount for the service, promotion, allowance, or charge.
  • If SAC05 is present with SAC07 or SAC08, then SAC05 takes precedence.
SAC-12
331
Allowance or Charge Method of Handling Code
Optional
Identifier (ID)
Min 2Max 2

Code indicating method of handling for an allowance or charge

CTP Loop
OptionalMax 100
CTP
170
Detail > LIN Loop > CTP Loop > CTP

Pricing Information

RequiredMax use 1

To specify pricing information

Example
CTP-01
687
Class of Trade Code
Optional
Identifier (ID)
Min 2Max 2

Code indicating class of trade

CTP-02
236
Price Identifier Code
Required
Identifier (ID)

Code identifying pricing specification

C01
Contract (CDW – Supplier) – replaces CON
DAP
Dealer Adjusted Price
GOV
Federal Government (Non-GSA)
GSA
Federal GSA(-only) Price
MSR
Mfg Suggested Price
N02
Higher Education
N03
K-12
N04
State Government
N05
Education Other
PRP
Promotional price
CTP-03
212
Unit Price
Required
Decimal number (R)
Min 1Max 15

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

  • See Figures Appendix for an example detailing the use of CTP03 and CTP04.
  • See Figures Appendix for an example detailing the use of CTP03, CTP04 and CTP07.
CTP-04
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

CTP-05
C001
Composite Unit of Measure
OptionalMax use 1
To identify a composite unit of measure (See Figures Appendix for examples of use)
C001-01
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2

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

LDT
190
Detail > LIN Loop > CTP Loop > LDT

Lead Time

OptionalMax use 1

To specify lead time for availability of products and services

Example
LDT-01
345
Lead Time Code
Optional
Identifier (ID)

Code indicating the time range

AE
From date of PO receipt to shipment
AF
From date of PO receipt to delivery
LDT-02
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • LDT02 is the quantity of unit of time periods.
LDT-03
344
Unit of Time Period or Interval
Optional
Identifier (ID)

Code indicating the time period or interval

DA
Calendar Days
DW
Work Days
CTP Loop end
N1 Loop
OptionalMax >1
N1
230
Detail > LIN Loop > N1 Loop > N1

Name

RequiredMax use 1

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

Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

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

MF
Manufacturer Name
Required
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

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

1
D-U-N-S Number, Dun & Bradstreet
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
91
assigned by seller
92
assigned by buyer
93
assigned by buyer
94
assigned by seller
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

  • 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.
N1 Loop end
SLN Loop
OptionalMax >1
SLN
350
Detail > LIN Loop > SLN Loop > SLN

Subline Item Detail

RequiredMax use 1

To specify product subline detail item data

Example
If Basis of Unit Price Code (SLN-07) is present, then Unit Price (SLN-06) is required
If Relationship Code (SLN-08) is present, then Unit Price (SLN-06) is required
SLN-01
350
Assigned Identification
Required
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • SLN01 is the identifying number for the subline item.
  • SLN01 is related to (but not necessarily equivalent to) the baseline item number. Example: 1.1 or 1A might be used as a subline number to relate to baseline number 1.
SLN-02
350
Assigned Identification
Optional
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • SLN02 is the identifying number for the subline level. The subline level is analogous to the level code used in a bill of materials.
SLN-03
662
Relationship Code
Required
Identifier (ID)

Code indicating the relationship between entities

  • SLN03 is the configuration code indicating the relationship of the subline item to the baseline item.
O
Information Only
SLN-04
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SLN-05
C001
Composite Unit of Measure
RequiredMax use 1
To identify a composite unit of measure (See Figures Appendix for examples of use)
C001-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2

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

SLN-06
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15

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

SLN-07
639
Basis of Unit Price Code
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type of unit price for an item

SLN-08
662
Relationship Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating the relationship between entities

  • SLN08 is a code indicating the relationship of the price or amount to the associated segment.
SLN-09
235
Product/Service ID Qualifier
Required
Identifier (ID)

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

  • SLN09 through SLN28 provide for ten different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
DV
Location Code
SLN-10
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

SLN Loop end
LIN Loop end
Detail end

Summary

CTT
010
Summary > CTT

Transaction Totals

RequiredMax use 1

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

  • Number of line items (CTT01) is the accumulation of the number of LIN segments.
    Hash total (CTT02) is not used in this transaction.
Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6

Total number of line items in the transaction set

SE
020
Summary > SE

Transaction Set Trailer

RequiredMax use 1

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10

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

SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

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

Summary end

Functional Group Trailer

RequiredMax use 1

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

Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6

Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

To define the end of an interchange of zero or more functional groups and interchange-related control segments

Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5

A count of the number of functional groups included in an interchange

IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

EDI Samples

CDW Price/Sales Catalog

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231101*0139*U*00401*000000001*0*T*>
GS*SC*SENDERGS*RECEIVERGS*20231101*013918*000000001*X*004010
ST*832*0001
BCT*PC*20000508********04
REF*CT*12ABC
DTM*007*20000508
CUR*SE*USD
N1*MF*ABC COMPANY*1*123456789
LIN**VN*12345*MG*67890
DTM*128*20000508
CTB*SR*PRODUCT IS CONSTRAINED
PID*F****XYZ Product
PO4*****U*4*LB
CTP**DAP*90*1*EA
LDT*AE*8*DW
SLN*4**O*10*EA*484.6*DR*O*DV*10Z
CTT*1
SE*16*0001
GE*1*000000001
IEA*1*000000001

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.