CURRENT_JOB_ALL

(SQL View)
Index Back

Current Job from Job Table

CURRENT_JOB_ALL is a view that combines a person's personal/demographic data and current job assignment data from the JOB record. All PER_STATUS are included. Field is in view if you need to exclude a group. The %CurrentDateIn is used for the ASOFDATE. This view is used primarily online

SELECT A.EMPLID , A.EMPL_RCD , A.EFFDT , A.EFFSEQ , 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 , %CurrentDateIn 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 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
    5 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
    6 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

    Prompt Table: DEPT_TBL

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

    Prompt Table: JOBCODE_TBL

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

    Prompt Table: ACTION_TBL

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

    Prompt Table: ACTN_REASON_TBL

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

    Prompt Table: LOCATION_TBL

    15 JOB_ENTRY_DT Date(10) DATE Job Entry Date
    16 DEPT_ENTRY_DT Date(10) DATE Department Entry Date
    17 POSITION_ENTRY_DT Date(10) DATE Position Entry Date
    18 SHIFT Character(1) VARCHAR2(1) NOT NULL Regular Shift
    1=Day
    2=Evening
    3=Night
    A=Any
    C=Compressed
    N=Not Applicable
    R=Rotating
    19 REG_TEMP Character(1) VARCHAR2(1) NOT NULL Regular/Temporary
    R=Regular
    T=Temporary
    20 FULL_PART_TIME Character(1) VARCHAR2(1) NOT NULL Full/Part Time
    D=On Demand
    F=Full-Time
    P=Part-Time
    21 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
    22 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
    23 COMPANY Character(3) VARCHAR2(3) NOT NULL Company

    Prompt Table: COMPANY_TBL

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

    Prompt Table: PAYGROUP_TBL

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

    Prompt Table: PAYGRP_EMPLTYPE

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

    Prompt Table: HOLIDAY_TBL

    27 STD_HOURS Number(7,2) DECIMAL(6,2) NOT NULL Standard Hours
    28 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
    29 EMPL_CLASS Character(3) VARCHAR2(3) NOT NULL Employee Classification

    Prompt Table: EMPL_CLASS_TBL
    Set Control Field: REG_REGION

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

    Prompt Table: SAL_GRADE_TBL

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

    Prompt Table: SAL_STEP_TBL

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

    Prompt Table: ACCT_CD_TBL

    37 EARNS_DIST_TYPE Character(1) VARCHAR2(1) NOT NULL Earnings Distribution Type
    A=By Amount
    H=By Hours
    N=None
    P=By Percent
    38 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

    39 COMPRATE Number(19,6) DECIMAL(18,6) NOT NULL Compensation Rate
    40 CHANGE_AMT Signed Number(20,6) DECIMAL(18,6) NOT NULL Change Amount
    41 CHANGE_PCT Signed Number(8,3) DECIMAL(6,3) NOT NULL Change Percent
    42 ANNUAL_RT Number(19,3) DECIMAL(18,3) NOT NULL Annual Rate
    43 MONTHLY_RT Number(19,3) DECIMAL(18,3) NOT NULL Monthly Rate
    44 HOURLY_RT Number(19,6) DECIMAL(18,6) NOT NULL Hourly Rate
    45 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.
    46 SHIFT_RT Number(19,6) DECIMAL(18,6) NOT NULL Shift Differential Rate
    47 SHIFT_FACTOR Number(5,3) DECIMAL(4,3) NOT NULL Shift Differential Factor
    48 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

    Prompt Table: CURRENCY_CD_TBL

    49 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    50 ADDS_TO_FTE_ACTUAL Character(1) VARCHAR2(1) NOT NULL Adds to FTE Actual Count
    51 CLASS_INDC Character(1) VARCHAR2(1) NOT NULL Classified/Unclassified Ind
    B=All
    C=Classified
    T=Temporary
    U=Unclassified
    52 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
    53 FTE Number(8,6) DECIMAL(7,6) NOT NULL This field represent Full Time Equivalence
    54 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
    55 ENCUMB_OVERRIDE Character(1) VARCHAR2(1) NOT NULL Encumbrance Override
    56 PAY_SYSTEM_FLG Character(2) VARCHAR2(2) NOT NULL Payroll System
    GP=Global Payroll
    NA=Payroll for North America
    OT=Other
    PI=Payroll Interface
    57 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
    58 SETID_DEPT Character(5) VARCHAR2(5) NOT NULL Department Set ID
    59 SETID_JOBCODE Character(5) VARCHAR2(5) NOT NULL Job Code Set ID
    60 SETID_LOCATION Character(5) VARCHAR2(5) NOT NULL Location Set ID
    61 SETID_SALARY Character(5) VARCHAR2(5) NOT NULL Salary Set ID
    62 REG_REGION Character(5) VARCHAR2(5) NOT NULL Regulatory Region
    63 REG_REGION_COUNTRY Character(3) VARCHAR2(3) NOT NULL Reg Region Country
    64 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
    65 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract Number
    66 GP_PAYGROUP Character(10) VARCHAR2(10) NOT NULL Global Payroll pay group
    67 ASOFDATE Date(10) DATE As of Date