Hi all,
I am attempting to create a report similar to the default Sales
Pipeline Report. When one of the bars in a bar chart is clicked, a
list of the records that made up that total is displayed in a sub
report. Any of the records in the list can be clicked open the
selected record in CRM.
I am using the Invoice entity. From what I have read online, it seems
like I need to create a report parameter called CRM_URL and add it in
the Action property of the appropriate table cell of my report:
=IIF(IsNothing(Parameters!CRM_URL.Value), Nothing, Parameters!
CRM_URL.Value & "?ID={" & Fields!invoiceid.Value.ToString() &
"}&OTC=1090")
This works if I call the report directly from within CRM but if the
report is a sub-report of another report it doesn't work. The CRM_URL
parameter remains blank and per the code above, doesn't do anything.
If I hardcode a particular invoice id then I get an error message
saying:An attempt was made to set a report parameter 'ID' that is not
defined in this report. (rsUnknownReportParameter)
The OTC code is correct for the database
Any suggestions as to where I might be going wrong or has anyone seen
this behaviour before?
Regards,
Tim