Cinchoo / ChoETL.NACHA

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

FileControlRecord not created when row length is not 94 characters #24

Closed lalberto-tis closed 5 years ago

lalberto-tis commented 5 years ago

If FileControlRecord does not have 94 characters length, the record is not created and throws an exception.

This is an example of FileControl row: 9002590002614000209586395558861000000000000015453666250

This is the exception: image

The issue: image

It's not being validated in case of empty or row length < 94

Cinchoo commented 5 years ago

Thanks for reporting it. Identified the issue, putting fix. Will update once code commited.

Cinchoo commented 5 years ago

new package released with fixes. Take the latest and try it. Let me know.