Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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:
0