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.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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