Does anyone know how to run something like this on...
# suitescript
f
Does anyone know how to run something like this on an Email Template:
Something like ${customrecord.custrecord_acs_documentvalue_ds?string?replace(".", ",")}
f
oh! thanks man
👍 1
@Nik it work, but there is a issue, when I save it become
Copy code
<p dir="ltr" style="text-align: center;"><strong>Seu saldo de&nbsp;R$ ${customrecord.custrecord_acs_documentvalue_ds?string?replace(&#39;.&#39;, &#39;,&#39;)}&nbsp;foi pago hoje.</strong></p>
And I need to edit every time I will send a new email
the ' become &#39;
NVM, got it solved by using
Copy code
<#assign documentValue = customrecord.custrecord_acs_documentvalue_ds?string?replace('.',',')>
👍 1
and then using the variable on the p
🙂
n
Glad you were able to resolve that without help 👍🏻
😉 1