PostReport Class Properties
In this section, we discuss the PostReport class properties. The properties are discussed in alphabetical order.
Description
This property specifies the date the report will be deleted from the Report Manager table. If the expiration date is not specified, the system calculates the expiration date based on the Retention Days specified in the Process Scheduler’s System Settings.
This property is read/write.
Example
&MYRQST.ExpirationDate = "2003/01/01";
Description
This property specifies the output format of the file that is posted to the Report Repository. If format is not specified, the system determines the format based on the extension of the file being posted to the Report Repository.
This property is read/write.
Example
&MYRQST.OutDestFormat = "PDF";
Description
This property specifies the instance number assigned to request. This property is only required if the report was initially submitted through the Process Request Dialog, but was processed by a third-party scheduler.
This property is read/write.
Description
This property specifies the name of a predefined process as a string.
This property is read/write.
Example
&MYRQST.ProcessName = "XRFWIN";
Description
This property specifies the name of a predefined process type as a string.
This property is read/write.
Example
Note that spaces are included in the string for ProcessType.
&MYRQST.ProcessType = "Application Engine";
Description
This property specifies the description as a string.
If the ReportDescr property is not specified, and both Process Name and Process Type are not null, the description is extracted from the Process Definition table.
This property is read/write.
Example
&MYRQST.ReportDescr = "Panel Cross Reference Report";
Description
This property specifies the name of the report folder as a string. If you specify a folder, the folder that you specify must have already been defined using Process Scheduler’s Report Folders Administration.
This property is read/write.
Description
This property is a system-generated identification number. The system assigns a ReportId after the Put method processed the request.
This property is read/write.
Example
&MYRQST.Put();
if &MYRQST.ReportId > 0 then
MessageBox(o, "", 63, 119, "Sucessfully processed request with Rpt. ID %1", &MYRQST.ReportId);
Else
/* do error processing */
End-If;
Description
This property specifies the Process Scheduler Server name that posts the report. This property takes a string value.
This property is read/write.
Example
&MYRQST.ServerName = "PSNT";
Description
This property specifies the path that contains the source report. You need to specify an absolute path.
This property is read/write.