All the values are getting set, tried the debugger...
# suitescript
n
All the values are getting set, tried the debugger. But the line is not committed.
m
are you getting any error? maybe the line field it’s getting recalculated after your commit
n
But it isn't committed and the line is over-written by the next element in the loop
Tried 1.0 code as well. It's CS
m
try to wrap the code in a try and catch try{ }catch(e){nlapiLogExecution('DEBUG', 'try.error', JSON.stringify(e))}
b
n
Code is already in try catch.
trying it now @battk
That worked! Thanks @battk