When you try to post a payment applying a bill together with a currency after running the Adjust exchange rate process from the payment journal in the Spanish version of Microsoft Dynamics NAV 2009, you receive the following error message:
"The transaction cannot be completed because it will cause inconsistencies in the G/L Entry table. Check where and how the CONSISTENT function is used in the transaction to find the reason for the error. Contact your system administrator. Tables can be marked as inconsistent during comprehensive tasks, such as posting. This prevents data from being updated incorrectly."
This only happens when a bill document is applied. If there is an invoice instead in the application, the payment journal lines are posted correctly. Follow the steps in the code changes section to solve this issue. This problem occurs in the following product:- The Spanish version of Microsoft Dynamics NAV 2009 R2
- The Spanish version of Microsoft Dynamics NAV 2009 SP1