Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Script Execution Usage Limit Exceeded
We receive the following error message when trying to run the script below.
Environment: Production
Date & Time: 2/14/2014 3:32 pm
Execution Time: 790.35s
Script Usage: 10005
Script: UpdateAllBisac
Type: Scheduled
Function: updateAllBisac
Error: SSS_USAGE_LIMIT_EXCEEDED
Script Execution Usage Limit Exceeded
Stack Trace: updateAllBisac(updateallbisac.js$843955:52)
function updateAllBisac() {
var searchResults = nlapiSearchRecord('item', 'customsearch5022' , null, null);
var searchedItemId;
var lastId;
var completeResults = new Array();
var arrNewFilters = [];
if (searchResults != null) {
completeResults = completeResults.concat(searchResults);
}
else {
completeResults = null;
nlapiLogExecution('Debug', 'No item found', weight + ' Null result');
}
if (completeResults != null) {
if (searchResults.length == 1000) {
while (searchResults.length == 1000) {
//Initialize variable
lastId = "";
//Get Record Id of Last record,