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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
How can I modify the date format for "$record.createdfrom.trandate"
I have used the $string("MMM dd, yyy") bit of code to create the date format desired (Mar 12, 2020) on sales order and purchase order printout pdf template.
However, when I tried to do so on the Invoice printout pdf template, I was only successful in doing so for the record.trandate field and the record.duedate fields.
When I tried to do the same for the record.createdfrom.trandate field, I had issues. Below are my notes regarding this...
<td>${record.createdfrom.trandate}</td> DOES Work (But gives undesirable date format of 03/12/2020 instea of Mar 12, 2020)
<td>${record.createdfrom.trandate?string("MMM dd, yyyy")}</td>
Jay Schwausch
P.R.I. - KACE Valves, NetSuite Administrator
0