ProcessReport method: ReportDefn class
Syntax
ProcessReport(TemplateId, LanguageCD, AsOfDate, OutputFormat)
Description
Use the ProcessReport method to generate a report and store the information.
Before you generate the report, you must:
-
Set the report output destination with the OutDestination property if the output type is a file.
-
Specify the data source using the SetRuntimeDataXMLFile method if you are using a data source other than a PeopleSoft query.
After you use the ProcessReport method, you can use the Publish method to post the report, the DisplayOutput method to display the report in a browser window, or the PrintOutput method to print the report.
Parameters
| Parameter | Description |
|---|---|
|
TemplateId |
Specify the template to be used for processing this report, as a string. You can specify a null value for this parameter, that is, (""). When you specify a null value, the default template associated with the report definition is used. |
|
LanguageCD |
Specify the three-letter language code for the report definition, such as ENG, FRA, ESP and so on. This parameter controls both the translation and the language specific output details such as font selection and right-to-left page orientation for Arabic/Hebrew. You can specify a null value for this parameter, that is, (""). If you specify a null value, the current language of the session is used. |
|
AsOfDate |
Specify the as of date for the report, as a date. |
|
OutputFormat |
Specify the output format, as a string. See GetOutDestFormatString method: ReportDefn class. You can specify a null value for this parameter, that is, (""). When you specify a null value, the default output format associated with the report definition is used. |
Returns
None.
Related Topics
- GetOutDestFormatString method: ReportDefn class
- DisplayOutput method: ReportDefn class
- PrintOutput method: ReportDefn class
- SetPSQueryPromptRecord method: ReportDefn class
- SetRuntimeDataXMLFile method: ReportDefn class
- SetRuntimeProperties method: ReportDefn class
- OutDestination property: ReportDefn class