Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

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.

Posted on by 30

Hi All,

I'm trying to create a WHT extension in Business Central W1 based on our previous WHT in NAV W1 CU20. I'm getting an error "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." when posting a Sales invoice transaction. I set the tax to non vat and I'm not using currency exchange rate to lessen the cause of error. I already check the debit and credit amount in debug mode and it was balance but I still getting the error. Please help me to solve this issue. Thanks in advance.

Categories:
  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: 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.

    Hello,

    If you are able to repro this scenario in standard Dynamics 365 BC (preferable in CRONUS), you may want to raise this as an issue to Microsoft via your CSP.

  • Mark Lawrence Profile Picture
    Mark Lawrence 30 on at
    RE: 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.

    Hi Mr. John,

    We already check the related entries and the amounts are same but the error still showing. Thanks for your suggestion.

  • Suggested answer
    John Ray Patajo Profile Picture
    John Ray Patajo 837 on at
    RE: 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.

    Hi Mark,

    Check other related entries like making sure the Customer Ledger Entry is 124 not 125 based from your example.

    Thanks.

  • Mark Lawrence Profile Picture
    Mark Lawrence 30 on at
    RE: 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.

    Hi Mr. Olister,

    Thank you for your reply.

    Yes, the error still showing. I'm using different accounts in posting.

    Here are the details from preview posting:

    Posting Date Document Type Document No.   G/L Account No. G/L Account Name                   Amount

    01/23/2020 Invoice                ***                        6210                Sales, Raw Materials - Dom.   -100.00

    01/23/2020 Invoice                ***                        5610                Sales VAT 25 %                     -25.00

    01/23/2020 Invoice                ***                        1124                Creditable WHT                        1.00

    01/23/2020 Invoice                ***                        2310                Customers Domestic             124.00

    Thank you.

  • Suggested answer
    Olister Rumao Profile Picture
    Olister Rumao 3,957 on at
    RE: 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.

    Hi Mark,

    I have also got this error when I was trying to post a transaction with a same GL Account as debit and credit.

    If possible make sure that the entries have some difference like a Dimension or different Account.

    Let me know if the error still persists.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans