Hi all
I am using D365F&O
When we create a RDP class for a ssrs report we use
[SRSReportDataSetAttribute("TempTable")]
public TempTable getTempTable()
{
select * from _tempTable ;
return _tempTable ;
}
which reflects while creating datasets in the report.
My question is how can i create multiple data sets using the same TempTable but different conditions. What I tired didnt work was : -
[SRSReportDataSetAttribute("TempTable")]
public TempTable getTempTable()
{
select * from _tempTable where _tempTable.Field == Value ;
return _tempTable ;
}
[SRSReportDataSetAttribute("TempTable")]
public TempTable getTempTable()
{
select * from _tempTable where _tempTable.Field != Value ;
return _tempTable ;
}
Can someone please suggest how I can make this logic work ?