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
Advanced PDF/HTML Template vs Custom Transaction Body Field handling of Date Formats
Thought I’d throw out this interesting difference on date format handling, for anyone who is looking for an example.
I’ve an Advanced PDF/HTML Credit Memo Template that displays the Due Date from the source Invoice… one level back.
Inside the template, using
${record.createdfrom.duedate} the result displayed is: 2016-02-12 00:00:00.
However, from a Custom Transaction Body Field, ID: custbody_duedate, STORE VALUE = No, TYPE=Date, DEFAULT VALUE = {createdfrom.duedate}, FORMULA = Yes,
and inside the template, using
${record.custbody_duedate}, the result displayed is: 02/12/2016
Just wanted to supply a working example.
0