web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Is It Possible To Import Average Exchange Rates As A Recurring Batch Job?

(3) ShareShare
ReportReport
Posted on by 304
Hi all,
 
I currently have batch jobs that can import daily and month end closing rates from OANDA. I have been struggling for years to find a way to automate importing a prior month average rate on the 1st of the following month.  The parameters dialog is pretty straightforward, allowing me to enter start and end dates, but I can't find any way to make them change Dynamically, pun intended. 

If I take the parameter setup shown below and manually run it on 1 Oct 2024, it will import a single average rate from 1 Sep 2024 to 30 Sep 2024, as I'd expect. But if I make it a recurring batch job, then when it runs on 1 Nov, it will once again import a value from the September date range. I have preconfigured dynamic date ranges set up that work in other areas of D365, such as the Trial Balance, but they aren't a selection option here. I'm stumped as to how I can make my date range change when the month changes when the batch job triggers. Any guidance would be appreciated.
 
Steve
 
  • jvermette09 Profile Picture
    83 on at
    Does OANDA give you access to an API? I would recommend using power automate instead as it would be much more flexible.  We handle all of our FX rates with Power Automate and the XE.com api
  • Verified answer
    Jonas "Jones" Melgaard Profile Picture
    5,017 Most Valuable Professional on at
    Hi Steve,
    That is not possible out of the box. I have done a lot of work with the batch job behind the exchange rate providers quite recently.
     
    You will have to make a customization or implement a version that automatically can change the date.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 510 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 302 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 197

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans