Framework EDI Reference. Methods and Properties
ediAcknowledgment. Save

Saves acknowledgments or service reports that were generated internally to an external file.

Syntax:

Controlling Agency:

Parameters:

Returns

Returns a value of 1 if successful, otherwise 0 if the operation failed.

Remarks

If the properties EnableFunctionalAcknowledgment and EnableInterchangeAcknowledgment are set to enable processing of Functional Acknowledgment and Interchange Acknowledgment respectively, the document tree is created internally when the EDI document is loaded. The Acknowledgments can then be dumped to a file specified in the Save method.

Example

:

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