Professional Documents
Culture Documents
The format of an EDI file can be described as follows: [RecordType] (delimiter or fixed length padding) RecordCounter | data. For example: given a file format of pipe delimited with trimmed spaces and a simple HDR/DTL record type HDR|6|||| DTL|1|ABC|xyz|123|1 DTL|13|ABC|animal|334|1 DTL|11|ABC|sfdk|432|2 DTL|12|ABC|wewdc|3|1 DTL|14|ABC|qwdx|416|4 Where: The first header (HDR) line contains a "checksum" record counter that is used to verify the total number of lines in the file. This count includes the HDR line itself. Each detail line contains the record type (DTL) followed by the data values. The column containing "ABC" would be the dealer key for ABC Company SLIK will create the header line and calculate the line count if no column mapping is specified for the "first" record (i.e., a record type having precedence equal to zero) in the EDI Mapping table. Otherwise the user can define the columns (using EDI Column Mapping) that make up the "header" record and declare one of the columns to be used as a record counter. SLIK can support an unlimited number of record types that may include sub-detail type lines. SLIK EDI also supports a variable number of columns between the various record types.