Weekly exchange rate update (using DotNet)

A while ago, I posted a blog post to download the exchange rates from ECB.

Someone replied that the code is using automations, which do not longer work as of NAV 2013. In this post, I will just do the same, except using DotNet variables this time.

These are the variables.

As you can see, there is no more XmlDocument nor XmlHTTP nor …

XmlTextReader supports to make a simple request and import the result in a variable which can do all the handling.

Next, we just loop through the XmlTextReader using the Read method and processing were necessary.

It might not be the best way to loop the file, but you get the picture.

One thought on “Weekly exchange rate update (using DotNet)

  1. Hello! If you are interested in getting currency exchange rate email notifications, I invite you to have a look at this web application http://exrate.today/. It lets users set smart alerts and receive email notifications for free when a currency is reaching a goal set by users.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.