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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
How do I prevent inactive BOM revision changing when editing Work Order in suitescript?
I have a Work Order which is using bill of materials revision which is marked as inactive. When I try to edit the start date of the Work Order in suitescript, BOM revision is automatically changed to one that is not inactive.
If I load the record dynamically (isDynamic = true) and explicitly set the BOM revision to be the inactive one (the one that is currently selected on Work Order), record.save() will throw an INVALID_FLD_VALUE exception.
Start date can be changed manually from the UI while keeping the inactive BOM revision selected, so i guess this should be possible through suitescript as well.
Tagged:
1