CAREERP_EFDT_VW(SQL View) |
Index Back |
---|---|
Career Plan EFFDT ViewView joining CAREERPATH_TBL and JOBCODE_TBL to retrieve effective date for the next position jobcode. |
SELECT A.BUSINESS_UNIT ,A.JOBCODE ,A.CAREER_MOVE ,A.PRE_MOVE_OPTION ,A.JOB_OPTION_NBR ,A.BUSINESS_UNIT_JOBC ,A.NEXT_POSN_JOBCODE ,B.EFFDT ,C.SETID FROM PS_CAREERPATH_TBL A , PS_JOBCODE_TBL B , PS_SET_CNTRL_REC C WHERE (A.NEXT_POSN_JOBCODE=B.JOBCODE AND C.SETID=B.SETID) AND (A.BUSINESS_UNIT_JOBC=C.SETCNTRLVALUE AND C.RECNAME='JOBCODE_TBL') AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_JOBCODE_TBL B1 WHERE B.JOBCODE = B1.JOBCODE AND B1.SETID=B.SETID AND B.EFFDT<=%CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_HR.BUSINESS_UNIT Prompt Table: BUS_UNIT_TBL_HR |
2 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL |
Job Code
Prompt Table: JOBCODE_TBL |
3 | CAREER_MOVE | Character(1) | VARCHAR2(1) NOT NULL |
Career Move
1=1st Move 2=2nd Move 3=3rd Move 4=4th Move 5=5th Move 6=6th Move 7=7th Move 8=8th Move 9=9th Move |
4 | PRE_MOVE_OPTION | Number(2,0) | SMALLINT NOT NULL | Previous Move Option |
5 | JOB_OPTION_NBR | Number(2,0) | SMALLINT NOT NULL | Option Number |
6 | BUSINESS_UNIT_JOBC | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit for a Jobcode
Prompt Table: BUS_UNIT_TBL_HR |
7 | NEXT_POSN_JOBCODE | Character(6) | VARCHAR2(6) NOT NULL |
Job Code-Next Position
Prompt Table: BU_JOBCD_VW |
8 | EFFDT | Date(10) | DATE | Effective Date |
9 | SETID_JOBCODE | Character(5) | VARCHAR2(5) NOT NULL | Job Code Set ID |