Questions tagged [currencytype]

The tag has no usage guidance.

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

LWC - Cannot fetch Currency field type to display in lightning-combobox

I'm trying to get all currency field type of a specific object and display it in lightning-combobox but it does not work. When I execute this method with anonymous window, I got the result I want. But ...
Pam's user avatar
  • 97
1 vote
4 answers
554 views

Cannot get composite REST API call to work for CurrencyType update

In our multi-currency org, we get daily updates of conversion rates in the DatedConversionRate object and these need to be copied to the CurrencyType object. For those of you who don't know: DML is ...
Sander de Jong's user avatar
0 votes
0 answers
321 views

How to convert the currency value field to the corporate currency in SOQL

I want to convert the amount field in opportunity object to the corporate currency, I found that the convertCurrency(amount) will give me the value in user's currency format, but I found that the user'...
R_M_R's user avatar
  • 1
0 votes
1 answer
224 views

Update/Insert CurrencyType record using apex Anonymous Window

Hi Experts the below code returns 400 error code when i try to insert record for currencytype. Please give the solutions Http h = new Http(); HttpRequest req = new HttpRequest(); req.setEndpoint('...
Aravinth Hari's user avatar
0 votes
1 answer
1k views

Currency symbol not appearing for lightning data table currency type field in LWC

I have lightning data table with one of the columns associated to Amount field. I want amount values to appear with '$' symbol for which I declared Amount column with type 'Currency' but I was not ...
Gaurav Sharma's user avatar
0 votes
0 answers
266 views

How to cover CurrencyType object in test class? [duplicate]

I am updating the "conversion rate" on the CurrencyType object daily using batch class. But while writing test class unable to insert CurrencyType. This is because of CurrencyType object DML operation ...
jsmith's user avatar
  • 155
1 vote
1 answer
1k views

Currency Type (Object) Updating Causing Error as "RSF CALCULATION IS IN PROGRESS"

I am using the below code to integrate with salesforce. I will receive the exchange rate from the JSON webservice and update the currency type object. the code works fine. It's not all the rates are ...
Vigna Hari Karthik's user avatar
1 vote
1 answer
140 views

Error Message in Community using visual force page - managed package Financialforce PSA

Error Message in Community using visual force page - managed package Financialforce PSA: dlrs_pse_ExpenseTrigger: execution of AfterInsert caused by: System.QueryException: sObject type '...
Lex Ryman's user avatar
0 votes
1 answer
127 views

Active Currency Not Showing Up (Multi-currency enabled, Reports)

Apologies if I am asking a silly question here, but I cannot figure out why my list of currencies (When editing a report -> Preview -> Show -> Currencies Using) does not show all my active currencies ...
Joshua__c's user avatar
0 votes
1 answer
478 views

Returning Formula Field Value of Currency Type Based on a Condition

Assuming I have these formula fields returning currency values: formula_field1__c : (currency1__c * currency2__c) formula_field2__c : (currency3__c * currency2__c) *Note that currency3__c is also a ...
curdual's user avatar
  • 315
0 votes
0 answers
642 views

weird behaviour on negative value in currentcy fields ( namespace issue? )

Salesforce currency field allow negative value input. When you are on the environment with namespace it will convert negative amount to number with brackets( exp. (11) ) however when you are working ...
Shinya Koizumi's user avatar
0 votes
2 answers
224 views

Advanced currency feature is effect for child object of opportunity object?

When we enable advanced currency feature is it effect for currency fields on the child object of the opportunity object?
Prasad Ruwanpathirana's user avatar
4 votes
1 answer
980 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
Edgar's user avatar
  • 1,279
5 votes
1 answer
1k 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 ...
svenf's user avatar
  • 494
0 votes
2 answers
575 views

Currency field is behaving very differently

I have a Currency(17, 1) field "Revenue" on a custom object. here i have defined only one digit after decimal point but in few records it is storing more than 1 digit after decimal point. like - ...
Pramod Kumar's user avatar
  • 5,280
18 votes
3 answers
20k 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", "...
jpmonette's user avatar
  • 4,390