Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
How To Handle Voided Transactions with Server Side Scripting?
Hi,
I am trying to run a server side script when a payment is voided. I can successfully run the script when the payment is deleted using type argument 'delete', but there is no type argument for 'void'.
I spoke to NetSuite and they entered an enhancement request (#119056) for the type argument 'void'.
Has anyone been successful with firing off a user event server side script when a record is voided? The record type I am working with is customer payment, but if someone has done this with another record type I'm sure it would help me out.
The only work around I can think of is to run a scheduled script that runs a saved search returning any payments that were voided that day, but I'd prefer not to do this.