Hi Everyone!
I am very new to Dynamics AX, and I'd like a little guidance from those of you who are experienced with this programming model. I'm normally doing ASP.NET stuff here at work, but I've been asked to modify some existing reports since we're slow right now.
Onto the question. The report I need to modify is using a Report Data Provider as it's Data Source. The Query portion of it reads, "SELECT * FROM TransactionDetailsReportDP.TransactionDetailsReportTmp". From what I've been reading, in order to modify this, I'd have to add a field to the temp table, then I'd have to populate it in the "processReport()" method on the Data Provider. Looking under the "Classes" node I see the Data Provider, a Contract, and a Controller. What I don't see if any reference to the fields that are in the temp table that populates the report. Looking at the processReport() method, the number of fields that are initialized don't match the number in the temp table, and the names don't match either. The report runs just fine, so that temp table is getting populated from somewhere. The temp table also consists of fields that come from more than one table, so something is being joined somewhere, but I haven't been able to figure out where that's happening. If fact, I just need a field from a table that's already being joined, so it would probably be as simple as just adding it to the SELECT statement if I could ever figure out where that's happening.
thanks in advance. If you need me to elaborate on anything, let me know.
Mike