GP_ESTABID_VW1(SQL View) |
Index Back |
---|---|
establishment viewused in payroll analytics for establishment view |
SELECT DISTINCT A.ESTABID ,A.DESCR FROM PS_ESTAB_TBL A ,PS_GP_PA_RSLT_ANL B WHERE A.EFFDT=( SELECT MAX(A1.EFFDT) FROM PS_ESTAB_TBL A1 WHERE A1.ESTABID=A.ESTABID AND A.EFFDT<=B.SEG_END_DT AND A.EFF_STATUS='A') AND A.ESTABID=B.ESTABID AND B.CAL_RUN_ID IN ( SELECT CAL_RUN_ID FROM PS_GP_CALRUN_VW1) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | ESTABID | Character(12) | VARCHAR2(12) NOT NULL | Establishment ID |
2 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |