How to change email template date format
change date format from mm/dd/yyyy to dd/mm/yyyy in netsuite email template
Original-${transaction.trandate}
Could you please show Source just so we can check exactly where the error is coming from?
Thanks,
Chris
Sorry but I can’t post that data here
Hi,
I’m only talking about pressing the Source button above where you’re typing.
It shouldn’t contain much more than the line you’ve typed. Can I suggest you take a look and see if there’s anything sensitive.
Other than that, I don’t really know what else to suggest.
Thanks,
Chris
where is that source button? On email template or on netsuite professionals?
After clicking on source I see this code:
<pre>${transaction.trandate?string["dd/MM/yyyy"]
</pre>
<br />
Replace everything there with just:
${transaction.trandate?string[‘dd/MM/yyyy’]}
And single quotes might help too.
The template cannot be saved due to the following errors:
Syntax error in template “content” in line 1, column 36:. Encountered “&”, but was expecting one of these patterns:. <RAW_STRING>. “false”. “true”. <INTEGER>.
“”””. “T”. “C”. “C”. <ID>
Parse exception during template merging.
<STRING_LITERAL>. <DECIMAL>.
I’m sorry, I’m not sure what else to suggest.