Index
What are Elements?
Segments contain data elements. Data elements contains actual EDI data.
Example
SEG*1*2*38*3~
A data element has certain properties. For example, it contains the minimum and maximum lengths of the data it can contain. It also has a data type. This is the type of data that the data element expects to contain.
Data Type
|
Description
|
Alphabetic
|
Only alphabetic characters
|
Identifier
|
An ID
|
String
|
Any alphanumeric character
|
Numeric
|
Integers
|
Positive Number
|
Only positive integers
|
Negative Number
|
Only negative integers
|
Decimal
|
Real numbers
|
Date
|
Dates
|
Time
|
Times
|
Data elements have an element number associated with them. The element number is used to identify the element in the EDI structure. Element numbers are unique to each element.
Adding An Element
Go to the ELEMENTS tab and click on the NEW button.
The New Element dialog will appear.
- Enter an element number for the new element in the Number text box
- Select the data type from the Data Type combo box
- Enter the minimum length and the maximum length of the data that the data element will contain.
- Enter an optional description
- Click on the SAVE button to save the new element
The element can now be used in Template Segments and Composite Elements