将 XML Publisher 与行集结合使用的好示例

发布于 2024-10-10 18:01:28 字数 91 浏览 0 评论 0原文

有谁知道应用程序引擎程序创建行集然后调用 XML Publisher 创建报告的好例子?

PeopleTools 8.49

提前致谢。

Does anyone know of a good example of an Application Engine program creating a rowset and then calling XML Publisher to create a report?

PeopleTools 8.49

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

纸短情长 2024-10-17 18:01:28

假设您已获得报告定义、数据源和模板设置,下面是执行此操作的人员代码:

/* 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);

Providing you've got your report defn, data source and template setup, here's the peoplecode to do it:

/* 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);
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文