Saves a report as a .pdf file.
[Ok :=] Report.SAVEASPDF(Number, FileName[, Record]) [Ok :=] Report.SAVEASPDF(FileName) |
Parameters
- Number
-
Type: Integer
The ID of the report that you want to run. On the View menu, click C/AL Symbol Menu to select the report from a list.
- FileName
-
Type: Text
The path and name of the file that you want to save the report as.
- Record
-
Type: Record
Specifies which record to use in the report. Any filters that have been applied to the record that you specify will be used.