AnsweredAssumed Answered

groovy script - add lines to csv

Question asked by LJCeranic8951 on Feb 9, 2015
Latest reply on Feb 15, 2015 by LJCeranic8951
I need to add 3 lines to a csv file that I then map and process into Netsuite.

Bit of context -  I have sales orders which come in as csv files that have hundreds of line items (products) in them.  I need to then add the subtotal line item at the end of this file as well as 2 discount line items.  The only way I can think of doing this is via custom scripting in the data process stage.

Anyone know how to append new line/s to a csv in Boomi via Groovy script?  Or if there's a much easier way to do this I am all ears.. Thanks for the help in advance.

Thanks, LJ

Outcomes