Cinchoo / ChoETL.NACHA

A NACHA library for .NET / c#
MIT License
36 stars 32 forks source link

company names are different #29

Closed kmehmoodkhan closed 3 years ago

kmehmoodkhan commented 4 years ago

image

in the above screenshot, there are two company names underlined. I don't know how to set two company names in the config while "ChoNACHAConfiguration" class is allowing us to set "OriginatingCompanyName" only. Kindly guide how to achieve this

Cinchoo commented 4 years ago

When you create the batch using CreateBatch method, you can pass the company name.

nachaWriter.CreateBatch(200, companyName: "JR PROCUREMENT")

kmehmoodkhan commented 4 years ago

There is one more issue, the Total Credit amount is placed on Total Debit amount position image

As per specification Position 33-44, Total Credit Entry Dollar Amount in Batch As per specification Field 7, Position 44-55, Total Credit Entry Dollar Amount in File ACH_AB_20201902_090227.txt

For reference, I have attached the file

kmehmoodkhan commented 4 years ago

Thank you very much for your help. Your support is absolutely outstanding.