HP_PY_ERN_SPNVW

(SQL View)
Index Back

Pay Check Earnings Dist

This view contains earning distribution information created during the payroll calculation/distribution process. A separate record will be created for each earnings code per employee, account code, and accounting period. This view only sees the most current distribution record.

SELECT A.COMPANY , A.PAYGROUP , A.PAY_END_DT , A.OFF_CYCLE , A.PAGE_NUM , A.LINE_NUM , A.SEPCHK , A.ERNCD , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.ACCT_CD , A.BUDGET_DATA , A.EARNS_END_DT , A.ACCOUNT , A.DEPTID , A.POSITION_NBR , A.JOBCODE , A.EMPL_RCD , A.EARNINGS , A.POSITION_POOL_ID , A.CURRENCY_CD , A.REVERSED , A.HP_RETDIST_SEQ_NO , A.HP_RETDIST_STATUS , A.HP_RDIST_REV_SEQ , A.HP_RDIST_GL_INFACE , A.HP_RETDIST_PAY_DT , A.DEFAULT_FUND_OPTN , A.HP_DISTRIB_OVRRIDE FROM PS_PAY_ERN_DIST A WHERE HP_RETDIST_STATUS = '0'

  • Parent record: PAY_CHECK_EARNS
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 COMPANY Character(3) VARCHAR2(3) NOT NULL Company

    Prompt Table: COMPANY_TBL

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

    Prompt Table: PAYGROUP_TBL

    3 PAY_END_DT Date(10) DATE NOT NULL Pay Period End Date

    Prompt Table: PAY_CALENDAR

    4 OFF_CYCLE Character(1) VARCHAR2(1) NOT NULL Off Cycle ?

    Y/N Table Edit

    5 PAGE_NUM Number(5,0) INTEGER NOT NULL Page Nbr
    6 LINE_NUM Number(3,0) SMALLINT NOT NULL Line Nbr
    7 SEPCHK Number(2,0) SMALLINT NOT NULL Separate check number.
    8 ERNCD Character(3) VARCHAR2(3) NOT NULL Earnings Code
    9 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year

    Prompt Table: ACCT_FY_VW

    10 ACCOUNTING_PERIOD Number(3,0) SMALLINT NOT NULL Accounting Period

    Prompt Table: ACCT_PERIOD_VW

    11 ACCT_CD Character(25) VARCHAR2(25) NOT NULL Combination Code

    Prompt Table: ACCT_CD_CA_VW

    12 BUDGET_DATA Character(50) VARCHAR2(50) NOT NULL Budget Data
    13 EARNS_END_DT Date(10) DATE Earnings End Date
    14 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
    15 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

    Prompt Table: BUD_DEPT_EFF_VW
    Set Control Field: BUSINESS_UNIT

    16 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number

    Prompt Table: POSITION_DATA

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

    Prompt Table: JOBCODE_TBL

    18 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
    19 EARNINGS Signed Number(15,2) DECIMAL(13,2) NOT NULL Earnings
    20 POSITION_POOL_ID Character(3) VARCHAR2(3) NOT NULL Position Pool ID
    21 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

    Default Value: INSTALLATION.EXCHNG_TO_CURRENCY

    Prompt Table: CURRENCY_CD_TBL

    22 REVERSED Character(1) VARCHAR2(1) NOT NULL Reversed

    Y/N Table Edit

    Default Value: N

    23 HP_RETDIST_SEQ_NO Number(5,0) INTEGER NOT NULL Retro Distrubution process sequence number
    24 HP_RETDIST_STATUS Character(1) VARCHAR2(1) NOT NULL Indicates the status of retro distribution on the current distribution record
    0=Not changed
    D=Reversing Entry
    R=Redistributed
    25 HP_RDIST_REV_SEQ Number(5,0) INTEGER NOT NULL Pointer to set of data that repalces the current set of data, used by retro distribution
    26 HP_RDIST_GL_INFACE Character(1) VARCHAR2(1) NOT NULL Retroactive Distribution run for GL Interface
    27 HP_RETDIST_PAY_DT Date(10) DATE Retro Dist Pay End Date
    28 DEFAULT_FUND_OPTN Character(1) VARCHAR2(1) NOT NULL Default Funding Source Option
    A=Distrib over Actual Earnings
    E=Earnings Funding Source
    N=No Defaults
    S=Specified Defaults
    29 HP_DISTRIB_OVRRIDE Character(1) VARCHAR2(1) NOT NULL Actuals Distribution overriden at the Actuals Distribution Panel