summaryContext.isRestarted
Property Description |
Indicates whether the summarize(summaryContext) function was invoked again. To reduce problems if the Java virtual machine (JVM) restarts, NetSuite automatically restarts the current summary function. Any summary data written by the incomplete function is deleted. If the value is |
Type |
boolean (read-only) |
Since |
2016.1 |
Syntax
...
function summarize(summary) {
if (summary.isRestarted)
{
log.debug('SUMMARY isRestarted', 'YES');
}
else
{
log.debug('SUMMARY isRestarted', 'NO');
}
log.debug('summarize', JSON.stringify(summary));
...