Modules

filter

 

Objects/Functions

module (N/task)

SuiteScript 2.0

MapReduceScriptTaskStatus.getPendingReduceSize()

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

N/task Module
MapReduceScriptTaskStatus.getPendingReduceSize()
Method Description: Returns the total number of bytes not yet processed by the reduce stage, as a component of total size, of a task.MapReduceScriptTask. Use the MapReduceScriptTaskStatus.stage property to get the current stage.
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.getPendingReduceSize()

Example:

// Code Example 1
//Add additional code
//...
var summary = taskStatus.getPendingReduceSize();
log.audit({
details: 'Pending Reduce Size: ' + summary
});
//...
//Add additional code

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