E-Payment Integrator V6 - Online Help
E-Payment Integrator V6
Questions / Feedback?

ConvertACH Method

Converts a file from ACH format into XML.

Syntax

[VB.NET]
Public Sub ConvertACH()
[C#]
public void ConvertACH();

Remarks

This method converts an ACH-formatted file into an XML format. This XML can easily be viewed, edited, or otherwise manipulated, and then converted back to ACH format at a later date using the ConvertXML method. The source ACH file can be specified by the SetInputStream method or the InputFile and InputString properties, and the destination XML by the SetOutputStream method or OutputFile, and OutputString properties.

When the ConvertACH method is called, the source ACH file is validated in several ways. The format of each record in the file is checked before it is converted to XML. The validity of data contained within each field in the record is also checked. Any formatting error or incorrect data (for instance, a character in an integer-only field) will cause the component to fail with an error.

In addition, each ACH file contains several Batch Control records and a final File Control Record. These records contain information about the transactions contained within the ACH file. The data contained within these control records is used to make sure the ACH files have not been corrupted, and have not lost records in the transmission process. The component will by default validate the data contained in these control records. However, you can override this functionality by changing the VerifyMode (note that VerifyMode does not affect the format or data validity checks).

NOTE: This method has a corresponding asynchronous version (ConvertACHAsync) for use in the WinRT environment.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0