Put method: PostReport class
Syntax
Put()
Description
The Put method inserts a request in the Report Manager table which runs according to the values in the properties of the PostReport object. In order to successfully schedule a process or job, certain properties are required.
Parameters
None.
Returns
None. If you want to verify that the method executed successfully, check the value of the Status property.
Example
&POSTRQST.Put();
&RPTINSTANCE = &POSTRQST.ReportId;
If (&RPTINSTANCE > 0) Then
MessageBox(0, "", 63, 119, "Successfully processed request with Rpt. ID %1⇒
for Process %2 to post from directory %3", &RPTINSTANCE, &POSTRQST.ProcessName,⇒
&POSTRQST.SourceReportPath);
Else
MessageBox(0, "", 63, 122, "Not successful for process request for Process⇒
%1 to post from directory %2", &POSTRQST.ProcessName, &POSTRQST.SourceReportPath);
End-If;
Related Topics