In SuiteScript 2.0 is there a rollback function? For example; lets say my code does 3 things; updates a customers details, creates a sales order then creates an Inventory Adjustment (IA). Sometimes when I go to create the IA, it failed because someone uses an invalid serial item. In that case I want to
rollback
and undo the update of customer details and creation of the sales order.