GVT_TAS_CO_VW(SQL View) |
Index Back |
---|---|
TAS BETC Company Business UnitTAS BETC Company Business Unit View |
SELECT DISTINCT A.COMPANY , A.BUSINESS_UNIT , A.GVT_TAS_MAP_INDC , A.DEPTID , A.JOBCODE , A.POSITION_NBR , A.EMPLID , A.EMPL_RCD , B.DESCR FROM PS_GVT_TAS_MAP_LVL A , PS_COMPANY_TBL B WHERE A.COMPANY = B.COMPANY AND B.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_GVT_TAS_MAP_LVL D WHERE D.COMPANY = A.COMPANY AND D.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.DEPTID = A.DEPTID AND D.JOBCODE = A.JOBCODE AND D.POSITION_NBR = A.POSITION_NBR AND D.EMPLID = A.EMPLID AND D.EMPL_RCD = A.EMPL_RCD) AND B.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_COMPANY_TBL E WHERE E.COMPANY = B.COMPANY AND E.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL |
Company
Prompt Table: COMPANY_TBL |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: BUS_UNIT_TBL_HR |
3 | GVT_TAS_MAP_INDC | Character(1) | VARCHAR2(1) NOT NULL |
Mapping Level Indicator for TAS/BETC Mapping
A=Employee C=Company D=Department J=Job Code P=Position |
4 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPT_TBL_EFF_VW |
5 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL |
Job Code
Prompt Table: JOBCODE_TBL_VW |
6 | POSITION_NBR | Character(8) | VARCHAR2(8) NOT NULL |
Position Number
Prompt Table: POSITION_VW |
7 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERS_SRCH_GBL |
8 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL |
Empl Rcd Nbr
Prompt Table: EMPLOYMENT |
9 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |