Discussions
Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Attention: Customers with NetSuite Electronic Bank Payment (EBP) SuiteApp, version 2020.2 QA (ID 315896) must UPDATE (do NOT uninstall) their bundle to the Production version 2022.1 (ID 416781) by December 31, 2022. Note: If users fail to manually update the Electronic Bank Payments SuiteApp within the given time window, this version of the SuiteApp (ID: 315896) will be deprecated and the account will not be updated to Leading version (2022.1) of the Electronic Bank Payments SuiteApp. Please refer to the campaign email sent to impacted customers for more information.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Update your Profile with your Support type to get your Support Type badge.
NetSuite Release 2023.1 is here! Download the release notes and post your questions in the new Release 2023.1 category.
Join the webinar and "Get the Most Out of NetSuite Inventory Management" on May 2, 2023 at 10 AM PST. Click on this link to register. Do not forget to RSVP on this page as well!
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)?
0