Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

ledgerTansAccountList Report

Posted on by 1,534

hi expert, i have very basic question, i wan to add new field batch number which comes from ledgerJournaltable on ledgerTransAccountlist Report, when i go to LedgerTransListAccountDP, there is queryStr legerTranslist, i just added my table ledgerjournalTable to that Query,also added my new field to report design, and in  LedgerTransactionListTmp, but data in report for new field are not populated, where is the problem, please guide me.

Regards.

*This post is locked for comments

  • munsif Profile Picture
    munsif 1,534 on at
    RE: ledgerTansAccountList Report

    my customizations are under

    1. Adding new field (Journal num) which is required to display on report added to LedgerTranscatoinlistStaging Tmp.

    2. The same field (Journal num) added to another table LedgerTransListTmp.

    3. Adding a new Table (LegerEntryJournal) to LegerTranslist Query with outer join General Journal Entry table.

    4. added code to Class method LedgerTranslistHelper(create Reportdata)

    ledgerentryjournal=queryRun.get(tableNum( ledgerentryjournal))as  ledgerentryjournal;

     processingStagingTable.JournalNum=ledgerEntryJournal.JournalNumber;

    join JournalNumber from ledgerEntryJournal
    where LedgerEntryJournal.recId==generalJournalEntry.LedgerEntryJournal;

    the code work fine....but the actual report data disturbed.

    i.e suppose with out customization the report data show me data on 1786 pages, and when i import the customization the same report show only record for 786 page.

    please help me where i making mistake.

    Regards.

  • munsif Profile Picture
    munsif 1,534 on at
    RE: ledgerTansAccountList Report

    Hi expert last time i had asked a question regarding a new field in ledgerTransList Report. the new field added to new design successfully and also show on the report, but data are disturbed in original report(Design). please guide me where i have make mistake in code.

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: ledgerTansAccountList Report

    What have you done to fix it ?

  • Suggested answer
    munsif Profile Picture
    munsif 1,534 on at
    RE: ledgerTansAccountList Report

    Thanks all, i have sort out , Data is now populating in my new field.

    Thanks to All

  • munsif Profile Picture
    munsif 1,534 on at
    RE: ledgerTansAccountList Report

    thanks for reply , i added my new field inside in loop, also in insert_recordSet method,also debugg code, but all in vain.

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: ledgerTansAccountList Report

    What did you do ? It's hard to help without understanding your changes

  • munsif Profile Picture
    munsif 1,534 on at
    RE: ledgerTansAccountList Report

    no sir, not good result yet.

  • munsif Profile Picture
    munsif 1,534 on at
    RE: ledgerTansAccountList Report

    thanx, i will try and ping you after testing.

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: ledgerTansAccountList Report

    There is method processReport() in LedgerTransListAccountDP class. This method calls  helper.createReportData();

    In createReportData() you can find while loop that process query. You need to assign value to you new field inside of the loop.

    Also there is insert_recordset statement that will insert data, you need to modify it as well.

  • munsif Profile Picture
    munsif 1,534 on at
    RE: ledgerTansAccountList Report

    thanx, Ievgen, yes i have refreshed cache,also did increamental CIl, but all in vain,now plz guide me ,how to fill to createReportData() 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans