最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

How to enable Foreign currency revaluation in Cash and bank management

网络文摘 William 2010浏览 0评论

When using General ledger foreign currency revaluation the revaluation transactions will be created with type Ledger for the bank accounts. This will lead to a mismatch between the Ledger bank account total and the Subledger bank account total in the company currency amounts. The bank exchanage rate adjustment functionality has been requested by several customers and already available in AX2012 for Russia, where it’s a legal requirement. Below I will show how to make it accessible in any country context in 3 steps.

1. Add your country code to the following items by modifying the property CountryRegionCodes:

  • Menu ItemsActionBankExchAdj_RU
  • Data DictionaryExtended Data TypesBankExchAdjVoucher_RU
  • Data DictionaryTablesBankAccountTransFields:
    • AccountingCurrencyAmountCorrect_RU
    • ReportingCurrencyAmount_RU
    • ReportingCurrencyAmountCorrect_RU

Property / CountryRegionCodes

2. Modify the code by adding your country code into the appropriate lines of the following objects

  • Data DictionaryTablesBankAccountTransMethods
    • Insert – 14
    • modifiedField – 14
    • Update – 19
  • ClassesBankExchAdj_RuMethods
    • calcAndPostCurrency – 28
    • calcBalance – 12

    if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoRU, #isoDE]))

3. In Cash and bank management parameters setup a number sequence for Bank – Exchange adjustment

Cash and bank management parameters > Number sequences tab > Bank - Exchange adjustment

After that functionality appears in the Cash and bank management module under the section Periodic > Bank > Foreign currency revaluation

Cash and bank management/Periodic/Bank/Foreign currency revaluation

To post the adjustments select foreign currency revaluation parameters, such as date, currencies, bank accounts.

Select Foreign currency revaluation parameters

As a result Bank exchange rate adjustments appear in the Bank transactions form

Bank exchange rate gain/loss transaction

If you have any feedback or questions about this article please provide them in the comments below or use the stars at the top.


Disclaimer. The described code changes are for your information only. Microsoft only supports installation of the packaged hotfix, and we do not recommend that you attempt to implement similar changes without appropriate testing.

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址