class %ZEN.Report.Display.call
extends node, tableOutput
Include generated XSLT from another report in this report
property children
as list of node(XMLPROJECTION="NONE");
property field
as %ZEN.Datatype.string(XMLPROJECTION="NONE");
property group
as %ZEN.Datatype.string(XMLPROJECTION="NONE");
property method
as %ZEN.Datatype.string;
Name of method that returns an XML stream to include
property removeEmpty
as %ZEN.Datatype.boolean(XMLPROJECTION="NONE") [ InitialExpression = 0 ];
property subreport
as %ZEN.Datatype.string;
Name of subreport
As recorded in subreport property of calling method in report
For example:
Method getstreams(ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream, mode As %Integer) As %Status
{
set rpt1=##class(ZENApp.MyReportCZ).%New()
set rpt1.Month=1
set rpt1.SubReport="MyReport"
set rpt1.MainReport="MAINReport"
set rpt1.StripPI=1
set Status=rpt1.CallReport(.XSL,.delay,"c:\temp\getstreams.xml",mode)
quit Status
}
property subreportname
as %ZEN.Datatype.string;
This is the name of the subreport as in the following