Questions tagged [multi-currency]

Use this tag - when Mutilple currencies is setup in your Salesforce organization. - when you have import issues with multiple currency - when you have issues with Corporate currecny

Filter by
Sorted by
Tagged with
0
votes
1answer
10 views

Multicurrency SOQL Query

I am working in an org that has multi currency enabled, and am trying to query out the biggest opportunities per Account, where the opp is over 10,000 GBP or USD. I was hoping to use something like ...
1
vote
1answer
22 views

Can I retrieve the result of a function using the SOAP API?

I set up SOAP integration with my Salesforce instance, to maintain a copy of certain tables in our data warehouse. This works great as long as I'm using fields enumerated in their SOAP API: ...
1
vote
1answer
35 views

How to updating conversion rate daily from Apex?

I want to update the conversion rate daily in multicurrency. Please suggest any solution for this as I do not have any idea where to update the conversion rate and how. Thanks in advance. :)
0
votes
2answers
32 views

Activate Multiple Currencies Temporarily for Test Coverage

I have Multiple Classes that contain code that runs only when the Org is Multi-Currency Enabled. I wouldn't prefer Activating Multiple Currencies in my Org though. Is there a way to cover that code in ...
0
votes
1answer
21 views

Multicurrency Default Currency Code

As per the Salesforce help article: "Upon enablement, all the existing records are stamped with a default currency code that you provide in your enablement request. For example, if your organization ...
0
votes
0answers
20 views

Is it possible to enter amounts in multiple currencies in Salesforce without activating the Multicurrency feature?

I was reading the Salesforce help about multicurrency enablement feature and came across the below statement: "When salesforce.com converts your organization to multi-currency (MC), we must stamp all ...
-2
votes
1answer
90 views

Is there a way to get default currency using apex in single currency org?

I know we can use userinfo.CurrencyIsoCode to get currencycode for user in multi currency org. For single currency org we can manually look into company information and see currency locale. https://...
0
votes
0answers
23 views

Multi Currency Lightning Display in Flow Layout

On my Quote Lightning Record Page I have the Detail View and a Tab for certain fields. If I put the Currency Fields on the Page Layout to display them in the detail section they appear correctly "...
0
votes
1answer
42 views

Is there a way to query a currency field in a specific currency?

I have to do a VF with a "total" field for Quotes in a multi-currency org. Is there a way for me to obtain the QuoteLineItem.UnitPrice in U$D regardless of the user's currency configuration?
5
votes
1answer
36 views

When Advanced Currency Management (ACM) is enabled, is there a way to bypass the default 2 trailing zeros?

With ACM enabled, it defaults currency fields to have 2 decimal places. My client is in the manufacturing industry and they require 4 decimal places. Enabling ACM is necessary for this project due to ...
0
votes
1answer
34 views

Dated Exchange rates and Product Schedules

Can someone explain how this works in practice? Quote the SFDC: Dated exchange rates are used for opportunities, opportunity products, opportunity product schedules How does this look? For ...
3
votes
1answer
126 views

Show in multi currency values in lwc data table

Is there any workaround to show org currency and user currency in lwc data table as shown on the image below?
1
vote
1answer
98 views

Advanced Multi Currency with Custom objects

