WSO_Crystal_Reports contains all the functions for reporting in Webapp. It can return lists of available reports, selection strings for reports, and also create the reports in a specified folder as a PDF file.
Returns a list of available reports. Is passed a Keyword which relates to the Used_In value in the Report table. The value “StudentPublished” may also be used as a keyword, in which case all reports that are both web published, and Student published will be returned.
Requests that the Webapp run a report, export it as a PDF and then returns a link to it.
|sSessionkey||A valid sessionkey.|
|sReport||The report to be printed. Note that the report must match the UsedIn value in the Reports file, otherwise access will be denied. In the case of TIMESTUD and TIMETEACH as Used In this value will be ignored.|
|sKeyword||The UsedIn value associated with the report. Alternatives are TIMESTUD, TIMETEACH and STUDENTPUBLISED.|
|sArguments||A range of arguments required for the reports|
A wide range of arguments can be passed for reporting, and often differ based on the sKeyword value.
The following arguments can be passed for Student Published (where sKeyword is set to “STUDENTPUBLISHED”) reports:
- Student: Required and should contain a valid Studkey.
- FromPeriod: Optional, will default to the current Subject Period.
- ToPeriod: Optional, will default to the current Subject Period.
- PeriodEx: Optional, won’t be set by default
- NoInclude: Optional, won’t be set by default
- ExcludeReport: Optional, won’t be set by default
Arguments should be passing in as arg=value separated by semi-colons. For example:
Note: Student Published Reports are only available in Webapp 2009.0.3+
The above information is for users of PCSchool Student Management School Software.