Skip to main content What is Dynamics 365? Guided tours Customer stories Try our products Build your own agents CRM ERP Sales Service Sales Customer Insights Customer Service Contact Center Field Service Supply Chain Management Commerce Finance Project Operations Human Resources Business Central Pricing Business application topics Training & certifications Documentation Migrate to the cloud Private equity Migrate to Dynamics 365 Events Dynamics 365 Blog Product updates Onboarding and implementation Community Find a partner Software Development Companies Partner resources Microsoft Marketplace Product documentation Technical support On-premises product support Contact us Try for free Sign in
1 min read

Trial balance transactions missing after applying KB3024254 or upgrading AX 2012 R3 to AX 2012 R3 CU9


Trial balance transactions are missing in AX 2012 R3 CU9 when you upgrade AX 2012 R3 to AX 2012 R3 CU9 or if you install KB3024254 (which is a part of CU9 package).

Navigation: General Ledger >Common > Trial balance > Double click any record

Trial balance.

When you select any record, the window containing transactions should open, however the grid is empty.

Window containing transactions, with empty grid.

The issue occurs when you view the transactions of already existing data before upgrade in the trial balance form.

When transactions are populated in the grid, the Main account column in the GeneralJournalAccountEntry table is populated. However, in this case the value is ‘0’ for Main account column as the transactions are not displayed.

Global journal account entry table.

In order to fix missing transactions in the main account column in the GeneralJournalAccountEntry table, you need to install hotfix KB3093861.

While applying KB3024254 or AX 2012 R3 CU9 you also need to apply KB3093861 before running the software update checklist so the appropriate data upgrade script runs to populate the MainAccount column in the GeneralJournalAccountEntry table.

If you have already applied KB3024254 or AX 2012 R3 CU9, then you can run the data upgrade script manually using this X++ job:

static void Job3(Args _args)

{

ReleaseUpdateDB63_LedgerMinor r = new ReleaseUpdateDB63_LedgerMinor();

    ;

    r.updateGeneralJournalLinesMainAccount();

}

DISCLAIMER:

Sample Code is provided for the purpose of illustration only and is not intended to be used in a production environment. THIS SAMPLE CODE AND ANY RELATED INFORMATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. We grant You a nonexclusive, royalty-free right to use and modify the Sample Code and to reproduce and distribute the object code form of the Sample Code, provided that. You agree: (i) to not use Our name, logo, or trademarks to market Your software product in which the Sample Code is embedded; (ii) to include a valid copyright notice on Your software product in which the Sample Code is embedded; and (iii) to indemnify, hold harmless, and defend Us and Our suppliers from and against any claims or lawsuits, including attorneys’ fees, that arise or result from the use or distribution of the Sample Code

Get started with Dynamics 365

Drive more efficiency, reduce costs, and create a hyperconnected business that links people, data, and processes across your organization—enabling every team to quickly adapt and innovate.