Hallo,
Is it possible, to change the currency conversion factor?
I have changed 1 factor (Swiss Franc) in the maps currency.ini and restart the xroute-server, but there was no change at the toll-price.
We calculate the toll in euro (allEuro = true)
best regards
Jürgen
Change currency conversion factor
Re: Change currency conversion factor
Your method is the correct one (altering the currencies.ini ). I'm not sure why it didn't work. You have to check this with your support conact.
That said: this is not a workflow I would recommend. The currencies.ini is part of the toll updates and will get overwritten with most toll updates. Also changing the file requires server files access, a restart of the xRoute. Things that usual you want to avoid in production environments.
If you want to work with your own conversion rates I would recommend turning allEuro to false and convert them in your own middle ware. It is a bit more work to build, but much easier to maintain long term and much more flexible to changes.
That said: this is not a workflow I would recommend. The currencies.ini is part of the toll updates and will get overwritten with most toll updates. Also changing the file requires server files access, a restart of the xRoute. Things that usual you want to avoid in production environments.
If you want to work with your own conversion rates I would recommend turning allEuro to false and convert them in your own middle ware. It is a bit more work to build, but much easier to maintain long term and much more flexible to changes.
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux
Re: Change currency conversion factor
Thanks for your answers