pageextension 50100 CharOfA extends /Chart of Accounts/{ actions { addfirst(processing) { action(Test) { Caption = 'Post something'; ApplicationArea = all; trigger OnAction() var GLPost: Codeunit /Gen. Jnl.-Post Line/; Line: Record /Gen. Journal Line/; begin Line.Init(); Line./Posting Date/ := TODAY(); Line./Document Type/ := Line./Document Type/::/ /; Line./Document No./ := 'X000004'; Line./Account Type/ := Line./Account Type/::/G/L Account/; Line./Account No./ := '10910'; Line.Description := 'Youtube Testing'; Line.Amount := 70; // Line./Bal. Account Type/ := LIne./Bal. Account Type/::/G/L Account/; // Line./Bal. Account No./ := '10920'; GLPost.RunWithCheck(Line); end; } } }}
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.Internal session ID:1bd5d7c2-6e88-400a-a03a-c81ae7b62dbbApplication Insights session ID:ff8361cf-b7b3-400e-9aeb-55aeedc41f93Client activity id:6d40b9d3-204d-4457-a2ab-e0360a89d034Time stamp on error:2024-04-24T03:39:01.5090752ZUser telemetry id:049e148d-2665-412a-a6d7-bcc1cf3232ac
Please help me to resolve.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Mansi Soni as our August 2025 Community…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sohail Ahmed 2,899 Super User 2025 Season 2
Sumit Singh 2,444
Jeffrey Bulanadi 2,304