Hello,
we have duplicated the SSRS report which has a Query as a dataset.
It is possible to select display methods as fields to be used on report design, for example from CustTable which is one of the data sources of the Query.
I have created CustTable extension class and added a display method to get an Invoice Address from Customer
public display Addressing custInvoiceAddress(CustTable _this)
{
Addressing address;
DirPartyRecId party;
party = CustTable::find(_this.AccountNum).Party;
address = DirParty::getPostalAddressByType(party, LogisticsLocationRoleType::Invoice);
return address;
}
If I add this method as a field and then use it on report design I'm getting error message when I run the report.
The error message in debugger is: "Unable to read beyond the end of the stream".
So, display method that are already on tables can be used without any problem on report as a field.
Question: How can we add new / extension display methods same way on the report?
Thanks.