You gotta love Netsuite: ```else if (taskToCheck.s...
# suitescript
f
You gotta love Netsuite:
Copy code
else if (taskToCheck.stage === task.MapReduceStage.MAP) {
                progress = 100 + getPercentageCompleted(taskToCheck, task.getPendingMapCount(), task.getTotalMapCount());
            }
gives me
org.mozilla.javascript.EcmaError: TypeError: Cannot find function getPendingMapCount in object
😞