APD_APPROVE_VW

(SQL View)
Index Back

Draft Approval Panel SearchKey


SELECT DISTINCT A.PAY_CYCLE ,A.PAY_CYCLE_SEQ_NUM ,A.PAY_RUN_DT ,A.PAY_RUN_AP_STATUS ,A.PROCESS_INSTANCE FROM PS_PYCYCL_STAT A ,PS_APD_DRAFT_STG B WHERE A.PAY_CYCLE = B.PAY_CYCLE AND A.PAY_CYCLE_SEQ_NUM = B.PAY_CYCLE_SEQ_NUM AND A.PAY_RUN_AP_STATUS = '7' AND A.PAY_CYCLE_SEQ_NUM = ( SELECT MAX(PAY_CYCLE_SEQ_NUM) FROM PS_PYCYCL_STAT C WHERE C.PAY_CYCLE = A.PAY_CYCLE)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PAY_CYCLE Character(6) VARCHAR2(6) NOT NULL Pay Cycle

Prompt Table: SP_PYCYCL_NONVW

2 PAY_CYCLE_SEQ_NUM Number(6,0) INTEGER NOT NULL Pay Cycle Sequence Number
3 PAY_RUN_DT Date(10) DATE Payment Run Date
4 PAY_RUN_AP_STATUS Character(1) VARCHAR2(1) NOT NULL Payment Run Status
1=Exceptions found
2=Nothing to process
3=Process running
6=Rejected
7=Selected/Staged
8=Waiting for Certification
C=Completed
D=Reset
E=Error
K=Restarted
N=New
R=Selected
U=Created
V=Trial Register Approved
X=Printed
Y=Confirmed
Z=Positive Payment Formatted
5 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance