Shown Error while using preview posting function on Sales Order -Microsoft Dynamics NAV2016

Microsoft Dynamics NAV

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.

OK

use the single instance codeunit to debug this error. Its mostly the tax calculation that throws off the G/l entry.