Framework EDI Reference. Methods and Properties
ediAcknowledgment.EnableFunctionalAcknowledgment

Enables the generation of an ASC/X12 Functional Acknowledgment or an UN/EDIFACT Service Report when the EDI file is loaded.

Syntax:

Controlling Agency:

Parameters:

Returns

Returns TRUE if Functional Acknowledgment processing is enabled, FALSE if disabled.

Remarks

When a document is loaded, it is automatically checked for correctness but acknowledgments are not automatically generated.  When acknowledgment processing is enabled, the errors detected are translated into the acknowledgment error codes and an acknowledgment document is created internally represented in a hierarchical tree structure.  The values can be accessed and edited before finally deciding to save it to a file.

Example

:

Set oAck = oEdiDoc.GetAcknowledgment
oAck.EnableFunctionalAcknowledgment = True
oEdiDoc.LoadEdi sEdiFile
oAck.Save sAckfile