HCM_APPR_STAT_V(SQL View) |
Index Back |
---|---|
HCM Apprval Status ViewHCM Apprval Status View |
SELECT S.PTAFPRCS_ID , S.PTAFDEFN_ID , S.EFFDT , S.PTAFSTAGE_NBR , S.PTAFPATH_ID , S.PTAFSTEP_NBR , S.PTAFTHREAD_ID , S.PTAFSTEP_INSTANCE , U.PTAFUSTEP_INST_ID , S.PTAFSTEP_TYPE , U.PTAFUSER_TYPE , U.OPRID , U.PTAFORIG_OPRID , U.PTAFSTEP_STATUS , S.PTAFADHOC_BY , U.DTTM_CREATED FROM PS_PTAFAW_STEPINST S , PS_PTAFAW_USERINST U WHERE S.PTAFSTEP_INSTANCE = U.PTAFSTEP_INSTANCE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PTAFPRCS_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Process ID |
2 | PTAFDEFN_ID | Character(30) | VARCHAR2(30) NOT NULL | Definition ID |
3 | EFFDT_USED | Date(10) | DATE | Date driving 'processed' code |
4 | PTAFSTAGE_NBR | Number(3,0) | SMALLINT NOT NULL | Stage Number |
5 | PTAFPATH_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Path ID |
6 | PTAFSTEP_NBR | Number(6,2) | DECIMAL(5,2) NOT NULL | Sequence number of step in its path |
7 | PTAFTHREAD_ID | Number(10,0) | DECIMAL(10) NOT NULL | Thread ID |
8 | PTAFSTEP_INSTANCE | Number(15,0) | DECIMAL(15) NOT NULL | Object id of a step instance. Generated off the main thread id for the approval process. |
9 | PTAFUSTEP_INST_ID | Number(15,0) | DECIMAL(15) NOT NULL | Object id of a step instance. Generated off the main thread id for the approval process. |
10 | PTAFSTEP_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Type of step instance--Defined, Adhoc, Error |
11 | PTAFUSER_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Approval Workflow Events for Notification
A=Approver R=Reviewer |
12 | OPRID | Character(30) | VARCHAR2(30) NOT NULL |
A user's ID (see PSOPRDEFN).
Prompt Table: PSOPRDEFN |
13 | PTAFORIG_OPRID | Character(30) | VARCHAR2(30) NOT NULL | User ID |
14 | PTAFSTEP_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Step Instance Status
A=Approved B=Pushed back C=Auto Approved D=Denied E=Administrator denied F=Deleted G=Bypassed H=On Hold K=Skipped L=Terminated M=Administrator approved N=Not Active P=Pending R=No longer in role S=Skipped T=Terminated U=Auto approved X=Deleted Y=Bypassed |
15 | PTAFADHOC_BY | Character(30) | VARCHAR2(30) NOT NULL | User ID |
16 | DTTM_CREATED | DateTime(26) | TIMESTAMP | Datetime Created |