If you specify EMAIL or WEB as the output destination type (OUTDESTTYPE), you can distribute a PeopleSoft report electronically to operators, groups of people, or individuals.
To distribute a PeopleSoft report
To specify multiple roles to distribute the report to, separate each role with a comma and enclose the entire list of roles in single quotes.
To specify multiple operator IDs to distribute the report to, separate each operator ID with a comma and enclose the entire list of operator IDs in single quotes.
To specify multiple email addresses, separate each address with a semi-colon and enclose the entire list of addresses in single quotes.
Example: Distribute a Report to Operators
This example runs a Crystal report under the VP3 operator ID. The report is formatted as PDF and distributed in an email to the VP1, VP2, and VP3 operator IDs.
AGENT PSAGENT PROCESSTYPE Crystal PROCESSNAME XRFWIN OUTDESTTYPE EMAIL OUTDESTFORMAT PDF PSOPRID VP3 RUNCONTROLID test DISTRLISTUSERS 'VP1,VP2,VP3'
Example: Email a PeopleSoft Report
This example runs a Crystal report and emails the output to recipients. The Crystal report runs under the VP2 operator ID. The output is sent to the email addresses specified in the EMAILADDR statement. The email includes a subject title and body text.
AGENT PSAGENT EMAILADDR 'user1@example.com;user2@example.com' OUTDESTTYPE EMAIL OUTDESTFORMAT PDF PSOPRID VP2 EMAILSUBJECT 'PeopleSoft Report Status' EMAILTEXT 'The report is available for distribution' PROCESSNAME XRFWIN PROCESSTYPE Crystal
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|