Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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.