Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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.