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
Flipping the signs on a credit memo
Currently within our credit memo PDF form, the values are all displayed as positive values. However the business have decided that they would like to see the signs flipped so that the values and quantities both at line level and within the subtotal and total are shown as negitive numbers. This is because there will be lines that are actually an increase in quantities, that the business want to show as a positive.
Anyway, I've managed to make the change on the line level, but struggling with making the change for the sub total and total. The reason is because within the sub total the value is converted to a string so that it can be displayed with 2 decimal places. The current code is this for the subtotal: