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.
We’re excited to announce that the 2025 Community Recap is now available! This special recap highlights the amazing contributions and achievements of our members over the year and celebrates the collective success of our community.
Check your personalized recap to see the impact you made in 2025 and how your efforts helped shape our community’s growth and success.
View Your 2025 Community Recap
Thank you to everyone for your passion, collaboration, and support. Here’s to building an even stronger community together in the year ahead!
CC transactions failed or not?
Hi all,
I'm attempting to write a schedule script that does the following:
1. Take pre-existing customer sales orders and transforms to cash sales
2. Transacts against customer credit card
- if failed, then email with a 'failure receipt'
-else email with receipt
Using scripts I can generate sales orders, pre-populate with the customers credit card details and transform to a cash sale. What I need to know is upon saving the cash sale (nlapiSubmitRecord), how do I know if the credit card was a) approved and b) debited appropriately (using scripts)?
The second question related to reciept emails, I can use 'tobeemailed' however that email is sent regardless of whether the transaction was successful or not. I just need to change one line in the standard template but how do I do that?