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.
Add item Group to order via SuiteScript
Does anybody have a working code example of how to create sales orders that contain an Item Group via SuiteScript?
I have been banging my head against a wall for about 24 hours here... Netsuite throws an INVALID_NUMBER error with these (gloriously non-specific) details: You entered "{rate}" into a field where a numeric value was expected. Please go back and change this value to a number.
Here's what I'm doing: var newSalesOrder=nlapiCreateRecord('salesorder',{entity: 3751090, recordmode: 'dynamic'});
newSalesOrder.selectNewLineItem('item');
newSalesOrder.setCurrentLineItemValue('item','item',114270); // ID is for a itemgroup
newSalesOrder.setCurrentLineItemValue('item','quantity',1);
newSalesOrder.commitLineItem('item');
nlapiSubmitRecord(newSalesOrder,true,false);