WKF_CNT_P_ESPVW

(SQL View)
Index Back

Contract Extension Data ESP VW

Contract Extension Data ESP VW

SELECT A.EMPLID , A.CONTRACT_NUM , A.EFFDT , A.EXT_BGN_DT_ESP , A.CONTRACT_ID_ESP , A.CNT_BGN_DT_ESP , A.CNT_INEM_DT_ESP , B.CNT_DURATION_ESP , A.HIRE_CTR_CD_ESP , C.EMPLMNT_OFF_CD_ESP FROM PS_WKF_CNT_TYP_ESP A , PS_WKF_CNT_TYP_ESP B , PS_HIRING_CTR_ESP C WHERE A.EMPLID = B.EMPLID AND A.CNT_BGN_DT_ESP = B.CNT_BGN_DT_ESP AND B.CNT_ACTION_ESP = '001' AND A.CNT_ACTION_ESP = '003' AND A.HIRE_CTR_CD_ESP = C.HIRE_CTR_CD_ESP AND C.EFFDT = ( SELECT MAX(ED.EFFDT) FROM PS_HIRING_CTR_ESP ED WHERE ED.HIRE_CTR_CD_ESP = A.HIRE_CTR_CD_ESP AND ED.EFFDT <= A.EFFDT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PERSON

2 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract Number
3 EFFDT Date(10) DATE NOT NULL Effective Date
4 EXT_BGN_DT_ESP Date(10) DATE Extension Begin Dt
5 CONTRACT_ID_ESP Character(18) VARCHAR2(18) NOT NULL Contract ID assigned by the Employment Agency
C=Company
E=Employee
N=None
S=SS Contribution Center
6 CNT_BGN_DT_ESP Date(10) DATE Contract Begin Dt
7 CNT_INEM_DT_ESP Date(10) DATE SEPE Registration Date
8 CNT_DURATION_ESP Character(5) VARCHAR2(5) NOT NULL Contract Duration
9 HIRE_CTR_CD_ESP Character(3) VARCHAR2(3) NOT NULL Hiring Center

Prompt Table: HIRING_CTR_ESP

10 EMPLMNT_OFF_CD_ESP Character(8) VARCHAR2(8) NOT NULL Employment Office Code.

Prompt Table: SEPE_ESP_VW