Reply To: reformatting x12 file for payer

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf reformatting x12 file for payer Reply To: reformatting x12 file for payer

#56650
Brian Davis
Participant

    Nora,

    Since you are coding this in tcl, your solution may be easier. Remember, you are in contorol when you write records out to files.

    You build your 1000 loop and write it out. Build your 2000 loop and write it out. Build your 2300 loop and write it out. Build your 2310 loop and write it out. Here is where your hole is. Build your 2400, 2410, 2420 loops and hold them. Build your 2310 loop and write it out. Now write out the loops you had stored up.

    This is very simplistic, but I hope you can see my point.