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.
Adding line items to RevRec Schedule
I filed this as a support case/defect, but didn't get a useful answer there, so I'm trying the forums. For reference sake, case 1387740 and defect 207916.
I am attempting to add lines on a rev rec schedule using SuiteScript. At this point, I am attempting proof-of-concept scripts in the sandbox debugger.
Through the UI, I can add a new line to an RRS with amount zero. I tried the following code, but no line got added to the RRS.
-------------
var rrs = nlapiLoadRecord('revrecschedule', 7491);
rrs.selectNewLineItem('recurrence');
rrs.setCurrentLineItemValue('recurrence','incomeaccount','182');
rrs.setCurrentLineItemValue('recurrence','defrevaccount','316');
rrs.setCurrentLineItemValue('recurrence','recamount',0);