In this tutorial we’ll discuss How load an 4010 810 Invoice. The source code for this article in located in the ‘Load 810 Invoice’ sample .Net project in our FREE 30 Day Download.
We’ll use the EDIValidator component. It takes two parameters, a validation rules file and an EDI file ( or string ) to load. The overall loading and validation process looks like the diagram below.
A validation rule file contains all the data elements, segments, and loop meta data pertaining to a specific implementation guide.
The first thing we’ll do is initialize our EDIValidator. It will use the 4010 810 validation rules
All the hard work is done! All we need to do now is consume the data and take what we need. We can use Typed4010Document for this.