Framework EDI Reference. SEFManager Utility |
|
.OBJVARS Section |
The .OBJVARS section lists all the variable names given to objects in the
implementation guideline. These variables are normally used in the
semantic reference syntax defined in the .SEMREFS
section. Allowing use of object variables makes the reference to objects
easier and provide additional syntactical meaning to the semantic reference
syntax. For example, an object referenced in the SEF guideline as
"850/8///2" is easier to read when it is assigned a variable
"PriceIdCode850".
850/8///2=PriceIdCode850
The general syntax of an object variable is defined as follows:
<location> := <variable name>
Where:
- Location is the
object in the SEF file that the variable name references to.
- Variable name is any alphanumeric name which is unique.
More examples:
- The following variables "Cur05Segment" and "CurrencyVar"
reference the data segment CUR (Currency), which is at ordinal position
5 in the ASC/X12 Transaction Set 850.
- 850/5///=Cur05Segment
- 850/5///=CurrencyVar
- The following variable "ExchangeRate" references the data
element 280 (Exchange Rate), which is the third ordinal in the data segment
CUR. The data segment has ordinal number 5 in the ASC/X12 Transaction
Set 850.
- The following variable "MeasurementInfo" references the
composite element C001 (Composite Unit Of Measure) which has ordinal number
4 in data segment MEA. The MEA data segment has ordinal number 22 in
the ASC/X12 Transaction Set 850.
- 850/22///4=MeasurementInfo
- The following variables "Mea04SubElement" and
"Mea04SubElement2" reference the
component element 1018 (Exponent), which has ordinal number 2 in the
composite element C001. The composite element C001 has ordinal number
4 in the data segment MEA, which in turn has ordinal number 22 in the
ASC/X12 Transaction Set 850.
- 850/22///4-2=Mea04SubElement
- 850/22///4-2=Mea04SubElement2