Hi all,
I have created a codeunit based on an event subscriber to update Gen G/L line dimension codes, but receive this 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.
This is the code unit and idea is automatically fill in the dimensions before posting manual journal
Hello - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
dynamicsuser.net/.../developers
I will open this up to the community in case they have something to add.
Sohail Ahmed
1,200
YUN ZHU
1,006
Super User 2025 Season 1
Mansi Soni
864