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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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