Using the Plug-in Code Generator
You can use the Plug-in Code Generator to create a custom plug-in script for importing enterprise journal data from your Account Reconciliation application.
To create a custom plug-in script using the Plug-in Code Generator:
-
In NetSuite, go to NetSuite EPM > Account Reconciliation > Integration Artifacts.
-
On the Sample Plug-in Scripts subtab, click the Plug-in Code Generator link.
-
From the Plug-in Script field, select Create Journal Entries to generate a custom plug-in script to import and process journal entries using a data load rule.
-
Under Sample Journal Data File, click the button and locate a source file on your computer. This should be a simple CSV file with column headers matching those in the export file generated by running the data load rule.
-
(Optional) To have the fields from the CSV file automatically mapped to the corresponding fields in the NetSuite journal entry record, keep the Map Fields with Same Name box checked.
-
Click Upload Sample File.
-
If a value in the export file includes the record's internal ID, you need to check the Value Contains Record ID box.
Note:If a value in the export file doesn't include the record's internal ID, ensure there are no duplicate records with the same name.
-
In the Field Mapping section, make any necessary changes. Then, click Preview Field Mapping, and do one of the following:
-
To return to the previous NetSuite page and make further changes to the field mapping, click Previous. Then, click Preview Field Mapping again.
-
To generate the custom plug-in script, click the Download Plug-in Script button.
This creates a file with the .js extension and downloads it to your computer. To use the file to import and process journal entries, proceed from step 3 in Uploading a Plug-in Script.
Important:If the Use Account Numbers preference is disabled at Setup > Accounting > Accounting Preferences, the generated plug-in script will not work.
-