GPMX_VAC_EVT_VW

(SQL View)
Index Back

Absence Event Definition.

Absence Event Definition - Main Record.

SELECT B.EMPLID , B.EMPL_RCD , B.CAL_RUN_ID , B.BGN_DT , B.PIN_TAKE_NUM , B.END_DT , B.DURATION_ABS , B.ABSENCE_REASON , B.VOIDED_IND , C.ABS_TYPE_OPTN , A.DESCR FROM PS_GP_PIN A , PS_GP_ABS_EVENT B , PS_GP_ABS_TAKE C WHERE A.PIN_NUM = B.PIN_TAKE_NUM AND A.PIN_NUM = C.PIN_NUM AND C.ABS_TYPE_OPTN = 'VAC' AND A.COUNTRY = 'MEX' AND B.VOIDED_IND = 'N' AND B.PRC_EVT_ACTN_OPTN = 'N' AND B.CAL_RUN_ID IN ( SELECT CAL_RUN_ID FROM PS_GP_RSLT_ACUM E WHERE E.EMPLID = B.EMPLID AND E.EMPL_RCD = B.EMPL_RCD AND E.CAL_RUN_ID = B.CAL_RUN_ID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
3 CAL_RUN_ID Character(18) VARCHAR2(18) NOT NULL Calendar Run Id
4 BGN_DT Date(10) DATE NOT NULL Begin Date
5 PIN_TAKE_NUM Number(8,0) INTEGER NOT NULL Absence Take

Prompt Table: GP_PIN_ABSTK_VW

6 END_DT Date(10) DATE NOT NULL end date
7 DURATION_ABS Number(7,2) DECIMAL(6,2) NOT NULL Duration field containing 2 decimals to handle absence requirements
8 ABSENCE_REASON Character(3) VARCHAR2(3) NOT NULL absence reason
10=Vacations
9 VOIDED_IND Character(1) VARCHAR2(1) NOT NULL Voided Indicator

Y/N Table Edit

Default Value: N

10 ABS_TYPE_OPTN Character(3) VARCHAR2(3) NOT NULL Absence Type
11 DESCR Character(30) VARCHAR2(30) NOT NULL Description