Saves a report as an .xml file.
[Ok :=] Report.SAVEASXML(Number, FileName [,SystemPrinter][,Rec]) [Ok :=] Report.SAVEASXML(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.
If the report that you specify does not exist, then a run-time error occurs.
- 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.