Modules

filter

 

Objects/Functions

module (N/task)

SuiteScript 2.0

MapReduceScriptTaskStatus.getPendingMapSize()

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=MapReduceScriptTaskStatus.getPendingMapSize() for more information.

N/task Module
MapReduceScriptTaskStatus.getPendingMapSize()
Method Description: Returns the total number of bytes not yet processed by the map stage, as a component of total size, of a task.MapReduceScriptTask. Use the MapReduceScriptTaskStatus.stage property to get the current stage. For general information about map/reduce stages, see Map/Reduce Key Concepts and SuiteScript 2.0 Map/Reduce Script Stages.
Returns: number
Supported Script Types: Server scripts For more information, see SuiteScript 2.0 Script Types.
Governance: 25 units
Module: N/task Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=MapReduceScriptTaskStatus.getPendingMapSize()

Example:

// Code Example 1
//Add additional code
//...
var summary = taskStatus.getPendingMapSize();
log.audit('Pending Map Size: ' + summary);
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_456033874511.html