gpt4 book ai didi

peoplesoft - Peoplecode 转移到没有搜索记录的页面

转载 作者:行者123 更新时间:2023-12-02 18:47:33 25 4
gpt4 key购买 nike

有没有办法使用 PeopleCode“转移”功能转移(并填写​​字段)到组件使用 INSTALLATION 作为搜索记录的页面?

我们在 PT 8.53 上使用 FSCM 9.1。

我尝试转移到的页面是 AP_VOUCHER_INQUIRY菜单路径为:应付帐款->查看应付帐款信息->凭证->凭证

我有需要传递给它的business_unit 和voucher_id。在页面的“激活 PeopleCode”内部,我看到以下内容:

  /*  If Business Unit and Voucher ID are being passed to this page, this code picks it out and populates the From/To fields and executes the search statement.  This code allows another page to use the TRANSFER function passing "some_record.BUSINESS_UNIT" and "some_record.VOUCHER_ID" as keys while opening Voucher Inquiry in a new browser.  */
&bu = Unencode(%Request.GetParameter("BUSINESS_UNIT"));
&vchr_id = Unencode(%Request.GetParameter("VOUCHER_ID"));
&vchr_style_inq = Unencode(%Request.GetParameter("VOUCHER_STYLE_INQ"));
&vndr_setid = Unencode(%Request.GetParameter("VENDOR_SETID"));

最佳答案

感谢 Darryls99,我找到了一种方法来做到这一点:

 &url = GenerateComponentContentURL(%Portal, %Node, MenuName."ENTER_VOUCHER_INFORMATION", %Market, Component."AP_VCHR_INQ", Page."AP_VOUCHER_INQUIRY", "U");
%Response.RedirectURL(&url | "&BUSINESS_UNIT=" | "BUPO" | "&VOUCHER_ID=" | &row.USM_ACTEXP_WRK2.VOUCHER_ID.value);

关于peoplesoft - Peoplecode 转移到没有搜索记录的页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43218236/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com