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.
Slaes Order Field Change
Hello Everyone, I have created the script below to set price at sales order level as the the lines are added. However it does not trigger.
The Purpose of the script is to set the price level of each line in a dynamic fashion by comparing against the price level selected in body of the sales order. The Sales order body field is using a custom record list.
function validateLine(scriptContext) {
var currentRecord = scriptContext.currentRecord;
var sublistName = scriptContext.sublistId;
var sublistFieldName = scriptContext.fieldId;
var price_Level = currentRecord.getValue({
fieldId: 'custbody_price_level'
});
if(sublistName == 'item' && sublistFieldName == 'price'){
var count = currentRecord.getLineCount({