Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.63 KB

report-getsubstitutereportid-method.md

File metadata and controls

45 lines (35 loc) · 1.63 KB
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

Report.GetSubstituteReportId(Integer) Method

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.

Syntax

NewReportId :=   Report.GetSubstituteReportId(ReportId: Integer)

Parameters

ReportId
 Type: Integer
The ID of the report for which you want to retrieve the ID of the possible report substitute.

Return Value

NewReportId
 Type: Integer
The ID of the report that will be run by the platform after considering any substitutions made by extensions.

Remark

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.

Related information

Substituting Reports
Report Data Type
Get Started with AL
Developing Extensions