Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
SuiteScript Best Practice for Sales Order Events
Business Case: When a web store Sales Order is received where the AVS does not match the issuing banks billing information, we would like to send an email almost immediately. We want the AVS email to get to the customer just after the Sales Order confirmation email.
What is the best practice for something like this?
Concerns:
1) 100% beforeSubmit would work find but it seems best to minimize any code which could impact the sales order from being written to the database.
2) beforeSubmit scheduling a scheduled script would work but I worry that I will some how not create enough deployments.
0