Find the Menu Navigation for PeopleSoft Components or Processes

本文提供了一个SQL查询方法,帮助用户通过CONNECTBY关键字快速定位到特定组件或过程的导航路径。以JOB_DATA为例,展示如何使用SQL查询来找到其在PeopleSoft中的导航路径。同时,还提供了一个简易的示例,演示如何修改查询以查找特定过程的导航路径。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

If you're like me, there are a lot of times when you need to make changes to a particular component or perhaps you need to run a particular process. You might know the component or processess name, but you have no idea how to navigate to the particular component or process through the PeopleSoft navigation.

Here is a great tip for a method to finding the portal hierarchy path to a particular component. Let's say that we are trying to find the JOB_DATA component in HCM. Yes, I know most people know the navigation for this one. However, this is just an example, so bare with me. You can use any component name that you desire. I am using JOB_DATA for simplicity. If you have access to run a SQL, below is a piece of code that uses the CONNECT BY PRIOR command that will help you to find the navigation.

select lpad(' ', 10*level-10) || PS.PORTAL_LABEL

from PSPRSMDEFN PSstart with PS.PORTAL_URI_SEG2 = 'JOB_DATA'

and PS.PORTAL_URI_SEG3 in ('GBL','USA')

connect by prior PS.PORTAL_PRNTOBJNAME = PS.PORTAL_OBJNAME

and PS.PORTAL_NAME = 'EMPLOYEE'

This SQL gives the following results:

Job Data

Job Information

Workforce Administration

Root

CONNECT BY PRIOR is a condition that identifies the relationship between parent rows and child rows of the hierarchy. Here is the syntax.

Syntax:

SELECT...
[START WITH initial_condition]
CONNECT BY [nocycle] PRIOR recurse_condition
[ORDER SIBLINGS BY order_by_clause]


Key:

START WITH : The row(s) to be used as the root of the hierarchy

CONNECT BY : Condition that identifies the relationship between parent and child rows of the hierarchy

NOCYCLE : Do not circle around loops (where the current row has a child which is also its ancestor.)

ORDER SIBLINGS BY : Preserve ordering of the hierarchical query then apply the order_by_clause to the sibling rows

Now, let's say that you are looking for the navigation of a particular process name, you can use the SQL (slightly modified) to get the results you are looking for. Let's look for the navigation to the process named 'PSPPYRUN.'

select lpad(' ', 10*level-10) || PS.PORTAL_LABEL
from PSPRSMDEFN PS
start with PS.PORTAL_URI_SEG2 in
(select PSB.PNLGRPNAME from PS_PRCSDEFNPNL PSB where PSB.PRCSNAME = 'PSPPYRUN')
and PS.PORTAL_URI_SEG3 in ('GBL','USA')
connect by prior PS.PORTAL_PRNTOBJNAME = PS.PORTAL_OBJNAME
and PS.PORTAL_NAME = 'EMPLOYEE'

This SQL returns the following results:

Calculate Pay

Run Payroll

Payroll Processing

North American Payroll

Root

If you have a bit more time, you can create a PeopleSoft component/page where you can select the process or the component from a list and press a button to get the results in a grid. I'll leave that up to you. I hope this helps you become more efficient.

If you have any tips or other suggestions on this topic, please add your comments to this thread.

All the best,

Derek

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值