web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Zero balance is not coming in the trial balance

(1) ShareShare
ReportReport
Posted on by

Hi All,

I have created the zero balance main accounts, just by creating main account ID and Name. But the created zero balance main account is not coming to trial balance. Is there any technical issue in this ?? I couldn't able to find out the reason.  After saving this main account listpage form, this zero balance has to go to trial balance. Where i can write the code to achieve this. Please anyone help me. 

21741.Untitled.png

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Thanks Crispin,

    But i want that zero balance main account to be displayed on the Trial balance list page form and not in the Ledger trial balance report. So give me any solution.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    Zero balance accounts are not shown in the trial balance list page. If you need to see them then use either the management reporter or the standard ssrs reports.

    Best regards

    Ludwig

  • Community Member Profile Picture
    on at

    Hi Crispin,

    Thank you so much. . It is working fine :)

  • Verified answer
    Community Member Profile Picture
    on at

    HI Crispin,

    As you said i wrote the logic in LedgerTrialBalanceDP class, in new method  for zero balance accounts condition. Later automatically came in Trial balance list page

    while select _mainaccount where _mainaccount.type == DimensionLedgerAccountType::ProfitAndLoss

       {

               balanceAMT = balance.getAccountingCurrencyBalance();

               if(balanceAMT==0)

               {

                   ledgerTrialBalanceTmp.PrimaryFocusDescription = _mainaccount.Name;

                   ledgerTrialBalanceTmp.PrimaryFocus =_mainaccount.MainAccountId;

                   ledgerTrialBalanceTmp.EndingBalance = balanceAMT;

                   ledgerTrialBalanceTmp.insert();

              }

        }

  • Maged Kassem Profile Picture
    125 on at

    Hello Vasanth,

    can you show me the full code of the zero balance method

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans