Thursday, September 7, 2017

Dynamic Propmt in PeopleSoft

Here we see how the Dynamic Prompts work in PeopleSoft


Dynamic Prompting is used to change the prompt table at run time.


Let us take the sample requirement;


If User Select Gender = Male then P_Emp_Male_vw Should work as Prompt Table.
If User Select Gender = Female then P_Emp_Female_vw Should work as Prompt Table


Please refer the below screen.


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs0XjHwLaVMo9RMEvLZ3fUS9XCLAlonGLBBmm04Q0AhD5iYR2Rj8iVsiFv0bYUgsVvLq9cNwMXMYFaDoXxGP7uHUH_0SssjoE4BrKP2LM4ai-mlXeWqvhi7g-soRm1EDVAeJGodEfhagAZ/s1600/1.png


CREATE View Procedure


1. P_Emp_Male_vw – Creating an employee view for Male candidates


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFWI5x0Y8UiiZ-1jgW2t9sNU1tZbVgkGNG0sNEali8BNDeNEbUDevexWjEayJSqhyphenhyphenBVnzeJGn-eF82rqH6Br_8TC2u8Dqc-nMo6pmdwiP2XOq_VfwCbv9FJAdD22annbrHRkDvfEeW4XHM/s1600/2.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhS0A_Zql1k3smnZYgF6HUcJIVrgtR1pFdEyeq1ajS_o6DNz2C7bJ4Lsbe0B9xNF-gCXVyfimQQW7IQoXu88mj4w8HyQEyeVb0wZuSTvdk6DrVrfzoCNFWdfYKbCDO8qkwIPqeM-JcQuK_/s1600/3.png


2. P_EMP_FEMALE_VW - Creating an employee view for Female candidates


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS5t5473iTeO-eWuP-BurgFZjSh8E9VGrDgbNT8jeYSL1rJNgIetLYs7J2yKsosNri3SS_gAFvtohHyTGCf5iqyHag1Qs_7Jqru2teZp14Qs75FJ6yidL8X_gOMWjLcXcEjZYsfVyC8GMn/s1600/4.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-lE6yAnZlDsD0hDbz7-6SeBT0IQLViis1l1rdSoHlLJCa8QgMfo3pvhpe9cSMmrNO1mgv3_1SHz92VTGNrQURYcgEuno2_f00RckHI_nfGefLOleIZTgWKTOI7hhgqWIFGBO3NoXSPtYZ/s1600/5.png


Please Mention the Prompt Table as %Edittable (u can enter any field which is available in the DERIVED Table. (Please refer the Derived Table)


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVfW59N3AmelllJF4s5-mufNS2Q_npg8UhT-Ajy_nlMYJ3BcKyU6YY1YSgR71eIYcC4ZMPSHDv4ffoiXCMzbTz0dYNr2EIKAuC-MhVrheHk5Lt8cJiXj8Wa6UEFhZrsIbZbR6xcVoIciJJ/s1600/6.png


3. Create a PeopleSoft Page


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMjN23KOlMsp7Rz2AksJwUH9L8ebDBGjM-lW3bHv3CJ5G6Byc-EUzcSxDD0YnSwTcj4VW_lPI3f7ATE5wcKlzx_FI2OW5zctnv2HOgr8ReHLixAMAWLGAyVkLvvwdFyoVv3ZTmISH6TUrE/s1600/7.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKqWMT77fn-mjqVMpD603fCL_9X2MeBI_oTn8W7thMI-qc8-ra9ukLqJFqcvSa52dvinXYVUlHsYhjxQ4RNHL4AC5MHLtjdps7M0uyrUzQLUPBYVMxeWgMfffcjLwF5FeOrBMPr3FoRGHj/s1600/8.png

Please invisible the Derived.edittable Field in the page.
Based on the requirement you have to assign the value for the EDITTABLE.


PeopleCode view:


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsllXA6DMe4rnh_PwWOya2FoZgdOd-UyT92MLt1WZiWbJkaDfe1I1l0whpzCtUSFzIDAVMhwB1nHvwGXGj15B7IdRHR0uJavdlo8hcfg-yb3A5s4vpiVOAe1h0UpM6E3z7ZSuCQTVXy_BH/s1600/9.png



Hope this helps 😊

Please pass onto us your comments ..

1 comment:

PeopleSoft Application Engine

Application Engine - Development & Execution If I have to provide a training on Application Engine to my co-workers who have never d...