This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @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 |