API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Order_SetCurrency

0
Hi,

When using Order_SetCurrency to set the currency of an order, the exchange rate does not change to the proposed rate of the currency nor the rate set in the fixed exchange rates menu.

It looks like the exchange rate follows the debtors default currency.

The only way I can change the exchange rate of an order, is by using Order_SetExchangeRate. This has the problem, that I need to specify rates both in the external program using the API and in e-conomic in order to avoid differences.

Is this an intended behavior or a bug?
created Aug 1, 2012 by nybohansen
17% Accept Rate
Q 7 A 1 C 1

1 Answer

0
Hi,

Yes it is intended behavior and you describe it very correctly.

The short answer is that if we based it on the currency and automatically updated exchange rate according to it there could be a lot of potential side effect dependent on in which order you changed currency/date/exchange rate. Potentially, there could be a lot of scenarios where you would not get what you expected.

Br.
answered Aug 3, 2012 by nkn

Network

Find all the documentation and resources you need to build great apps.
Go to Developer site

Newsletter

Get the latest news and important info from the e-conomic developer world.
Sign up now

Visma e-conomic A/S
...