Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Calculation not working properly...?
Hi,
I am executing this code below by way of a custom workflow action and for whatever reason the total of the calculation is showing as a string and not a number. i.e. the error I get is: "You have entered an Invalid Field Value 012150.00200.0012350.00150.00 for the following field: custbody_gross_profit". It should in fact be the sum of those values.
Its obviously concatenating the numbers rather than adding them? Am I being slow?
There is a more complex calc to follow but in the meantime this should just add up the amount field on a transaction... shouldn't it?
0