ITPub博客

首页 > 应用开发 > IT综合 > 程序中加载layout以及提交请求

程序中加载layout以及提交请求

原创 IT综合 作者:cooler 时间:2010-02-02 11:25:03 0 删除 编辑

程序中加载layout以及提交请求

[@more@]fnd_global.apps_initialize(fnd_profile.value('USER_ID'),
fnd_profile.value('RESP_ID'),
fnd_profile.value('RESP_APPL_ID'));

v_result := apps.fnd_request.add_layout('XXEEG',
'XXWIPDJSRQ',
'en',
'US',
'EXCEL');
/* template_appl_name => 'XDO' -- Application Short name
,template_code => 'XXMRPIUR'
,template_language => 'English'
,template_territory => p_template_territory
,output_format => 'PDF');*/

x_xx_dis_job_shortage_rep_id := fnd_request.submit_request('XXEEG',
'XXWIPDJSRQ',
null,
sysdate,
false,
p_organization_id,
p_report_type);

exception
when others then
errstring := sqlcode || ' ' || sqlerrm;

retcode := 2;
errbuf := errstring;

end;

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/93880/viewspace-1031064/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-05-07

  • 博文量
    50
  • 访问量
    928261