HCI_JOB_MIL_VW

(SQL View)
Index Back

SELECT A.EMPLID ,A.EMPL_RCD ,A.MIL_SVC_COMP_CD ,A.MIL_CMP_CATEGORY ,A.JOB_FAMILY ,A.JOB_FUNCTION ,A.JOB_SUB_FUNC ,A.MIL_RANK ,A.MIL_RANK_ENTRY_DT ,A.MIL_WORN_RANK ,A.MIL_WORN_RNK_TYPE ,A.MIL_SKILL_GRADE FROM PS_JOB_MIL A WHERE A.EFFDT = ( SELECT MAX(A2.EFFDT) FROM PS_JOB_MIL A2 WHERE A2.EMPLID = A.EMPLID AND A2.EMPL_RCD = A.EMPL_RCD AND A2.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(A3.EFFSEQ) FROM PS_JOB_MIL A3 WHERE A3.EMPLID = A.EMPLID AND A3.EMPL_RCD = A.EMPL_RCD AND A3.EFFDT = A.EFFDT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Default Value: NEW

Prompt Table: PERSON

2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
3 MIL_SVC_COMP_CD Character(4) VARCHAR2(4) NOT NULL Service Component

Prompt Table: MIL_SVC_CMP_VW

4 MIL_CMP_CATEGORY Character(4) VARCHAR2(4) NOT NULL Component Category

Prompt Table: MIL_CMP_CAT_VW

5 JOB_FAMILY Character(6) VARCHAR2(6) NOT NULL Job Family

Prompt Table: JOB_FAMILY_TBL

6 JOB_FUNCTION Character(3) VARCHAR2(3) NOT NULL Job Function Code

Prompt Table: JOBFUNCTION_TBL

7 JOB_SUB_FUNC Character(3) VARCHAR2(3) NOT NULL Job sub Function

Prompt Table: JOB_SUB_FNC_VW

8 MIL_RANK Character(5) VARCHAR2(5) NOT NULL Military Rank

Prompt Table: MIL_RANK_TBL

9 MIL_RANK_ENTRY_DT Date(10) DATE The employee's date when the new rank was given
10 MIL_WORN_RANK Character(5) VARCHAR2(5) NOT NULL Worn Rank

Prompt Table: MIL_WORN_RNK_VW

11 MIL_WORN_RNK_TYPE Character(2) VARCHAR2(2) NOT NULL Worn Rank Type

Prompt Table: MIL_WRN_TYP_TBL

12 MIL_SKILL_GRADE Character(2) VARCHAR2(2) NOT NULL Skill Grade

Prompt Table: MIL_SKL_GRD_TBL