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.
SuiteScript: Script stopped running after SuiteBilling Installation
I have a script that runs on the Sales order after submit, that updates the lines to have a 50% billing schedule on the. This code has worked fine without any issues but we have just installed SuiteBilling and now my code does not work anymore. Any ideas why this might be?
//Find out how many line items there are
var salesorderitems = (loadrec.getLineCount({sublistId: 'item'}))
//Loop through each line item on the Sales Order
//Set counter
var counter = 0
while (counter < salesorderitems){
loadrec.selectLine({sublistId:'item',line: counter})
loadrec.setCurrentSublistValue({
sublistId:'item',
fieldId: 'billingschedule',
value: 9
})
loadrec.commitLine({sublistId:'item'})
counter ++
}