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 572

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

  • Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: How i can get the report info "Transaction List Account" by Code?

    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

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: How i can get the report info "Transaction List Account" by Code?

    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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans