2

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. :) enter image description here

1 Answer 1

2

You use the DatedConversionRate object to specify a dated conversion rate. I don't have a way to test this immediately, but I suspect you will need to make an API call back to the server, since Apex most likely won't support DML on this object. (use a POST to /services/data/v48.0/sobjects/DatedConversionRate).

3
  • Thanks sfdcfox for your response!
    – jsmith
    Apr 10, 2020 at 4:17
  • Hi sfdxfox, Please tell me, can we update conversion rate in bulk (I have data in the pipeline) in https post call if yes please suggest a way.Thanks in advance.
    – jsmith
    Apr 10, 2020 at 4:43
  • 1
    @jsmith You can use the composite resources to update 200 records in a call, or you could even use the sub-resource technique to update 5,000 (200x25) records at once.
    – sfdcfox
    Apr 10, 2020 at 13:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .