2

PeopleCode の「転送」機能を使用して、コンポーネントが検索レコードとして INSTALLATION を使用するページに転送 (およびフィールドに入力) する方法はありますか?

PT 8.53 で FSCM 9.1 を使用しています。

転送しようとしているページは AP_VOUCHER_INQUIRY です メニュー パスは次のとおりです: Accounts Payable -> Review Accounts Payable Info -> Vouchers -> Voucher

それに渡す必要がある business_unit と ticket_id があります。ページの Activate 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"));
4

1 に答える 1

5

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);
于 2017-04-05T18:15:28.800 に答える