Skip to content

Instantly share code, notes, and snippets.

View scottdrussell's full-sized avatar

Scott Russell scottdrussell

View GitHub Profile
/**
* @NApiVersion 2.x
*/
require(['N/file', 'N/error', 'N/log'], function (file, error, log) {
// This sample calculates the total for the
// second column value in a CSV file.
//
// Each line in the CSV file has the following format:
// date,amount