Framework EDI Reference. Methods and Properties
ediDocument. GetSchemas

Returns the schemas object.

Syntax:

Returns

    Object of type FREDI.ediSchemas.

Remarks

The ediSchemas objects allow one to control schemas for processing EDI documents.  FRED can use either its internal Standard Reference Library (SRL), or Standard Exchange Format (SEF) files to obtain the schemas for EDI documents.

Example

Dim oEdiDoc As Fredi.ediDocument
Dim oSchemas As Fredi.ediSchemas
...

Set oEdiDoc = New Fredi.ediDocument
Set oSchemas = oEdiDoc.GetSchemas
oSchemas.EnableStandardReference = False
oEdiDoc.ImportSchema "INVOIC_S93A.SEF", Schema_Standard_Exchange_Format