有没有人知道Application Engine程序创建行集然后调用XML Publisher来创建报告的好例子?
PeopleTools 8.49
提前致谢。
答案 0 :(得分:1)
为您提供报告定义,数据源和模板设置,以下是最佳人选:
/* get report definition object */
&oRptDefn = create PSXP_RPTDEFNMANAGER:ReportDefn (&yourRptDefn);
&oRptDefn.Get();
/* pass Rowset to the report definition */
&oRptDefn.SetRuntimeDataRowset(&yourRowset);
/*generate report*/
&oRptDefn.ProcessReport (&yourTmpltID, &yourLangCd, &yourAsOfDate, &yourOutFormat);
/*publish report */
&oRptDefn.PrintOutput(&yourDestinationPath);