10/06/2016, 10:32 PM
Copy code
The way how to find out the correct transaction status is to create Saved Search in UI, in criteria select 'Status' and select status you are supposed to use in SuiteScript. Now in SuiteScript debugger load the Saved Search and getFilters. You can see the correct syntax for status field. You can use sample script for it: