Framework EDI Reference. Methods and Properties
ediDataSegment. Definition

Returns the matching definition object of the Data Segment obtained from the schema.

Syntax:

Returns:

Returns an object of type FREDI.ediScmDataSegment if the matching definition was found in the schema for the Data Segment.  Otherwise NULL or empty is returned.

  Example:

Both command lines will return the same value.

MsgBox oSegment.ID 

MsgBox oSegment.Definition.ID