bots-edi / bots

Bots EDI Translator
GNU General Public License v3.0
138 stars 83 forks source link

Enhance 997 Generation Modifiability #20

Open JCapriotti opened 7 years ago

JCapriotti commented 7 years ago

Bots generates a default X12 997 after processing an inbound file. I don't completely understand the ins and outs of what its doing but it lacks some flexibility. Here is one example:

The basic need is generated 997s are are missing some ways to tweak the output. Not sure if there are others or if I am alone on this. Either way, I have been trying to figure out a non-intrusive way to do this (i.e. not in Bots core code) and haven't gotten anywhere.

I may have to make this change in Bots itself, and wanted to bring it up to elicit needs or concerns.

woutervh commented 7 years ago

pull-requests are welcome, since I don't have currently have enough EDI-expertise.

JCapriotti commented 7 years ago

Refining the general requirement here... open for discussion/additions...

I'd like a way to get the inbound file ISA values while creating the 997 ack. This seems logical to do in a translation. Currently, the ack ISA values seem to be fixed.

I plan to write a test to verify existing functionality, and add the enhanced functionality with supporting tests and without breaking existing functionality tests.