Announcements
Hi
I create SSRS Report in AX 7 where I need to create link from InvoiceId field in the report to the form VendInvoiceJour. I try to use DrillThroughProvider.DrillInvoiceId but this Data Method is used for the form CustInvoiceJour, I am not sure is it possible and if it's possible how to create Data Method like in old AX 2012 or how to find already existing Data methods in DrillThroughProvider, can you help me with some suggestions?
I think the best approach should be for Drill-Down report is one liner expression as shown below.
=DrillThroughProvider.DrillInvoice(Parameters!AX_ReportContext.Value, First(Fields!InvoiceId.Value, "SalesInvoiceDS"))
Where in "DrillInvoice", "Invoice" is created "FieldGroup" in respected table "CustInvoiceJour" which contains "InvoiceId" along with other fields. Other fields doesn't matter, only "InvoiceId" should be there.
What you need to, do everything as it is to fetch information related to particular field. In properties "Action" tab write the above expression according to your field. This is nothing but expression to fetch the information from DS.
First(Fields!InvoiceId.Value, "SalesInvoiceDS" (Header)
or
Fields!Name.Value (Line or table)
Thanks Martin, I resolved the issue.
Are you aware of GenerateDrillThroughLink()? You'll find details in How To: Add deep links to reports (SSRS).
HI Martin,
Did you resolved the above issue?
André Arnaud de Cal...
294,261
Super User 2025 Season 1
Martin Dráb
232,996
Most Valuable Professional
nmaenpaa
101,158
Moderator