User Scripting — Unapprove Event
Create scripts which are triggered when the following are unapproved:
- 
            Timesheets 
- 
            Schedule Requests 
- 
            Booking Requests 
- 
            Bookings 
- 
            Purchase Requests 
- 
            Purchase Orders 
- 
            Expense Reports 
- 
            Invoices 
 
        The format to use for when an “unapprove” argument is passed is:
          function main(type) {
     if (type == 'unapprove') {
          // custom unapprove actions
     }
} 
        
        To enable this feature, contact SuiteProjects Pro Support.