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.
Sourcing Doc. No in Create Record Script
I have written a script to create a new custom record when a sales order is saved. I have successfully gotten the script to pull the entity id, shipto address, and other custom fields, but I cannot get it to load the Doc. No or "tranid" from the Sales Order.
var currentRecord = nlapiGetNewRecord();
var CustomerName = currentRecord.getFieldValue('entity');
var Order = currentRecord.getFieldValue('tranid');
var recordCreated = nlapiCreateRecord('customrecord6');
recordCreated.setFieldValue('custrecord10', CustomerName);
recordCreated.setFieldValue('custrecord4', Order);
For custrecord4, which is the field for Order # on my custom record, I have tried setting the type to List/Record and Free-Form Text. Niether of these is working.