EMPLOYMENT_HOST(SQL View) |
Index Back |
---|---|
Vw-Host Employment/JobEMPLOYMENT_HOME and EMPLOYMENT_HOST are views used by the system as edit tables for the HOME_HOST_EMPL_RCD field on the ASGN_HOME_HOST record. If the ASGN_HOME_HOST record is a 'home' record, the system uses EMPLOYMENT_HOME as the edit table for employment record number. If the ASGN_HOME_HOST record is a 'host' record, the system uses EMPLOYMENT_HOST as the edit table for employment record number. This functionality is part of the International Assignment module, which deals with company employees on overseas, international, or away-from-home job assignments. |
SELECT A.EmplID ,A.EMPL_RCD ,B.EffDt ,A.Home_Host_Class ,B.Supervisor_ID ,B.Reports_To ,B.Empl_Status ,B.Business_Unit ,B.DeptID ,B.Jobcode ,B.Position_Nbr ,B.Location ,B.Company ,B.Paygroup ,B.Sal_Admin_Plan ,B.Grade ,B.Step FROM PS_PER_ORG_ASGN A , PS_JOB B WHERE A.Home_Host_Class = 'S' AND A.Emplid = B.Emplid AND A.EMPL_RCD = B.EMPL_RCD AND B.EffSeq = ( SELECT MAX(C.EffSeq) FROM PS_JOB C WHERE C.EmplID = B.EmplID AND C.EMPL_RCD = B.EMPL_RCD AND C.EffDt = B.EffDt) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Default Value: PERSON.EMPLID Prompt Table: PERSON |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
3 | EFFDT | Date(10) | DATE | Effective Date |
4 | HOME_HOST_CLASS | Character(1) | VARCHAR2(1) NOT NULL |
Home/Host Classification
M=Home S=Host |
5 | SUPERVISOR_ID | Character(11) | VARCHAR2(11) NOT NULL | Supervisor ID |
6 | REPORTS_TO | Character(8) | VARCHAR2(8) NOT NULL | Reports To Position Number |
7 | EMPL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Payroll Status
A=Active D=Deceased 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 |
8 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
9 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
10 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
11 | POSITION_NBR | Character(8) | VARCHAR2(8) NOT NULL | Position Number |
12 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
13 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
14 | PAYGROUP | Character(3) | VARCHAR2(3) NOT NULL | Pay Group |
15 | SAL_ADMIN_PLAN | Character(4) | VARCHAR2(4) NOT NULL | Salary Administration Plan |
16 | GRADE | Character(3) | VARCHAR2(3) NOT NULL | Salary Grade |
17 | STEP | Number(2,0) | SMALLINT NOT NULL | Step |