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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Replicating the data in a field in one table with the same field in another table

(0) ShareShare
ReportReport
Posted on by

Morning All,

Please I'm relatively new on this. I need to add a description field to the bank reconciliation report, I discovered that on the ledgerjournaltrans table, each voucher has a txt and the same voucher on the bankreconciliationtmp table is the same in the ledgerjournaltrans table.  I want the information on the txt field to show on the report, so I added the txt field to the bankreconciliationtmp table and created a relationship between them using txt, but I still cant see all the information on the txt field. 

Thanks!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Jesus R. ABASCAL Profile Picture
    1,450 on at

    You have to fill the DP class that fill all bankreconciliationtmp before to print the report. I think it's BankReconcilationDP and then in the insertBankReconciliationTmp method insert a new line with TXT field.

    I hope it helps you.

  • Verified answer
    Sohaib Cheema Profile Picture
    49,668 Super User 2026 Season 1 on at

    adding relationship with any table is not the solution for bringing data for a new field in AX-SSRS reports

    you have to modify your RDP class.

    In your case open class BankReconcilationDP. Go to insertBankReconciliationTmp(method)

    add you code there as under

    BankAccountTrans bankAccountTransBal;  //declare it at top as all variable declarations are at top in x++


    select bankAccountTransBal
            order by TransDate
            where bankAccountTransBal.AccountId            == bankReconciliationPrintoutTmp.AccountId
               && bankAccountTransBal.AccountStatement     == bankReconciliationPrintoutTmp.BankAccountStatementNum
               && bankAccountTransBal.AccountStatementDate == bankReconciliationPrintoutTmp.AccountStatementDate
               && (bankAccountTransBal.Included            == true ||
                   bankAccountTransBal.Reconciled          == true);
    bankReconciliationTmp.YourTextField = bankAccountTransBal.Txt; // value assignment

    you may modify code as per your needs

  • Community Member Profile Picture
    on at

    @sohaib&Jesus, thanks alot, u both saved my day. I have now added the txt field to the report, but when I deploy the report this is what I get Error 1 "An exception occurred in the query metadata execution. The exception is Buffer for call of SRSTmpTblMarshaller::deleteTmpTblData is not specified.. BankReconciliation.Report [Preview] 0 0" I've generated incremental CIL , but still no help.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans