Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
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?