This topic contains 3 replies, has 0 voices, and was last updated by JohnCCole 9 years, 3 months ago.
- 
		AuthorPosts
 - 
August 11, 2015 at 7:37 am #2128
JohnCColeThis 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. - 
August 11, 2015 at 9:03 am #2129
charoldsonWe’re seeing a similar issue in both sandbox and production. $ sign replaced with foreign currency (mostly Euro) on PDF printouts.
 - 
August 11, 2015 at 9:16 am #2130
glindnerWe 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.
 - 
August 11, 2015 at 9:49 am #2131
JohnCColeClearly 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.
 - 
		AuthorPosts
 
You must be logged in to reply to this topic.
