Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to 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.