RE: Suite script to import and run csv file
Hi Expert,In order to create a journal entry we need to populate a csv file with required fields and run in the UI.Can we write a suitte script to read the csv file and run that csv file to generate a journal entry .Could you please help out ?
What I would do is create a Suitelet script with a field of type FILE, and a button.
When the user presses the button it sends POST to the same suitelet script.
Have the POST request parse the CSV file with
'N/file'or what I use is Papa Parse (you can load into the script like this
You can redirect the user to created record after it finishes saving.