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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Commit Line Item issue
Hi,
I am writing a client side script on a case form and on save record function it copies some value in the Time tab and save.
The save function looks like this-
nlapiSetCurrentLineItemValue('timeitem','hours','2:00');
nlapiSetCurrentLineItemValue('timeitem','item',1232);
nlapiCommitLineItem('timeitem');
Issue is even though the value gets copied properly the line doesn't get commited and on saving the record the data is lost.
Any clue why isnt it working? Where am i going wrong.
Any help is appreciated.
Thanks.
0