ediSyntaxLevel

 Applicable To: EDIFACT

 The ediSyntaxLevel represents a syntax level which defines the delimiters and characters allowed in processing an interchange.  Service characters (delimiters) can be defined for a syntax level whereby an interchange specifying the syntax level will use the service characters.  The same interchange must also contain only characters defined in the syntax level.  If no character repertoire is defined then the interchange is not constrained to the character sets and all characters are accepted as valid.  A document can contain multiple interchanges, each interchange specifying a different syntax level which will be used only within the scope of that interchange.   Multiple syntax levels can be added but only one syntax level can be referenced by an interchange in a document.

 When an instance of a syntax level is created, no characters sets are defined and the following default service characters are used: 

 When FREDI is set to automatically detect the delimiters, the service character delimiters set in the syntax level will be used in the interchange that is being referenced.  However, if the UNA service segment exists in the document, then the service characters specified in the UNA segment will be used instead.  If automatic detection of delimiters is disabled then neither the service characters in the syntax level nor in the UNA service segment will be used; in this case,  the service characters that should be used must explicitly be defined in the ediDocument object.

Methods

Properties