Questions tagged [currency]

Currency fields contain currency values, such as the ExpectedRevenue field in a Campaign, and are defined as type double.

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

How can we use Dated Exchange Rates values in formula fields?

I have a formula(Checkbox) field on the Opportunity object, which shows TRUE, when Some_Value__c (formula(Currency)) field >= 6000$: Some_Value__c / CURRENCYRATE(TEXT(CurrencyIsoCode)) >= 6000 ...
1
vote
1answer
43 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. :)
1
vote
1answer
35 views

Format decimal according to locale, but with fixed number of decimal places

There were many question around the topic of formatting decimals according to user's locale and rounding decimals, but I haven't seen the one that actually fits my case, so here I go. I am creating ...
-2
votes
1answer
108 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
1answer
45 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?
0
votes
0answers
24 views

on clicking any pencil icons to update the record, the currency data fields that are in SEK change to SGD

on clicking any pencil icons to update the record, the currency data fields that are in SEK change to SGD (User's local currency). On saving the records the currency changes back to SEK. This should ...
0
votes
1answer
24 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
1answer
39 views

Look up question

I have a custom object A, that has a currency field and has a look-up relationship to object B. Now within object B, I am trying to access the value of the currency field of object 'A'. What is the ...
0
votes
0answers
26 views

Salesforce currency field decimal rounding, too many decimal places

How come my currency field numbers are slightly off from the whole numbers? for example 8.90000000000003 23.34999999999997 40.8199999999999 I recall having to do something to prevent this from ...
0
votes
0answers
155 views

How can I tell Salesforce their CPQ Developer Org is BROKEN when their Submit Case is BROKEN?

My original objective was to do the prework setting up a CPQ Developer Org for Superbadge Billing Specialist The first bullet on "Pre-work and Notes" declares: Default currency is USD and default ...
1
vote
1answer
269 views

Getting currency code with SOQL query for all types of organizations

I need to get the currency code of currency fields (such Opportunity.Amount) in a way that works for both multi-currency and single-currency organizations I don't use Apex, I use SOQL My approach ...
0
votes
2answers
773 views

How can use custom currency in a input field?

I'm using LWC, but I can't set custom currency in the lightning-input, using type number or currency. I also try to use lightning-input-field of type currency, but I found in documentation: ...
-1
votes
1answer
99 views

Marketing Cloud - default no. of digit for phone no. field and default currency

Default max max number of digits for phone number field in my marketing cloud is 9. How can I change it? Similarly, if I try to add a facebook (?) account, it doesn't accept the account whose ...
0
votes
1answer
369 views

Change Account Currency with Apex?

We use our homebrew shop system together with Salesforce and Financialforce. Invoices are created and send by our shop system. After an invoice is created it will be transmitted to related Salesforce ...
0
votes
3answers
183 views

Keep currency symbol and amount on same line in VF

I have create a VF page for (PDF) quote generation however i'm struggling keeping the currency symbol and amount together. Looking at my code ... {!$Label.Quote_PDF_AgreesOnPlanned_Act} <b&...
0
votes
1answer
69 views

How to store Currency in limits in currency field

I have a requirement where I need to store values in currency field as $2,00,000/$3,00,000. Basically, that field will be used to denote limits. I cannot do that using a currency field. WHen I tried ...
0
votes
1answer
1k views

Converting Currency to Decimal And Converting Back To Currency Display in Email Template

I have a currency field that I multiply by .5 in my apex code. This changes the data type to a Decimal. I want to display on a visualforce email template the newly updated number as a currency. ...
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
3answers
187 views

Swiss Currency by using culture code

I have a small problem. I´m using culture-codes to put the value into the correct format. used culture code: de_CH I was hoping to get this format: CHF 18.99 But I got that: ...
0
votes
1answer
100 views

Translating own country identifier into SF culture code

I´m quit new in the Amp-world and I´m hoping for help. I have newsletters with a lot of products and prices. Right now I have the content in data extension fields with the final value and currency ...
1
vote
1answer
451 views

How to use FormatCurrency with a text field filled with decimal numbers

I have a data extension with decimal numbers (seperated by comma) and formatted as text (changeable). Now I want to use that data and put it with FormatCurrency() into the right shape for the ...
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
38 views

Formula logical operators currency madness

Either there is something really wrong going on with SF or I'm going crazy. I have some fields: Total__c, Amount_Received__c, Amount_Refunded__c (Currency) Amount_Paid__c (Formula Currency) ...
0
votes
1answer
69 views

Is Salesforce adding decimals wrongly?

Problem Description: Having weird decimals calculation Field 1(formula(Currency)): 0.53 Field 2(formula(Currency)): 5.27 Formula field Total = field 1 + field 2 Total = 0.53 + 5.27 Expected: ...
1
vote
2answers
1k views

System.TypeException: Invalid decimal Error in apex

I have a currency field in object. I am assigning value to it in apex For US users: the currency format is 241,500.00 so when i apply decimalof on this i am getting 241500000.00. But for Eur users: ...
1
vote
0answers
270 views

inputCurrency format changes on focus

I have an inputCurrency field defined like this: <ui:inputCurrency aura:id="amount" class="slds-p-top_none" value="{!s.Amount__c}"/> This input is inside a component that lives inside an ...
6
votes
1answer
925 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
243 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
1answer
532 views

currency field multiplied by another number rounded down its decimals

We have a currency field which should produce a currency result with decimal points after multiplication. However, the decimal part was consistently round down to zero. All fields in the formula have ...
1
vote
1answer
399 views

Need to initialize a currency field to blank or null in a process

Before calculating currency field values, I need to initialize all of these fields to be blank or null values as different fields may need to be populated based on updates to opportunity start and end ...
1
vote
0answers
283 views

How to get rid of the dollar($) sign in currency field in email template

I am thinking of a way to get rid of the $ sign of a currency field in email template. One way to do this is to create a new formula field of number to copy the value which seems a bit clumsy to me. ...
0
votes
0answers
406 views

Set Negative Values on Currency Field while loading data with dataloader

I am trying to upload the data using workbench. The file contains columns as Id, currencyField. Here is the sample: ID Column1 | CurrencyField Column 2 XXXXXXX | 1234.33 YYYYYYY | -5678....
0
votes
1answer
252 views

How to replicate NumberFormat based on locale in salesforce

I want to show currency on VF page in different formats based on locale used on the template. NumberFormat class is available in Java to achieve this but in apex is there any way to achieve this. ...
0
votes
1answer
1k views

Formatting as a currency on a VF page

I'm trying to render a currency value to a VF page. Whether I use Decimal or String, it still doesn't seem to work with the OutputText formatting :- <apex:column> <apex:facet name="...
1
vote
1answer
195 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 ...
1
vote
1answer
340 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 ...
0
votes
1answer
91 views

Enabled Multicurrency in Org

I have enabled multicurrency in org ,but the CurrencyISOCode field got added to all Objects PageLayouts. I want to remove this field from all pagelayouts.Please suggest . i have almost 600 objects and ...
0
votes
1answer
1k views

How to separate currency values through commas in salesforce formula field

how to separate currency values through commas in salesforce formula field. My code : TEXT(ttt__c) & " to " & TEXT(sss__c) & " xxx in "& city__c & if(State__c="",""," "& ...
2
votes
1answer
415 views

SOQL: Get most recent amount grouped by a parent and a type

Should be simple had it been SQL. But. I would like to get the amount field value that belongs to the most recent month available for that parent and that type. Data: Parent_Id__c Type__c ...
0
votes
1answer
96 views

working with salesforce currency fields

I have to perform some calculations on two currency field in the following manner and display in the UI: field1*field2/field2 So i have the following code for this: Decimal value1 = object.field1; ...
0
votes
1answer
2k views

Can I add multiple currency prices to a product in one data upload?

I am using the data uploader to add prices to a bunch of products I just created. We work in GBP, EUR & USD; Can I use one spreadsheet to upload all currencies in one hit (standard Price) or ...
2
votes
0answers
63 views

Old record shows the converted currency to EUR instead of showing the amount in USD

I have a field in Opportunity named List Price Summary that computes and displays the SUM of the Total Price in all its Opportunity Line Item records through trigger. For example, I have two ...
0
votes
1answer
320 views

display aggregate result value as currency

I have requirement to display aggregate result values in visualforce page and it should be formatted to currency. Could anyone help me with this issue i am facing. apex controller: RepSalesbyFund = ...
0
votes
1answer
135 views

Set the currency of the records to be fetched using SOQL

I have a situation in a multi currency org. I have Booking Object as child related to Opportunity Object. On a Visualforce page I want to show list of Bookings related to the a Opportunity. Problem :...
1
vote
0answers
55 views

Records of custom objects imported to salesforce have currency code that cannot be updated to the same code as in csv file

I have already imported a list of records of a custom object to salesforce via data loader. Now the imported records have currency fields in ISO code(THB) that we imported to salesforce. Unfortunately ...
1
vote
0answers
77 views

Stumper: unexpected conversion behavior in multi-currency organization

I am facing an issue wherein our custom currency conversion is seemingly being short-circuited by the standard multi-currency functionality, but only sometimes. Our organization has multi-currency ...
1
vote
1answer
217 views

Get currency from Asset object in Apex

How do I get the currency in which asset price is stored? Can I write something like asset.currency in Apex? I'm creating a package for org with multiple currencies, and I need to convert the asset ...
8
votes
1answer
264 views

I see a possible platform bug relating to currency - would like help confirming, or show me what I'm missing

Historically it's been possible to determine if advanced currency management is enabled by using: Schema.getGlobalDescribe().containsKey('DatedConversionRate'); as this object is only available on ...
2
votes
2answers
486 views

SOQL query failing when comparing formula field and currency field values

I'm having trouble trying to figure out what's wrong with this SOQL sentence: SELECT Id, FormulaField__c, CurrencyField__c FROM MyTable WHERE FormulaField__c != CurrencyField__c ...