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.
Suitescript Button to update Work Order
I would like to create a client side Suitescript to refresh the line items on a work order. Currently when an Assembly/BOM Item changes in the system the only way to cause an exisiting work order to update is edit the work order and click "build sub-assemblies." This workaround causes the line items to update and match the updated Assembly/BOM Item.
I want to link the Suitescript to a button on the work order form. I tried using the nlapiRefreshLineItems('item') function with no success.
Any help would be appreciated - Thanks.
0