Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi,
a developed a complete app using currency as local currency. now they want to see local and USD. like selecting in dropdown.
so please someone suggest what i have to follow
Thanks
Hi,
Do you have any conversion table which maintain local to USD rate or you have doing it hard coded????
For Local and USD are you planning to create any new flag????
Basic logic is use if condition
like
if(getFieldSelections(Flag)='USD',YourExpressionValue * USDRate,YourExpressionValue)
Regards
hi Max i dont have any convertion table. no hard coding. main issue is i completed the app which means many sheets using the available currency.
for ex:
sum(localCurrency)
i used this in all sheets.
now i am looking for any way to do this by not changing in each and every sheets(objects and etc)....
any idea guys?
Hi,
Do you have any field which stated amount Currency???
and from where you are taking conversion rate???
Regards
showing local currency field name as Lc1
no conversion doing
Hi,
Then you have to hard code conversion rate for Local to USD
and also need to create flag through which user select at front end that they want to see localCurrency or USD Currency.
Regards
Hi,
Create a variable to identify currency for example : vcur= 'L' .
Create another variable that according to vcur assigns field name . example vdynfield =
if($(vcur )='L','[localCurrency]','[USDCurrency]').
then use expression overview to replace sum(localCurrency) to sum($(vdynfield)). or you can just replace localCurrency to $(vdynfield).
change the value of L to something else on CurrencyField by using trigger. currency field will have two values localcurrency and usdcurrency.
nee to change in every object?