PAY_OL_CAN_SRCH

(SQL View)
Index Back

SrchRec OnlineChq for user-Can

This is the search record presented to the user to access online cheque data entry panel for Canada. This search record has peoplecode that finds out Company/Paygroup/PayEndDate/Page for the employee entered and does a transfer to the online cheque data entry panel search record PAY_OL_PG_CN_VW.

select B.PAY_END_DT ,A.EMPLID ,A.EMPL_RCD ,A.COMPANY ,A.PAYGROUP from PS_JOB A ,PS_PAY_CALENDAR B ,PS_PAYGROUP_TBL C where B.PAY_OFF_CYCLE_CLS = 'N' and B.RUN_ID <> ' ' and A.EFFDT= (select max(D.EFFDT) from PS_JOB D where A.EMPLID=D.EMPLID and A.EMPL_RCD=D.EMPL_RCD and D.EFFDT <= B.PAY_END_DT) and A.EFFSEQ= (select max(E.EFFSEQ) from PS_JOB E where A.EMPLID=E.EMPLID and A.EMPL_RCD=E.EMPL_RCD and A.EFFDT=E.EFFDT) and A.COMPANY=B.COMPANY and A.PAYGROUP=B.PAYGROUP and B.COMPANY=C.COMPANY and B.PAYGROUP=C.PAYGROUP and C.COUNTRY = 'CAN' and C.EFFDT= (select max(F.EFFDT) from PS_PAYGROUP_TBL F where C.COMPANY=F.COMPANY and C.PAYGROUP=F.PAYGROUP and F.EFFDT<=B.PAY_END_DT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PAY_END_DT Date(10) DATE NOT NULL Pay Period End Date

Prompt Table: PAY_OL_DT_CN_VW

2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
3 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
4 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
5 PAYGROUP Character(3) VARCHAR2(3) NOT NULL Pay Group