GP_LOC_VW1(SQL View) |
Index Back |
---|---|
locaation viewused in payroll analytics for location codes view |
SELECT DISTINCT A.LOCATION ,A.DESCR FROM PS_LOCATION_TBL A ,PS_GP_PA_RSLT_ANL B WHERE A.EFFDT=( SELECT MAX(A1.EFFDT) FROM PS_LOCATION_TBL A1 WHERE A1.LOCATION=A.LOCATION AND A1.SETID=A.SETID AND A.EFFDT<=B.SEG_END_DT AND A.EFF_STATUS='A') AND A.LOCATION=B.LOCATION 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 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
2 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |