Power Dynamics
  • Power Dynamics
  • 🍕My name
  • D365 CE
    • Copilot
      • 🥐Add Copilot into Rich Text Control
    • Sales
      • Copilot in D365 Sales
      • Export record to PDF
    • Customer Experience
      • Contact Center (Omnichannel)
        • 🐚Internal Live Chat in MDA
        • 📢Add Chat Widget to Power Pages - Proactive Chat
      • Attachment Control
      • Case Routing: Basic Routing rule set
      • Custom SLA for any Entity
      • Customer Insight
        • Journey - Custom Trigger - Call Power Automate
    • Field Service
  • Power Platform
    • Analytics
    • Dataverse
      • Use case for the feature of Record ownership across Business Unit
      • 💡Workaround: Change the OOB "Exchange Rate" of a record
      • Using a Virtual Entity to store historical log (sample)
      • Disable Empty Address record
      • Using Adaptive card
      • Block Unmanaged Customizations
      • 🪃Recycle Bin on Dataverse (Preview)
    • Model Driven App
      • 💡Run SSRS report on MDA mobile
      • 💡Tip: Create a Security Role with "App Opener" minimum privileges
      • Tag @person to notify in MDA
      • Auto search on the Lookup field
      • Activities with multiple related records
      • Embedded Power BI - Dashboard
      • Embedded Power BI - Form
      • "Custom Help" - Is it help?
      • New modern Command Bar
      • Tip: Hide the button "Add Existing Record" on subgrid
      • Custom Page - Why not?
      • Hiding sensitive column data
    • Canvas App
    • Fabric & Power BI
      • New Text slicer
      • Dataverse link to Microsoft Fabric
      • 💡Leveraging Interactive Warehouse Floor Maps in Power BI
      • Calculation Group for Time Intelligence
    • Power Automate
      • ✅Sequential Approval
      • 📤Create an Appointment by Outlook Graph API
      • Dowload SSRS Report and Send email
      • Power Automate: Add a table in Email
      • 💡Tips: Get "DisplayName" of the Lookup field on Power Automate
      • E-sign: Power Automate & DocuSign
  • D365 Finance & Operation
    • General
      • 🇻🇳D365 FnO - Virtual entities: Use case
    • Finance
      • Consolidating Customer & Vendor Balances
    • Supply Chain
      • Landed Cost Series
        • Landed Cost- Essential Configuration
        • Landed Cost Scenarios 1
Powered by GitBook
On this page
  • Using API to update Base Currency
  • Workaround with Business Rule
  • Checking...

Was this helpful?

  1. Power Platform
  2. Dataverse

Workaround: Change the OOB "Exchange Rate" of a record

#changExchangeRate, #powerPlatform, #dataverse

PreviousUse case for the feature of Record ownership across Business UnitNextUsing a Virtual Entity to store historical log (sample)

Last updated 1 year ago

Was this helpful?

Hi, my friends, The client asked me how to change the Exchange Rate of the record in Dataverse. You know that the column Exchange Rate is unable to edit. And, the Exchange rate field will be populated when you choose the transaction currency for the record (as sample below).

Using API to update Base Currency

The next day, the client wants to update the actual exchange rate for each record without updating the Exchange Rate in the table Currency. It means they want to update the transaction currency exchange rate on the record.

Workaround with Business Rule

For instance, I will try to update the Exchange Rate (OOB) and recalculate the field Est. Amount (Base) for the entity Deal.

My workaround solution:

  1. Create a custom field: Exchange Rate - Trans with the same configuration as the OOB field "Exchange Rate". The user will input the actual exchange rate value into this field then the system will trigger an update to the OOB field "Exchange Rate" and recalculate the field "Est. Amount (Base)".

  2. Then use the Business Rule to update the OOB field "Exchange Rate" and recalculate the field "Est. Amount (Base)".

    In my Business Rule, I use 2 actions "Set field value":

    • Set field value: Exchange Rate (OOB) = Field(Exchange Rate - Trans)

    • Set field value: Est. Amount (Base) = Formula(Est. Amount / Exchange Rate (OOB))

The "Exchange Rate (OOB)" field cannot be updated through Workflow or Power Automate due to system restrictions. To bypass this limitation, we utilize a Business Rule.

By default, updating the "Exchange Rate (OOB)" field does not trigger an automatic recalculation of the "Amount (Base)" field. To ensure the field is updated, I use the "Recalculate Est. Amount (Base)" action to update

Checking...

This solution from .

First of all, I would like to thank 's support and for giving me a great solution to update the Exchange rate - .

Thank you for reading & Hoping well. [NTD]yns.asia ... Thank you.

💡
Temmy Wahyu Raharjo
Temmy
Dataverse: Create an API to update Base Currency
☕
❤️
invite me a cup.
The Exchange auto populate from Currency table
Custom field: Exchange Rate - Trans
Business Rule
Final Testing - How to change "Exchange Rate (OOB)" field