The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
32 views

Currency conversion for an Outputtext

I am reading two currency fields from a custom object, displaying them and their difference on the vf page. I am using outputfield to display my currency fields, so if the locale currency of the user ...
1
vote
1answer
68 views

Roll-up summary on Lookup Relationship when multi-currency is enabled

I have one serious problem which i'm finding it difficult to resolve please help out..!!! I have Lookup relationship between Account and Opportunity(Custom Object) and i have enabled multi-currency ...
5
votes
3answers
180 views

How to force number format on apex:inputText

Background We have an org that has advanced multi-currency activated. Since this feature is activated we are not enabled to use apex:inputField on currency fields. Instead of this we are using ...
1
vote
2answers
42 views

Different currency converter for different object

This due to different currency rates being used to show the converted amounts. If an Opportunity stage is Won / Cancelled / Not Selected any currency conversions uses a dated currency rate, which is ...
0
votes
1answer
61 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> ...
11
votes
1answer
298 views

“Your organization has been disabled” when multi-currency is enabled

I was just about to access a custom Visualforce page in my managed package dev org when Salesforce returned the message: Your organization has been disabled Salesforce.com has disabled access to ...
1
vote
1answer
66 views

How to maintain the original currency when I import data into Salesforce?

in my company we have integrated Salesforce with Callidus CPQ for quote creation. Actually when I create a quote with CPQ and import (automatically) it into Salesforce, the currency that appears in ...
4
votes
2answers
102 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
28 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
234 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
1answer
100 views

Update conversionRate in test class

To test some apex functionality, we wanted to update the conversion rates of currencies in a test class. It doesn't work since DML operations aren't allowed on CurrencyType via apex. Here is more ...
4
votes
1answer
166 views

Efficient way to perform grouping without using aggregate SOQL queries

I have an aggregate query that groups my custom object records by 4-5 fields and then returns a sum of currency fields in each grouping. I have multicurrency enabled so this sum of the currency field ...
6
votes
1answer
265 views

The Do's and Don'ts of currency calculations in Apex

Ok, I am not a math expert, but I know about the basics of rounding problematics in programming languages. In one of my apps, I do some quite complex (math-wise and infrastructure -wise) currency ...
4
votes
1answer
392 views

Multi threading in SOAP API java client

Is it possible to do the multi-threading in java application while talking to Salesforce using SOAP APIs? I tried it myself and it seemed to work fine. But according to ...
15
votes
1answer
1k 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 ...
5
votes
1answer
1k views

PATCH request using Apex HttpRequest

I'm looking for a way to create an HttpRequest in Apex using a POST method. When I do it, I hit this error: { "message": "HTTP Method 'POST' not allowed. Allowed are HEAD,GET,PATCH,DELETE", ...
2
votes
1answer
946 views

Updating multi currency rates from Apex

I just looked in the Salesforce.com documentation for a way to update currency rates using Apex, but I have a vague feeling that this is not possible using standard features. I noticed that a couple ...
1
vote
1answer
200 views

Update ConversionRates for CurrencyType from Apex

I'm working on a small application in which I want the user to be able to enter a conversion rate on a VF page. The conversion rate should be saved in the CurrencyType object. I wanted to use ...
3
votes
2answers
591 views

CurrencyType vs. DatedConversionRate tables

I'm trying to enable multi-currency support for multiple organizations that I manage. I'm wondering if it's possible to solely rely on the DatedConversionRate table without having to pull down ...
4
votes
1answer
608 views

Single SOQL query to retrieve both a Currency field and the converted currency value?

In Multi-Currency orgs, when a record's Currency is set to a different Currency than the running user's chosen Currency, all Currency fields on that record will be rendered in both the record's ...
3
votes
1answer
401 views

CurrencyIsoCode - Auto included in query results, except for test cases

I've implemented some functionality around MultiCurrency in a Managed package. Since it needs to be able to support non-multi-currency orgs, all references to the CurrencyIsoCode field are done using ...
3
votes
2answers
419 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? ...