Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Problem Using nlapLogExecution
Hi,
I have a scheduled script that runs through my last months bills and updates a custom column field on the line items.
This script has been running fine for the past few months but it's stopped working this month. When I run it I get an error message that reads:
Error: USER_ERROR
The total can not be negative.
Stack Trace: clearLocProcessedonBills(ServerSideScripts2.js:195)
My conclusion here is that I have a rogue bill that won't submit when I call nlapiSubmitRecord.
I have therefore added in a debug log so that I can figure out which transaction is causing the problem: