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.
Set Status on phone call record just created
I have created a phone call record to log a call when required when a Contact record is saved using an After Submit Scipt.
I can set all the fields I want except the status to 'Completed' rather than the default of 'Scheduled'.
Sample code with carious attempts commented out below. any ideas?
recordCreated.setFieldValue('title',title );
recordCreated.setFieldValue('organizer', salesrep);
recordCreated.setFieldValue('contact', contact_id);
recordCreated.setFieldValue('phone', phone);
//recordCreated.setFieldValue('priority', 'high'); this did not work either??!!
recordCreated.setFieldValue('message',comments);
//set field Values - for multiselect field
var state = new Array(1);
state['0'] = 'completed';
//recordCreated.setFieldValues('status', state); 3rd attempt