Example 21 is a good example of using a CSV to generate an 837 file.
We recently added some fields to example 21 and a couple of things to
note
when doing so.
We added the fields
FIELD=0,CLAIMFREQUENCYCODE,c,2
and
FIELD=0,NDCCODE1,c,20
FIELD=0,NDCCODE2,c,20
in their appropriate position within our BCU mapping file.
After this is done and we have saved the file, we need to Beautify it
so that position order of the fields in the map are in sequence. Once
this is done
we need to set the recordfieldcount in the config section of the BCU
to equal the number
of fields in our map. In this case recordfieldcount=63.
Examples Page
http://com1software.com/c1180.htm