Hi I made a reddit post but does anyone here know ...
# suitescript
z
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
my guess is that there is an error being thrown somewhere
the code you shared doesnt look like it should actually run without errors
z
There is because not every id between 200-400 is populated but that should be all the errors
b
you should get errors related to invalid ids, errors relating to missing mandatory fields, and probably an out of points related error
depending on how you attached the client script, your log.debug statement might not actually log anywhere