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.
changes to timeitem 'price' field don't stick
i'm trying to change the 'price' field of timeitems on cases using server event code (beforeSubmit), but the changes don't get saved.
if i do
record.setLineItemValue('timeitem','price',i,'24')
and then
record.getLineItemValue('timeitem','price',i)
it appears to have been changed, but after saving it remains on its original value.
other changes (eg to the isbillable field) do get saved, and i can change the price field with client-side code and the changes get saved.
any ideas?
thanks
ben
0