Framework EDI Reference. Methods and Properties
ediSchemas. EnableStandardReference

Enables the load of an implementation guideline from the Standard Reference Library if an external file implementation guideline version does not match the version specified in the EDI document.

Syntax:

Remarks

When multiple implementation guideline files are imported so as to process multiple EDI documents, the implementation guideline that matches the controlling agency, version and industry specified in the EDI document will be used to process the EDI document. If there is no exact match, the best implementation guideline will be automatically selected from the files and from the Standard Reference Library. By default, the property setting is enabled so that the implementation guideline from the Standard Reference Library is loaded if the best match is found in the Standard Reference Library.

Example of how to disable the Standard Reference Library

Dim oEdiDoc As Fredi.ediDocument
Dim oSchemas As Fredi.ediSchemas
Set oEdiDoc = New Fredi.ediDocument

‘This stops FREDI from using its internal SRL, and only use the SEF file provided
Set oSchemas = oEdiDoc.GetSchemas
oSchemas.EnableStandardReference = False

oEdiDoc.LoadSchema sSefFile, 0