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, ...
Answered

How Add Field to SSRS Data Set

(1) ShareShare
ReportReport
Posted on by 499
I want to add a field to bankAccountStatement report in D365FO,
1- I made an extension of tmp table
2- I dragged and dropped the field from the bankAccountTrans table (txt field) to the tmp table
3- I synchronized the database and built my model
4- I created a class that has event handler at inserting in the tmp table
{
[DataEventHandler(tableStr(BankAccountStatementTmp), DataEventType::Inserting)]
public static void BankAccountStatementTmp_onInserting(Common sender, DataEventArgs e)
{
BankAccountStatementTmp BankAccountStatementTmp = sender as BankAccountStatementTmp;
BankAccountTrans BankAccountTrans;

while select Txt from BankAccountTrans where BankAccountTrans.AccountId == BankAccountStatementTmp.AccountID
{
BankAccountStatementTmp.Txt = BankAccountTrans.Txt;
}
}
}
 
5- I'm trying to restore the dataset in the report in order to show the txt field to add it to the design, but it;s showing this:
 
 
Anyone has any idea how to solve this? Even I tried to create a new dataset but I can't restore it
Categories:
I have the same question (0)
  • Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi,
     
    Are you working on standard report? How you add the custom filed to your DataSource in the report? 
     
     
    Thanks,
    Waed Ayyad
     
  • Verified answer
    CU09091357-0 Profile Picture
    499 on at
    Waed Ayyad, I mentioned how I added in the step 2, by drag and drop from the mother table.
     
    It worked just by restarting VS, the error disappeared and I was able to restore the dataset.

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