this is with reference to the new 8.2 feature "
currency rate by document or by transaction" documented here:
https://idempiere.atlassian.net/browse/IDEMPIERE-4083.
This new feature is very useful, in fact, a required feature because there are situations in which we need to overwrite a document's foreign currency rates manually, for us in Thailand n cases like these: specific hedge rates at the time of foreign currency payment (with underlying forward contract), customer export invoices in foreign currency to be recorded at a specific currency rate, other than the government's announced standard conversion rates.
But we encounter the following problem with the new solution:
- We operate in a multi-country/multi-currency/multi-organization on a single-client environment.
- Every country in our single client has its own local accounting schema, THB in Thailand, IDR in Indonesia, AUD in Australia etc.
- The primary schema represents a common currency, our group currency USD, as there can only be a single primary schema.
Here is where we encounter a problem:
- The document conversion rates we need to manually enter are between any foreign currency (e.g. EUR, USD etc.) and the LOCAL currency (THB in TH, IDR in ID) but what the system currently does is to apply the manual conversion rate between the foreign currency and the primary schema currency, e.g. EUR to USD (assuming the primary schema is the local currency). This isn't the case for a multi-country and single-client setup.
- As a further consequence, for foreign currency USD, the conversion rate field is not displayed because the USD is the primary schema currency.
So in a multi-country, multi-schema setup, the new currency conversion solution should support the conversion between any foreign currency (incl. the primary schema's currency) into a "local" schema currency, that is, any schema other than the primary schema. In our example:
Payment in foreign currency EUR:
In TH, enter manual conversion rate from EUR>THB Schema
In AU, enter manual conversion rate from EUR>AUD Schema
Or more generally: Apply the specified currency rate to the accounting schema the (payment) document's ad_org is a member of but NOT to the primary schema.
Perhaps this can be solved using a switch in the system configuration table.
Cheers,
Michael