Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Update Amount Field
I have a user script running on the FieldChanged event which updates the Amount field on line in the Estimate Form. The new calculation only needs to fire if the rate or quantity changes. Once fired, for some items it alters the typical 'amount = rate x quantity' to 'amount = rate x quantity x XYZ'.
After my script performs the set of the amount field, it reverts back the typical 'amount = rate x quantity' calculation built into NS. I assume that the NS amount calculation must be running AFTER my script and therefore changing my 'amount' value. This makes sense, but I need to find a way around it. Can the Amount field be adjusted on a FieldChanged event (rate or quantity change events) without NS overriding my calcuation?