IDO_EMP2_JPN_VW

(SQL View)
Index Back

Ido Employee View 2

Used to create a rowset that is used to add employees to the department tree displayed on the Ido Transfer by Tree page.

SELECT A.ORG_PLAN_JPN , A.EMPLID , A.EMPL_RCD , A.EFFDT , C.APPT_TYPE , A.BUSINESS_UNIT , A.DEPTID , B.NAME FROM PS_IDO_FUT_UPD_JPN A , PS_PERSON_NAME B , PS_JOB C WHERE A.EMPLID = B.EMPLID AND A.EMPLID = C.EMPLID AND A.EMPL_RCD = C.EMPL_RCD AND A.SEQUENCE_JPN = 1 AND C.EFFDT = ( SELECT MAX(EFFDT) FROM PS_JOB WHERE EMPLID = C.EMPLID AND EMPL_RCD = C.EMPL_RCD) AND C.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_JOB WHERE EMPLID = C.EMPLID AND EMPL_RCD = C.EMPL_RCD AND EFFDT = C.EFFDT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 ORG_PLAN_JPN Character(3) VARCHAR2(3) NOT NULL Tracks one possible view of the employees in a company.
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
3 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
4 EFFDT Date(10) DATE Effective Date

Default Value: %date

5 APPT_TYPE Character(1) VARCHAR2(1) NOT NULL This field tracks whether a row is a Main Appointment (which all rows outside Japan are), or an Additional Appointment, which is a feature only used by Japanese customers.
0=Core Appointment
1=Japan Kenmu Appointment
2=French Public Sector Appt
3=Staffing
6 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
7 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
8 NAME Character(50) VARCHAR2(50) NOT NULL Name