Plug-in Script Configuration Details
Read the following details about configuration of plug-in scripts:
-
The name of the export file that is downloaded from Inbox/Outbox Explorer or File Browser's inbox must match exactly the file name defined in the plug-in you are using.
-
The
getConfiguration
function identifies the export file that needs to be imported from your Planning and Budgeting. Planning and Budgeting Sync downloads the file to NetSuite and executes theprocessData
function of the plug-in. -
To process large volumes of data, you can use the following optional parameters with the
getConfiguration
function:-
dataChunkSize
-
dataFileHeaderLines
-
dataChunkGrouping
The
dataChunkSize
parameter lets you break a large export file into smaller chunks to improve performance. The optimal value is 300.The
dataFileHeaderLines
parameter configures the number of lines to include in the header of the export file. You need to enter 1 for data load rule export or 2 for business rule export.The
dataChunkGrouping
parameter groups records with the same column index into the same chunk. You can use this parameter only in script files for data load rule export.Note:The
dataChunkSize
,dataFileHeaderLines
anddataChunkGrouping
parameters are included in the Planning and Budgeting Sync post-processing plug-ins. To use these parameters in your custom plug-ins, you need to include and configure the parameters manually in your plug-ins. -
-
The year format that you should use in your plug-in scripts is FY<yy>. For example, FY23 or FY24.