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.
Dynamic Record Mode on SS 2.0 beforeSubmit
Hello Gurus,
is there any option to add dynamically two new lines on the current record on beforeSubmit in SS 2.0?
Currently I'm using N/record (record) module on afterSubmit and I'm loading the newly submitted record using:
recordObj = record.load({
type: contextRecord.type,
id: contextRecord.id,
isDynamic: true,
});
recordObj .selectNewLine({
sublistId: 'item',
});
recordObj .setCurrentSublistValue({
sublistId: 'item'
fieldId: 'item',
value: 1
});
recordObj .commitLine({sublistId: 'item'});
recordObj .save();
Can this be done on beforeSubmit in dynamic mode, I want to avoid record loading?
Thanks