Modules

filter

 

Objects/Functions

module (N/task)

SuiteScript 2.0

MapReduceScriptTaskStatus.getTotalReduceCount()

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

N/task Module
MapReduceScriptTaskStatus.getTotalReduceCount()
Method Description: Returns the total number of record or row inputs to the reduce stage 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: 10 units
Module: N/task Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=MapReduceScriptTaskStatus.getTotalReduceCount()

Example:

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

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