So when using Advanced Currency Management we have a Dated Exchange Rates table. In normal use it will take the latest exchange rate for a given currency. For Opportunities (Standard Salesforce ...
0
votes
1answer
23 views

Account Currency Defaulting to USD instead of Corporate currency (Euro)

I have multi currency enabled in my org with USD, GBP and EURO. EURO is my corporate currency. My user has Local currency as EURO. However, when I create an Account Record without entering the ...
0
votes
0answers
19 views

European user getting currency displayed in EURO as well as USD

I am having a strange issue. I have a European User, who has language French and Currency EURO given in the user record detail. I have other users from USA who have USD as their currency. I have ...
0
votes
0answers
41 views

Multicurrency on an encryption org

So on a normal org you have to update SOQL queries to use 'convertCurrency (field) alias' for any Currency field you want to get. Is the same thing required for SOSL or is there a different way of ...
0
votes
0answers
42 views

How can I associate currency with territories

I want to be able to restrict the currencies used or selected based on territory assigned to the user. How can I achieve this in salesforce. Multi-currency and territory management is used in my org.
0
votes
1answer
16 views

Get the list of defined currencies

In a multi currency org, how do I get the list of currencies configured in the org? I need the label and the ISO Code. I dont see the label in the DatedConversionRate object. So can someone tell me ...
0
votes
0answers
22 views

How to insert into DatedConversionRates? [duplicate]

We're using multi-currency in our org, the Currencytype object is updated via integration. However the DatedConversionRate object does not support DML and we only update it manually. We want to know ...
0
votes
0answers
17 views

History field query on a multi currency org

Just wondering if anyone knows how to do a soql query to get the converted value of a currency field on a history object. A normal query for history objects would look something like: SELECT Id, ...
2
votes
2answers
95 views

Multi currency apex test method

I have a class that gets an object that has a Currency field called Amount__c. I am updating all my queries to work for a multi-currency org. So my query now becomes: SELECT Id, Amount__c, ...
1
vote
1answer
47 views

multicurrency enablement for CPQ

We have enabled multicurrency in our org. There are some places where in Apex classes and Visualforce pages which is hard coding or returning '$'. My concern is there is some old code and ...
3
votes
1answer
122 views

System.SObjectException: SObject row was retrieved via SOQL without querying the requested field: Invoice__c.CurrencyIsoCode

I am trying to get the CurrencyIsoCode from an object, but I don't know if Multi-Currency is enabled, because my code is part of a managed package. private static String getCurrencyIsoCode(SObject ...
2
votes
1answer
56 views

Multicurrency - getting in object and user currency

So Im looking at this page: https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_querying_currency_fields.htm It really just says to use convertCurrency to ...
0
votes
0answers
153 views

Summary report showing wrong currency for subtotals and grand total

I have an Opportunity report. The accounts are set to USD. The detail records on the report show the correct USD currency, but the subtotals show EUR. Thoughts?
1
vote
0answers
35 views

Current currency mode of an salesforce org

Ran into a scenario where an org enabled advanced multi currency and populated records and decided to switch back to basic currency. They didn't delete records in the DatedCurrencyRate table after ...
2
votes
2answers
62 views

Evaluate Enabling Multi-Currency

Does anyone know of an application that will scan an org to determine the remediation necessary to enable multi-currency? Scanning for things like Currency fields used in SOQL calls and currency ...
3
votes
1answer
867 views

Getting the currency symbol in lightning JS

I am using multiple currencies in my project and I have the currency ISO code. But the problem is, I want to get the symbol for currencies other than user locale. Is there any solution available for ...
5
votes
1answer
1k views

lightning:dataTable in a multi-currency org

Trying to figure out how to handle records with multiple currency. The dataTable definitions are for the column. I do not see anywhere in the documentation where the currency code of an individual row ...
6
votes
1answer
518 views

Is it possible to configure currencies in a multi-currency scratch org?

I'm writing SalesforceDX unit tests that need to use either USD or EUR in Account.currencyIsoCode. So I created a scratch org from this project-scratch-def.json configuration that specifies the ...
4
votes
1answer
2k views

How to set currency code to <lightning:input type=“number” formatter=“currency”>

I am developing a custom currency field with lightning:input type="number" formatter="currency" component: <lightning:input type="number" formatter="currency" value="100" step="1"/> I have ...
0
votes
1answer
244 views

Sum values in multiple currencies

Suppose you have objects Customer and Invoice. Invoice has a lookup to to Customer, which means each Customer can have to multiple Invoices. Considering that: Multi currency is enabled. Customer can ...
5
votes
1answer
177 views

Using Visual Flow - can I grab a product's unitprice in the converted currency?

I am creating a 'Clone this opportunity in Org Currency' button. I need to 'switch' the opportunity, but have all products in the org's currency (currently USD). We have Advanced Currency Management ...
0
votes
1answer
38 views

multi currency invoice

My current invoicing system can only process products in euros. We will have shortly customers from the UK, they will be charged in pounds. We will offer to the British customers our products in our ...
0
votes
0answers
3k views

Multi Currency Oku Yen?

Has anyone worked with Oku Yen? We enabled multi currency feature (in the sandbox) and set up Yen to be the corporate currency. But the client wants Oku Yen to be the default currency, where 1 Oku Yen=...
11
votes
2answers
3k views

session is not valid for use with the REST API

I have http request batch class with the endpoint url is set by using Named Credential in apex code Named Credential: Given as My Domain URL Identity type as Named Principal Authentication Protocol ...
0
votes
1answer
243 views

Rename Currency field Label in a Multi-Currency enabled Org

I have an Org where Multi-Currency is enabled. I can see Currency field available for objects. But I need to change the Currency field label to some other label of one of the custom object. I don't ...
2
votes
1answer
104 views

How to identify Advanced Currency Management (ACM) is enabled

Is there a way to find if the Advanced Currency Managementenabled using api or apex or soql? I have able to check if the multi-currency is enabled by using the api endpoint /services/data/v40.0/...
6
votes
1answer
909 views

Lightning currency input component that respects the records IsoCode

I was so used to Visualforce fields that display a currency value in the CurrencyIsoCode of the relevant record that it took me a while to understand why in Lightning wrong Iso Codes (those of the ...
1
vote
0answers
240 views

Multi Currency and Closed Opportunities [closed]

We are in the process of enabling multi-currency, not advanced currency management. We were told that updating corporate exchange rates would not only affect open opportunities but also closed ...
0
votes
2answers
46 views

Manual Rollup (Sum) behaving differently than Reports and AggregateResult Sum

I'm not sure what is going on here. I'm wrote/summed up some anonymous apex to demonstrate some the discrepancies I'm seeing. Sometimes the values are accurate, sometimes close, sometimes just way off....
5
votes
1answer
304 views

Where does Salesforce store the currency full name?

So I have scanned both the CurrencyType and DatedConversionRate tables but both of them store only the IsoCode only. I need to display the full name for a currency (say AUD - Australian Dollar for ...
0
votes
1answer
204 views

Join CurrencyType and DatedConversionRate tables?

Currently I am trying to do something like SELECT Id FROM DatedConversionRate WHERE IsoCode NOT IN (select IsoCode FROM CurrencyType WHERE isActive = true) which Salesforce will not allow me to do ...
0
votes
1answer
2k views

Salesforce Custom Currency Conversion Trigger

I need a little help . I am almost there ... but need a little hand-holding. Agenda is to ALWAYS display the value converted in EUR - does not matter what the record currency is. I am using this code ...
3
votes
1answer
1k views

Multi-currency: how to insert a currency with non-default currency type

I am new to multi-currency. Suppose I have used Australia Dollar and Japanese Yen in the system. And when I am executing the below code: Merchandise__c mer = new Merchandise__c(); mer.Name = 'Sample ...
1
vote
2answers
145 views

How to add complex conditional code in visualforce - Multi-Currency

I have the following code in visualforce: <apex:variable value="{!Opportunity.Amount-Opportunity.Descuento_Autorizado__c}" var="descontado"/> {!IF(Opportunity.CurrencyIsoCode=="USD", <...
1
vote
1answer
193 views

How to NOT convert QuoteLineItems currency in a trigger's queries?

TL;DR: I need to compare QuoteLineItems and Opportunity Products in a trigger, but the queried rows amounts are being automatically converted to user-profile's currency, failing my comparison. How ...
0
votes
1answer
520 views

Display Currency field in subject of a visualforce email template

Is there a way, using the standard visualforce functions, to render a currency value in the subject of a visualforce email template? This: <messaging:emailTemplate subject="Amount: {!relatedTo....
1
vote
1answer
327 views

Selectively disable Parenthetical Currency Conversion

I'm trying to find a way to disable the 'Parenthetical Currency Conversion' only for a specific object. Currently, we have one custom object where the business requires a different exchange rate ...
1
vote
1answer
69 views

Currency Type is not showing up on my Visual Force Page

Multi Currency is turned on in my org.  I have a Visual Force Page with a Currency Field on it but the Currency type is not showing.  The page needs to show if the amount is in GBP, USA, HKD, AUS etc. ...