Join Slack
Powered by
Hi I made a reddit post but does anyone here know ...
# suitescript
z
zucc
02/14/2023, 5:04 PM
Hi I made a reddit post but does anyone here know why record.save would return the id of the record i am trying to update but not actually update it?
https://www.reddit.com/r/Netsuite/comments/111w219/how_do_i_write_a_script_to_edit_boms/
b
battk
02/14/2023, 5:10 PM
my guess is that there is an error being thrown somewhere
battk
02/14/2023, 5:10 PM
the code you shared doesnt look like it should actually run without errors
z
zucc
02/14/2023, 5:47 PM
There is because not every id between 200-400 is populated but that should be all the errors
b
battk
02/14/2023, 6:03 PM
you should get errors related to invalid ids, errors relating to missing mandatory fields, and probably an out of points related error
battk
02/14/2023, 6:04 PM
depending on how you attached the client script, your log.debug statement might not actually log anywhere
2
Views
Open in Slack
Previous
Next