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.
Fields not sourcing in beforeSubmit scripts
Either I am completely out to lunch or there has been a strange change to the behavior of server-side user event scripts. A wide variety of fields are not sourcing when related fields are set. Here are three cases:
Case 1: Setting a discount item on a transaction before submit.
This should cause the corresponding discount rate to populate and the discount amount to calculate. Instead, just the discount item field is set.
Case 2: Setting a subtotal or discount line item
invoice.setLineItemValue("item","item",invoice.getLineItemCount("item")+1,-2)
When the invoice is loaded, the subtotal is there but has not calculated the subtotal, it calculates if you manually edit a line on the invoice that is returned.