Discussions
It’s that time of the year again! As we embrace the holiday cheer, we want to share an important announcement regarding our holiday schedule. Our dedicated team of NetSuite Support Gurus will be taking a short break to recharge during the holidays, from December 24, 2024, to January 1, 2025. We’ll be back in full swing, ready to assist you on January 2nd. During the break, feel free to explore the wealth of NetSuite resources on our platform.
As we celebrate the season's joys, we are incredibly grateful for your ongoing support and engagement. Have a fantastic holiday break, and let's gear up for an incredible 2025!
Here are some examples to get your creative juices flowing.
"Did I pay vendor John Doe last month?"
"Take me to my largest sales order for this month."
"What invoices haven't been paid yet?"
Unable to convert String to a Number
Hello,
I have created a custom statement print, but I am having difficulty converting the line.charge string to a number for the values to be summed?
I can successfully remove the “£” and “,” characters i.e. £1,532.64 becomes 1532.64, but the ?number produces an error.
Without the ?number the string concatenates the values as it loops through the list.
<#if statement.lines?has_content>
<#assign linestblwsortcol = [] /> <!-- declare container for lines table with sort column -->
<#assign bal = 0 />
<#list statement.lines as tbl>
<#assign linestblwsortcol = linestblwsortcol + [tbl + {"sortcolumn":"${tbl.datecol?string('yyyy/MM/dd/')}${tbl.description}"}] /> <!-- add sort column to the lines table with value of joined Date and Description values-->