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 ValidateLine SubTotal field
I would like to use the standard NetSuite 'SubTotal' functionality in conjunction with some custom scripting in order to work out discount values based on the subtotal of lines above.
However, it seems that SubTotal lines only show a value once the line is committed (it shows 0 when entering the line), and I'm assuming that my 'ValidateLine' script is running before the line is committed.
Is there any kind of 'AfterSubmit' type option that can be used with ValidateLine scripts? Or any other way to determine the value of the SubTotal within the ValidateLine action?
If not, is there any way to replicate the 'SubTotal' functionality within SuiteScript (i.e. to add up all the lines above - but only up to the previous SubTotal)?