beforeProcessRow(context)
Function Declaration |
|
Type |
Interface function |
Description |
Runs a custom logic on a single row of the dataset returned by the search or SuiteQL query, before processing the row. You can use this function to add or modify properties (columns) on the dataset row. For example, to add custom fields to the dataset row.
Important:
Be aware that the beforeProcessRow function runs on each row of the dataset returned by the search or SuiteQL query. This process can have a significant impact on performance and governance units usage. If you want to manipulate the result dataset, consider working with the processSourceData function instead. |
Returns |
row: any |
Input Parameters |
source: SectionSource, request: FileProcessingRequestParams, sourceFieldsData: SourceField[ ], row: any
Note:
The row: any parameter is the row object obtained from the query. |
Related Topics
- File Builder Interface Functions
- afterGetPendingRequest(context)
- getPendingRequestFailure(context)
- processSourceData(context)
- processSourceFailure(context)
- afterProcessRow(context)
- beforeSaveOutputFile(context)
- beforeSaveOutputFileWithOpt(context)
- afterSaveOutputFile(context)
- customizeQuery(context)
- customizeSearch(context)
- customizeFieldValue(context)