SECTION REFERENCE
Description
In the SECTION REFERENCE fixed mappings from specific imported field values to other field values are defined.
Tabs and comments must not be used!!!
Syntax for a reference list:
TargetDataType,ReferenceName
{
ImportString=NewString;
.
.
.
};
If a field is to be affected by the SECTION REFERENCE the import data type in the SECTION IMPORT R or RL must be specified.
As the reference to the SECTION REFERENCE the ReferenceName is specified as the last parameter of the SECTION IMPORT statement.
The actual field data type is determined only by specifying the TargetDataType in the SECTION REFERENCE for the associated Reference list .
Example:
If the field Status contains 0 (NULL), this should become QUOTE ; however, if this field (Status) contains 1 this should become ORDER .
SECTION SYSTEM;
.
.
.
SECTION IMPORT;
A,30,"",Address;
R,01,"",Status,StatusReference;
F,05,"",Amount;
SECTION REFERENCE;
A,StatusReference
{
"0"="QUOTE";
"1"="ORDER";
};
SECTION INIT;
.
.
.
See:
SECTION IMPORT
SECTION SYSTEM
SECTION INIT
SECTION PROCESSING
SECTION EOF
IMPORT IDF
DATABASE
IDF Document
AEF Document
PRG Document
Note : This text was machine-translated and may contain inaccuracies.
