Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Issue on opening Trial Balance

(0) ShareShare
ReportReport
Posted on by 44

Hi Team,

we are getting this message when we open trial balance, we think that someone has posted some transactions with a very big amount 

SQL statement: INSERT INTO tempdb."DBO".t101024_6B85B5D8D1064DA18957DF3D81E44C3A (ACCOUNTINGDATE,AMOUNTDEBIT,AMOUNTCREDIT,LEDGERDIMENSION,POSTINGLAYER,DETAILSUMMARY,TRANSACTIONTYPE,PRIMARYFOCUS,CREATEDBY,DATAAREAID,RECVERSION,PARTITION) SELECT MIN(T1.ACCOUNTINGDATE) AS f1,SUM(T1.DEBITACCOUNTINGCURRENCYAMOUNT) AS f2,SUM(T1.CREDITACCOUNTINGCURRENCYAMOUNT) AS f3,T1.FOCUSLEDGERDIMENSION AS f4,T1.POSTINGLAYER AS f5,1 AS f6,1 AS f7,T2.DISPLAYVALUE AS f8,N'Admin' AS CREATEDBY,N'okcs' AS DATAAREAID,1 AS RECVERSION,5637144576 AS PARTITION FROM DIMENSIONFOCUSBALANCE T1 CROSS JOIN DIMENSIONATTRIBUTEVALUECOMBINATION T2 WHERE ((T1.PARTITION=5637144576) AND (((((T1.FOCUSDIMENSIONHIERARCHY=5637176826) AND (T1.LEDGER=5637145326)) AND (T1.ACCOUNTINGDATE>={ts '2018-03-21 00:00:00.000'})) AND (T1.ACCOUNTINGDATE<={ts '2019-03-20 00:00:00.000'})) AND (T1.FISCALCALENDARPERIODTYPE=1))) AND ((T2.PARTITION=5637144576) AND (T2.RECID=T1.FOCUSLEDGERDIMENSION)) GROUP BY T1.FOCUSLEDGERDIMENSION,T1.POSTINGLAYER,T2.DISPLAYVALUE ORDER BY T1.FOCUSLEDGERDIMENSION,T1.POSTINGLAYER,T2.DISPLAYVALUE

SQL.GIF

*This post is locked for comments

  • MohamedFathy Profile Picture
    44 on at
    RE: Issue on opening Trial Balance

    Thanks Dr. Ludwig, actually we are using AX R3 CU13 and for the KB 3066804 you have mentioned I can't find it

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Issue on opening Trial Balance

    Hi,

    Are you operating on an older AX2012 version?

    Assuming that this is the case.

    Please check the following hotfix and whether it resolves your issue:

    KB 3066804SQL stack trace error when creating a Trial balance for financial dimension set including inventory item and changing language

    Best regards,

    Ludwig

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
Zain Mehmood Profile Picture

Zain Mehmood 6 Moderator

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans