This topic contains 3 replies, has 0 voices, and was last updated by JohnCCole 9 years, 3 months ago.

  • Author
    Posts
  • #2128

    JohnCCole

    This morning some of my templates that use the Advanced PDF template are replacing a dollar sign with PHP. I am simply referencing total and subtotal fields on a sales order template and these values are coming out as PHP100.25, apposed to $100.25. The same templates are working fine on the production side. Anyone else seeing this?
    This is a cached copy. Click here to see the original post.

  • #2129

    charoldson

    We’re seeing a similar issue in both sandbox and production. $ sign replaced with foreign currency (mostly Euro) on PDF printouts.

  • #2130

    glindner

    We experienced something similar yesterday in a sandbox account where “$” was replaced with “Rs.” for one user and “โ‚ฌ” for another. After a while of toying with the template and not making any progress, I rolled back the code to its original state and suddenly the problem disappeared. Sorry I can’t offer an explanation.

  • #2131

    JohnCCole

    Clearly something has changed on NetSuites end. I have not touched my templates in over a month. I did however find the solution and I don’t think there’s any harm in using in the production environment (where there is no problem).

    Any field in the Advanced PDF template that you want a dollar sign, use FreeMarker functions to give you what you want. For example ${record.subtotal} which currently works on production but not on the Sandbox can be replaced with ${record.subtotal?string.currency} This removes PHP being displayed in place of the currency symbol on the sandbox in my testing.

You must be logged in to reply to this topic.