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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How i can get the report info "Transaction List Account" by Code?

(0) ShareShare
ReportReport
Posted on by 578

I just need to pass start date, end date and account.

The next code only get the total with out details

ledgerBalance = LedgerBalanceMainAccountAmounts::construct ();
ledgerBalance.parmIncludeRegularPeriod(true);
ledgerBalance.parmAccountingDateRange(FiscalCalendar, endDate);
ledgerBalance.calculateBalance(MainAccount::findByMainAccountId('21000200010001'));
AccountingCurrencyBalance = ledgerBalance.getAccountingCurrencyBalance();

At the moment I am reviewing the LedgerTransListAccount classes

Thanks in advance

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello ismaelivan,

    Why do you need this code to get ledger account balances?

    We have the management reporter available that is just doing that for you and shows you the account codes.

    I would recommend that you have a look at this standard functionality.

    Best regards,

    Ludwig

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello ismaelivan,

    Have you been able to get this issue resolved in the meantime?

    Please let us know if some additional help is needed from the community.

    Many thanks and 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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans