HR_VT_JOB_VW

(SQL View)
Index Back

SP360 Job Table Max Eff Seq

Gets Jobd ata by max effective sequence

SELECT A.EMPLID , A.EMPL_RCD , A.EFFDT , A.PER_ORG , A.DEPTID , A.JOBCODE , A.POSITION_NBR , A.EMPL_STATUS , A.HR_STATUS , A.ACTION , A.ACTION_DT , A.ACTION_REASON , A.LOCATION , A.JOB_ENTRY_DT , A.DEPT_ENTRY_DT , A.POSITION_ENTRY_DT , A.SHIFT , A.REG_TEMP , A.FULL_PART_TIME , A.FLSA_STATUS , A.OFFICER_CD , A.COMPANY , A.PAYGROUP , A.EMPL_TYPE , A.HOLIDAY_SCHEDULE , A.STD_HOURS , A.EEO_CLASS , A.EMPL_CLASS , A.SAL_ADMIN_PLAN , A.GRADE , A.GRADE_ENTRY_DT , A.STEP , A.STEP_ENTRY_DT , A.GL_PAY_TYPE , A.ACCT_CD , A.EARNS_DIST_TYPE , A.COMP_FREQUENCY , A.COMPRATE , A.CHANGE_AMT , A.CHANGE_PCT , A.ANNUAL_RT , A.MONTHLY_RT , A.HOURLY_RT , A.ANNL_BENEF_BASE_RT , A.SHIFT_RT , A.SHIFT_FACTOR , A.CURRENCY_CD , A.BUSINESS_UNIT , A.ADDS_TO_FTE_ACTUAL , A.CLASS_INDC , A.FICA_STATUS_EE , A.FTE , A.PRORATE_CNT_AMT , A.ENCUMB_OVERRIDE , A.PAY_SYSTEM_FLG , A.BENEFIT_SYSTEM , A.SETID_DEPT , A.SETID_JOBCODE , A.SETID_LOCATION , A.SETID_SALARY , A.REG_REGION , RG.COUNTRY , A.JOB_INDICATOR , A.CONTRACT_NUM , A.GP_PAYGROUP , A.REPORTS_TO , A.POSITION_OVERRIDE FROM PS_JOB A , PS_REG_REGION_TBL RG WHERE A.EffSeq = ( SELECT MAX(D.EffSeq) FROM PS_JOB D WHERE D.EmplID = A.EmplID AND D.EMPL_RCD = A.EMPL_RCD AND D.EffDt = A.EffDt) AND RG.REG_REGION = A.REG_REGION

  • Parent record: PER_ORG_ASGN
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

    Prompt Table: PERSON

    2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
    3 EFFDT Date(10) DATE NOT NULL Effective Date
    4 PER_ORG Character(3) VARCHAR2(3) NOT NULL Defines the Organizational Relationship(s) that a Person has to the Organization. These are Employee, Contingent Worker, and Persons of Interest.
    CWR=Contingent Worker
    EMP=Employee
    POI=Person of Interest
    5 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

    Prompt Table: DEPT_TBL

    6 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code

    Prompt Table: JOBCODE_TBL

    7 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number
    8 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
    9 HR_STATUS Character(1) VARCHAR2(1) NOT NULL HR Status
    A=Active
    I=Inactive
    10 ACTION Character(3) VARCHAR2(3) NOT NULL Action

    Prompt Table: ACTION_TBL

    11 ACTION_DT Date(10) DATE Action Date
    12 ACTION_REASON Character(3) VARCHAR2(3) NOT NULL Reason Code

    Prompt Table: ACTN_REASON_TBL

    13 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code

    Prompt Table: LOCATION_TBL

    14 JOB_ENTRY_DT Date(10) DATE Job Entry Date
    15 DEPT_ENTRY_DT Date(10) DATE Department Entry Date
    16 POSITION_ENTRY_DT Date(10) DATE Position Entry Date
    17 SHIFT Character(1) VARCHAR2(1) NOT NULL Regular Shift
    1=Day
    2=Evening
    3=Night
    A=Any
    C=Compressed
    N=Not Applicable
    R=Rotating
    18 REG_TEMP Character(1) VARCHAR2(1) NOT NULL Regular/Temporary
    R=Regular
    T=Temporary
    19 FULL_PART_TIME Character(1) VARCHAR2(1) NOT NULL Full/Part Time
    D=On Demand
    F=Full-Time
    P=Part-Time
    20 FLSA_STATUS Character(1) VARCHAR2(1) NOT NULL FLSA Status
    A=Administrative
    C=Computer Employee
    E=Executive
    H=Highly Compensated Employees
    M=Management
    N=Nonexempt
    O=Outside Salesperson
    P=Professional
    V=Nonexempt Alt Overtime
    X=No FLSA Required
    21 OFFICER_CD Character(1) VARCHAR2(1) NOT NULL Officer Code
    C=Chairman
    D=Director
    N=None
    O=Officer
    P=President
    S=Secretary
    T=Treasurer
    V=Vice President
    22 COMPANY Character(3) VARCHAR2(3) NOT NULL Company

    Prompt Table: COMPANY_TBL

    23 PAYGROUP Character(3) VARCHAR2(3) NOT NULL Pay Group

    Prompt Table: PAYGROUP_TBL

    24 EMPL_TYPE Character(1) VARCHAR2(1) NOT NULL Employee Type
    E=Exception Hourly
    H=Hourly
    N=Not Applicable
    S=Salaried

    Prompt Table: PAYGRP_EMPLTYPE

    25 HOLIDAY_SCHEDULE Character(6) VARCHAR2(6) NOT NULL Holiday Schedule

    Prompt Table: HOLIDAY_TBL

    26 STD_HOURS Number(7,2) DECIMAL(6,2) NOT NULL Standard Hours
    27 EEO_CLASS Character(1) VARCHAR2(1) NOT NULL EEO Classification
    E=Exclude from Count
    N=None of the Above
    P=Production Trainee
    W=White-Collar Trainee
    28 EMPL_CLASS Character(3) VARCHAR2(3) NOT NULL Employee Classification

    Prompt Table: EMPL_CLASS_TBL
    Set Control Field: REG_REGION

    29 SAL_ADMIN_PLAN Character(4) VARCHAR2(4) NOT NULL Salary Administration Plan
    30 GRADE Character(3) VARCHAR2(3) NOT NULL Salary Grade

    Prompt Table: SAL_GRADE_TBL

    31 GRADE_ENTRY_DT Date(10) DATE Grade Entry Date
    32 STEP Number(2,0) SMALLINT NOT NULL Step

    Prompt Table: SAL_STEP_TBL

    33 STEP_ENTRY_DT Date(10) DATE Step Entry Date
    34 GL_PAY_TYPE Character(6) VARCHAR2(6) NOT NULL General Ledger Pay Type
    35 ACCT_CD Character(25) VARCHAR2(25) NOT NULL Combination Code

    Prompt Table: ACCT_CD_TBL

    36 EARNS_DIST_TYPE Character(1) VARCHAR2(1) NOT NULL Earnings Distribution Type
    A=By Amount
    H=By Hours
    N=None
    P=By Percent
    37 COMP_FREQUENCY Character(5) VARCHAR2(5) NOT NULL Compensation Frequency
    A=Annual
    B=Biweekly
    C=Contract
    D=Daily
    H=Hourly
    M=Monthly
    S=Semimonthly
    W=Weekly

    Prompt Table: COMP_FREQ_VW

    38 COMPRATE Number(19,6) DECIMAL(18,6) NOT NULL Compensation Rate
    39 CHANGE_AMT Signed Number(20,6) DECIMAL(18,6) NOT NULL Change Amount
    40 CHANGE_PCT Signed Number(8,3) DECIMAL(6,3) NOT NULL Change Percent
    41 ANNUAL_RT Number(19,3) DECIMAL(18,3) NOT NULL Annual Rate
    42 MONTHLY_RT Number(19,3) DECIMAL(18,3) NOT NULL Monthly Rate
    43 HOURLY_RT Number(19,6) DECIMAL(18,6) NOT NULL Hourly Rate
    44 ANNL_BENEF_BASE_RT Number(19,3) DECIMAL(18,3) NOT NULL Specifies a compensation amount used to calculate benefits and benefit deductions for an employee. The base compensation amount may include commissions and bonuses in addition to regular compensation. If no Annual Benefits Base Rate is entered, then benefits calculations are based on an employee's regular compensation.
    45 SHIFT_RT Number(19,6) DECIMAL(18,6) NOT NULL Shift Differential Rate
    46 SHIFT_FACTOR Number(5,3) DECIMAL(4,3) NOT NULL Shift Differential Factor
    47 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

    Prompt Table: CURRENCY_CD_TBL

    48 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    49 ADDS_TO_FTE_ACTUAL Character(1) VARCHAR2(1) NOT NULL Adds to FTE Actual Count
    50 CLASS_INDC Character(1) VARCHAR2(1) NOT NULL Classified/Unclassified Ind
    B=All
    C=Classified
    T=Temporary
    U=Unclassified
    51 FICA_STATUS_EE Character(1) VARCHAR2(1) NOT NULL FICA Status-Employee
    E=Exempt
    H=ER FICA Exmpt
    J=EE FICA Exmpt
    K=EE/ER FICA Exmpt
    M=Medicare only
    N=Subject
    52 FTE Number(8,6) DECIMAL(7,6) NOT NULL This field represent Full Time Equivalence
    53 PRORATE_CNT_AMT Character(1) VARCHAR2(1) NOT NULL Prorate Contract Change Amount
    C=Prorate Over Contract Period
    E=Prorate Using Effective Date
    N=No Proration of Change Amt.
    P=Prorate Over Payment Period
    54 ENCUMB_OVERRIDE Character(1) VARCHAR2(1) NOT NULL Encumbrance Override
    55 PAY_SYSTEM_FLG Character(2) VARCHAR2(2) NOT NULL Payroll System
    GP=Global Payroll
    NA=Payroll for North America
    OT=Other
    PI=Payroll Interface
    56 BENEFIT_SYSTEM Character(2) VARCHAR2(2) NOT NULL A flag that indicates whether the benefits for an employee are administered under PeopleSoft Benefits Administration or PeopleSoft Base Benefits.
    BA=Benefits Administration
    BN=Base Benefits
    OT=Not Managed in PeopleSoft
    57 SETID_DEPT Character(5) VARCHAR2(5) NOT NULL Department Set ID
    58 SETID_JOBCODE Character(5) VARCHAR2(5) NOT NULL Job Code Set ID
    59 SETID_LOCATION Character(5) VARCHAR2(5) NOT NULL Location Set ID
    60 SETID_SALARY Character(5) VARCHAR2(5) NOT NULL Salary Set ID
    61 REG_REGION Character(5) VARCHAR2(5) NOT NULL Regulatory Region
    62 REG_REGION_COUNTRY Character(3) VARCHAR2(3) NOT NULL Reg Region Country
    63 JOB_INDICATOR Character(1) VARCHAR2(1) NOT NULL This Indicator is used on JOB to specify which employment record is considered to be the primary one for an employee. In case of Multiple Jobs per Employee, this property is being used to make a conscious decision in related features where only 1 Employment Record per Employee needs to be returned.
    N=Not Applicable
    P=Primary Job
    S=Secondary Job
    64 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract Number
    65 GP_PAYGROUP Character(10) VARCHAR2(10) NOT NULL Global Payroll pay group
    66 REPORTS_TO Character(8) VARCHAR2(8) NOT NULL Reports To Position Number
    67 POSITION_OVERRIDE Character(1) VARCHAR2(1) NOT NULL Override Position Data