The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
47 views

Negative currency data displaying in parenthesis. Minus symbol is missing. Any suggestions?

In my visualforce page, i am displaying amount data and it is working fine if the amount is a positive number. But if it is negative amount then the data is enclosed in a parentheses. But, i need a ...
0
votes
0answers
94 views

Decimal places are not coming in Formula field(number) in html email template

I have a currency formula field field1__c which is again referenced in another formula field Field2__c(number). I have selected decimal place as 2.When I use this formula field in Field2__c decimal ...
2
votes
2answers
65 views

Euro currency in approval process bug when using decimals?

I have an approval step criterium that records below €5,55 should be approved automatically. I can't get it to work. I tried setting the step to "greater than 5,55, else approve". However the comma ...
2
votes
1answer
66 views

Find out if field is of type Currency without consuming Describe's?

Parts of my code copy hundreds of arbitrary fields of an arbitrary object to another object. Before copying currency fields I want to do some fx conversion. How can I find out if a field is a ...
0
votes
1answer
222 views

opportunity currencyisocode equal to account

trigger Accountcurrency on Opportunity (before insert) { Set<Id> accIds=new Set<Id>(); for (Opportunity opp : trigger.new) { accIds.add(opp.AccountId); } List<Account> ...
3
votes
1answer
72 views

Different currencies in the same opportunity

it's possible to have different currencies in one opportunity? for example: line item 1 $USD line item 2 $MXN Thanks
4
votes
2answers
252 views

Currency fields show other values on a page that in the database

I am confused by the behaviour of Currency fields in Multi-Currency environments. My app does a calculation on day X and stores its result in a record. The custom page which displays a SUM of those ...
2
votes
0answers
39 views

Currency History Tracking

I am building a custom visual force page and one of the bottle necks is the lack of a "History" related list. I am building the "History" component first but I hit a roadblock: Tracking ...
1
vote
1answer
465 views

Get Symbol of Default Currency in Multicurrency Org

Is there a way to get the symbol (€ not EURO) of an orgs default currency via Apex or a Visualforce global variable? I know how to get the ISO Code: SELECT IsoCode FROM CurrencyType WHERE ...
3
votes
2answers
1k views

Apex:outputText format currency without object value for apex:param value

I have a visualforce table where I'm creating a discount calculator. Basically user inputs a discount percentage and the table on the visualforce updates automatically to show you the updated price ...
1
vote
1answer
792 views

How to set the value of a currency field from a formatted string

In apex, how would you set the value of a currency field with a formatted string? See the sample code: String price = '$1,000.00'; MyObj__c obj = new MyObj__c(); // this line won't compile, so ...
18
votes
1answer
2k views

How to use Advanced Currency Management (ACM) in Custom Objects?

I've been searching for the last two weeks about how to implement Multi-Currency correctly in our organization. I'm pretty sure I'm not the only one who noticed that if you want to use the Advanced ...
3
votes
1answer
644 views

Pricebook and currency

We have set-up products with a USD and CND price. We have multi-currency set-up in SFDC. When I set an opportunity to USD and select products, it all works fine. But when I set the opp to CND, no ...
8
votes
1answer
1k views

How to access the Organization “Currency Locale” ISO Locale code (NOT Currency code) in Apex/SOQL

First of all, before telling me that this is a duplicate of the previously-asked question "Display currency symbol", READ THE WHOLE QUESTION. Summary: I am trying to replicate the functionality of ...
1
vote
2answers
601 views

Get currency symbol in Visual Force Email Template

I need to get currency symbol in visual force email template. I want it to be the currency the user is using. I check the docs here: ...
6
votes
2answers
1k views

Default currency symbol

I'm looking for a way to get the Default currency symbol (in a none-multi-currency org) of the salesforce org locale (to have it displayed on a visualforce page in a field that can't be ...
4
votes
2answers
560 views

Multiple currency in Managed package without breaking support for non-currency orgs?

I want to implement support for Multi Currency in a Managed Package, while still allowing support for regular orgs without multi currency enabled. Does anybody have any experience with this scenario? ...
5
votes
1answer
779 views

How to dynamically change the currency used in a report summary?

I am running some reports (tabular in this case, but can be any). The grand total field is calculated, according to the "Show Currency Using.." on the report builder. As we have partners/users ...
3
votes
4answers
2k views

How to display Currency field with all the decimal places without rounding it?

I want to display the currency field with all the decimal places.Right now salesforce automatically rounds it to two decimal places. salesforce displays 123.45678 as 123.46 ,i want it to be 123.45678 ...
2
votes
2answers
1k views

Change Opportunity Currency after adding a Opp Line Item

We have enabled multiple currency in our org, and allow the user to set the currency on the Opportunity record. The user is able to change the value of the Currency field on the Opportunity object if ...