LOC_DI_VW_LANG(SQL View) |
Index Back |
---|---|
Location VW for DILocation language view for Directory Interface |
SELECT A.EMPLID , A.EMPL_RCD , A.EFFDT , A.EFFSEQ ,B.LANGUAGE_CD ,A.SETID_LOCATION ,A.LOCATION ,B.DESCR ,B.DESCRSHORT FROM PS_JOB A , PS_LOCATION_LANG B WHERE A.JOB_INDICATOR = 'P' AND A.EFFDT = ( SELECT MAX (C.EFFDT) FROM PS_JOB C WHERE C.EMPLID = A.EMPLID AND C.EMPL_RCD = A.EMPL_RCD AND C.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(D.EFFSEQ) FROM PS_JOB D WHERE D.EMPLID = A.EMPLID AND D.EMPL_RCD = A.EMPL_RCD AND D.EFFDT = A.EFFDT) AND A.SETID_LOCATION = B.SETID AND A.LOCATION = B.LOCATION |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Default Value: PER_ORG_ASGN.EMPLID Prompt Table: PERS_SRCH_GBL |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
3 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
4 | EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Effective Sequence |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | SETID_LOCATION | Character(5) | VARCHAR2(5) NOT NULL | Location SetID |
7 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
9 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |