Difference between transfer and transferpage in PeopleSoft

Difference between transfer and transferpage in PeopleSoft

Difference between transfer and transferpage in PeopleSoft by PeopleCode language is function transfer page for each purpose.

TransferPage (): For transfer page from one page to the other page within a component.
Syntax of TransferPage
TransferPage([PAGE.page_name_name])
Example: TransferPage(PAGE.JOB_DATA);

Transfer(): For transfer page from one page to the other page in difference component/ current component.
Syntax of transfer
Transfer(new_instance, MENUNAME.menuname, BARNAME.barname, ITEMNAME.menu_itemname, PAGE.component_item_name, action [, keylist] [, AutoSearch]);

Example : Transfer(true, MENUNAME.ADMINISTER_PERSONNEL, BARNAME.USE, ITEMNAME. PERSONAL_DATA, PAGE.PERSONAL_DATA_1, “U”);

new_instance =  true = new window, false= current window.

You can find menu name, bar name, item name and  component_item_name  by select data in table PSAUTHITEM

Action =  A –Add,  U-update, L-Update/display, C-Correction, E-Data Entry

AutoSearch = Specify whether an automatic search on the target search page is executed after the transfer. This means the search results are already shown without the end-user having to click the Search button.
True=  an automatic search.
False = User has to click the search button.

 

Ref: http://peoplesoftismail.blogspot.com/p/normal-0-false-false-false-en-us-x-none_5886.htm

Ref: https://docs.oracle.com/cd/E13292_01/pt849pbr0/eng/psbooks/tpcl/chapter.htm?File=tpcl/htm/tpcl02.htm

Posted in Peoplecode.