<@U4XUC77K4> If this helps at all, here's the code...
# suitescript
m
@sam If this helps at all, here's the code I use for generating CSV, which is probably not RFC compliant, but it seems to work fine