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.
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!
Casting FreeFormText to Number
I've got a saved Customer Search that queries against the System Notes on the Customer Record to get the Old and New values of a field that contains a number. However, when the field was created, it was created as a Free Form Text, and not a number.
I want my list to be able to recognize and sort the result by the values (1,4,23,46), rather than "alphabetically' like it does now (1,23,4,46)
None of the formulas in the formula drop-down menu seem to do what I need.
I've also tried:
CAST({systemnotes.oldvalue} AS INT)
and also:
CONVERT(int, {systemnotes.oldvalue})
0