mohanakrishna


{ City } hyderabad
< Country > india
* Profession * report developer
User No # 46078
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Questions / { mohanakrishna }
Questions Answers Category Views Company eMail




Answers / { mohanakrishna }

Question { IBM, 7663 }

In one of my report i have one data item sales_amount. If this report is run by one user from india so the sales_amount should be display in indian repees(Rs.) format, if USA user then in dollers($), if UK user then In Pounds.Hou can i achive this? Please answer me.


Answer

The Best Way is to create a table based on Current day conversion values and use this table for calculation with the "Sale Amount".

This table contains locale as one columns and conversion amount as another columns.

Locale Rate
------ ----
Usa 64
Uk 85
Rupee 1
China 3 ...etc

Use the account.Userlocale session parameter to get the user locale and multiply with 'Rate' column amount.

Is This Answer Correct ?    0 Yes 0 No