PTAFAW_WL_OPRVW

(SQL View)
Index Back

Active Approval Worklist View

Where status is not "Cancelled" or "Worked"

SELECT A.BUSPROCNAME ,A.ACTIVITYNAME ,A.EVENTNAME ,A.WORKLISTNAME , B.PTAFPRCS_ID , B.PTAFTHREAD_ID ,A.INSTANCEID , A.TRANSACTIONID , A.OPRID , A.PREVOPRID FROM PSWORKLIST A , PS_PTAFAW_WL B WHERE A.BUSPROCNAME = B.BUSPROCNAME AND A.ACTIVITYNAME = B.ACTIVITYNAME AND A.EVENTNAME = B.EVENTNAME AND A.WORKLISTNAME = B.WORKLISTNAME AND A.INSTANCEID = B.INSTANCEID AND A.INSTSTATUS IN (0,1)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSPROCNAME Character(30) VARCHAR2(30) NOT NULL Business Process Name (see PSBUSPROCDEFN).
2 ACTIVITYNAME Character(30) VARCHAR2(30) NOT NULL Name of a Business Process Activity (see PSACTIVITYDEFN).
3 EVENTNAME Character(30) VARCHAR2(30) NOT NULL Defines a routing event for PS Workflow
4 WORKLISTNAME Character(30) VARCHAR2(30) NOT NULL Worklist Name
5 PTAFPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
6 PTAFTHREAD_ID Number(10,0) DECIMAL(10) NOT NULL Thread ID
7 INSTANCEID Number(10,0) DECIMAL(10) NOT NULL For a given worklist the unique number of rows in PSWORKLIST
8 TRANSACTIONID Number(10,0) DECIMAL(10) NOT NULL Transaction Identifier
9 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
10 PREVOPRID Character(30) VARCHAR2(30) NOT NULL Previous User ID