Discussions
Smart Count Error on loading Configurations in Scanner
Hi Guru's,
I have a 3 custom Smart Count Configuration (with one saved Search with +/- 700) results. Loading of the count configurations in NetSuite takes a long time.
Sometimes (not always) we receive an error when we load the Smart Count page on the scanner.
The Error is on the script SC RL Item List:
{"type":"error.SuiteScriptError","name":"UNEXPECTED_ERROR","message":"An unexpected SuiteScript error has occurred","id":"4504a750-379f-4f48-9926-41cfc37fb6d5-2d323032332e31322e3132","stack":["Error\n at /SuiteApps/com.netsuite.smartcount/src/Item/gateway/SC_ItemGateway.js:1156:46\n at Array.forEach (native)\n at SC_ItemGateway.checkIfItemsExistInOtherPriorityConfigurations (/SuiteApps/com.netsuite.smartcount/src/Item/gateway/SC_ItemGateway.js:1143:25)\n at _loop_4 (/SuiteApps/com.netsuite.smartcount/src/Item/gateway/SC_ItemGateway.js:1124:44)\n at SC_ItemGateway.addItems (/SuiteApps/com.netsuite.smartcount/src/Item/gateway/SC_ItemGateway.js:1135:31)\n at SC_ItemGateway.getTaskListItems (/SuiteApps/com.netsuite.smartcount/src/Item/gateway/SC_ItemGateway.js:89:38)\n at SC_ItemUseCase.getTaskListItems (/SuiteApps/com.netsuite.smartcount/src/Item/usecase/SC_ItemUseCase.js:29:41)\n at SC_ItemUseCase.getTaskListData (/SuiteApps/com.netsuite.smartcount/src/Item/usecase/SC_ItemUseCase.js:55:33)\n at Object.get (/SuiteApps/com.netsuite.smartcount/src/Item/main/SC_RL_ItemList.js:12:32)"],"cause":{"type":"internal error","code":"UNEXPECTED_ERROR","details":"An unexpected SuiteScript error has occurred","userEvent":null,"stackTrace":["Error\n at /SuiteApps/com.netsuite.smartcount/src/Item/gateway/SC_ItemGateway.js:1156:46\n at Array.forEach (native)\n at SC_ItemGateway.checkIfItemsExistInOtherPriorityConfigurations (/SuiteApps/com.netsuite.smartcount/src/Item/gateway/SC_ItemGateway.js:1143:25)\n at _loop_4 (/SuiteApps/com.netsuite.smartcount/src/Item/gateway/SC_ItemGateway.js:1124:44)\n at SC_ItemGateway.addItems (/SuiteApps/com.netsuite.smartcount/src/Item/gateway/SC_ItemGateway.js:1135:31)\n at SC_ItemGateway.getTaskListItems (/SuiteApps/com.netsuite.smartcount/src/Item/gateway/SC_ItemGateway.js:89:38)\n at SC_ItemUseCase.getTaskListItems (/SuiteApps/com.netsuite.smartcount/src/Item/usecase/SC_ItemUseCase.js:29:41)\n at SC_ItemUseCase.getTaskListData (/SuiteApps/com.netsuite.smartcount/src/Item/usecase/SC_ItemUseCase.js:55:33)\n at Object.get (/SuiteApps/com.netsuite.smartcount/src/Item/main/SC_RL_ItemList.js:12:32)"],"notifyOff":false},"notifyOff":false,"userFacing":true}