title | description | ms.author | ms.date | ms.topic | author | ms.reviewer |
---|---|---|---|---|---|---|
Report.GetSubstituteReportId(Integer) Method |
Gets the ID of the report that will be run by the platform after considering any substitutions made by extensions. |
solsen |
08/26/2024 |
reference |
SusanneWindfeldPedersen |
solsen |
Version: Available or changed with runtime version 2.0.
Gets the ID of the report that will be run by the platform after considering any substitutions made by extensions.
NewReportId := Report.GetSubstituteReportId(ReportId: Integer)
ReportId
Type: Integer
The ID of the report for which you want to retrieve the ID of the possible report substitute.
NewReportId
Type: Integer
The ID of the report that will be run by the platform after considering any substitutions made by extensions.
If no object exists with the integer supplied in the Report.GetSubstituteReportId(Integer) method, the method won't fail. Instead, the method will just return the supplied integer.
Substituting Reports
Report Data Type
Get Started with AL
Developing Extensions