EX_EE_BUDEPT_VW

(SQL View)
Index Back

Employee Default Profile Vw


SELECT B.EMPLID , B.EMPL_RCD , B.BUSINESS_UNIT_GL , D.BASE_CURRENCY , C.DEPTID , C.EMPL_STATUS , B.EE_VAL_FLG , B.EE_VAL_REASON_CD FROM PS_EX_EE_ORG_DTL B , PS_JOB C , PS_BUS_UNIT_TBL_EX D WHERE B.EMPLID = C.EMPLID AND B.EMPL_RCD = C.EMPL_RCD AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_JOB C1 WHERE C1.EMPLID = C.EMPLID AND C1.EMPL_RCD = C.EMPL_RCD AND C1.EFFDT <= %CurrentDateIn) AND C.EFFSEQ = ( SELECT MAX(C2.EFFSEQ) FROM PS_JOB C2 WHERE C2.EMPLID = C.EMPLID AND C2.EMPL_RCD = C.EMPL_RCD AND C2.EFFDT = C.EFFDT) AND B.BUSINESS_UNIT_GL = B.BUSINESS_UNIT_GL

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

Prompt Table: PERSONAL_DATA

2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
3 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit

Prompt Table: EX_BU_PROMPT_VW

4 BASE_CURRENCY Character(3) VARCHAR2(3) NOT NULL "Specifies the primary currency for a general ledger business unit, and is sometimes referred to as the ""book"" currency. Each business unit has one base currency. which is usually, but not always, the local currency for the organization. Journal entries are posted to a business unit in its base currency. "
5 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPTID_BUGL_VW

6 EMPL_STATUS Character(1) VARCHAR2(1) NOT NULL Employee Status
A=Active
D=Deceased
I=Inactive
L=Leave of Absence
P=Leave With Pay
Q=Retired With Pay
R=Retired
S=Suspended
T=Terminated
U=Terminated With Pay
V=Terminated Pension Pay Out
W=Short Work Break
X=Retired-Pension Administration
7 EE_VAL_FLG Character(1) VARCHAR2(1) NOT NULL Valid for Expenses
N=No
Y=Yes
8 EE_VAL_REASON_CD Character(1) VARCHAR2(1) NOT NULL Reason for Status
A=No Bank Account Selected
B=Invalid Business Unit
D=Invalid Department
P=Passed All Validation Edits