In Suitescript 2.0 I want to check if an ID does not match with one of the IDs in the array below: In the debugger I see that .0 is added to every value in the array : Now if my ID is 1 and I do the following check: then this will always be true, because the numbers have
Tag: suitescript2.0
Write a string containing commas and double quotes to CSV
I’m trying to produce a Google Shopping feed of 30,000+ items in NetSuite, a CRM system that runs server-side JavaScript that it calls Suitescript 2.0. Essentially, it’s just JavaScript with a few more restrictions. I’ve been tasked with outputting this product feed as a CSV. The problem is that the product descriptions of these items contain variables amounts of commas,