Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

ZENApp.MyReportMainDef

class ZENApp.MyReportMainDef extends %ZEN.Report.reportPage

Example: using the element Uses only in the ReportDefinition XData block. Calls ZENApp.MyReport to get XML, generates summary report. Works OK for HTML, doesn't work for PDF because of 'rooted' issue which is fixed in 2011, but present in 2010

Property Inventory

Method Inventory

Parameters

parameter DEFAULTMODE = pdf;
parameter XSLTMODE = server;

Properties

property Month as %Integer (MAXVAL = 12, MINVAL = 1, ZENURL = "MONTH");
Month (1 to 12) to run this report for. "" for all months.
Property methods: MonthDisplayToLogical(), MonthGet(), MonthIsValid(), MonthLogicalToDisplay(), MonthNormalize(), MonthSet()
property ReportAuthor as %String [ InitialExpression = "BOB" ];
Author of the report.
Property methods: ReportAuthorDisplayToLogical(), ReportAuthorGet(), ReportAuthorIsValid(), ReportAuthorLogicalToDisplay(), ReportAuthorLogicalToOdbc(), ReportAuthorNormalize(), ReportAuthorSet()

Methods

method GetMonth() as %String
Return a formatted version of the month property.
method GetSub() as %GlobalCharacterStream
Method for ReportDefinition from Daily report

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab