GPBR_IDCALT_VW

(SQL View)
Index Back

Temporary S-2299 for eSocial V

Temporary S-2299 for eSocial View

SELECT A.GPBR_ESOC_YEAR ,A.GPBR_ESOC_MONTHCD ,A.COMPANY ,A.GP_PAYGROUP ,A.CAL_RUN_ID ,A.CAL_ID ,A.RUN_TYPE ,A.PERIOD_BEGIN_DT ,A.PERIOD_END_DATE ,A.PAYMENT_DT ,MIN(A.PYE_CALC_STAT) ,A.RUN_FINALIZED_IND ,'Results' FROM PS_GPBR_ES_IDCALT A WHERE EXISTS ( SELECT 'X' FROM ps_company_tbl_bra AA , PS_GPBR_RUN_TYPE BB WHERE AA.COMPANY=A.COMPANY AND AA.ID_TBL_ED_BRA=BB.GPBR_WAGE_TYPES_ID AND BB.RUN_TYPE=A.RUN_TYPE AND (BB.GPBR_PAY_TP='2' OR BB.GPBR_PAY_TP='3') ) GROUP BY A.GPBR_ESOC_YEAR ,A.GPBR_ESOC_MONTHCD ,A.COMPANY ,A.GP_PAYGROUP ,A.CAL_RUN_ID ,A.CAL_ID , A.RUN_TYPE ,A.PERIOD_BEGIN_DT ,A.PERIOD_END_DATE ,A.PAYMENT_DT ,A.RUN_FINALIZED_IND

  • Parent record: GPBR_ES_PER_RC
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 GPBR_ESOC_YEAR Number(4,0) SMALLINT NOT NULL Competency Year
    2 GPBR_ESOC_MONTHCD Character(2) VARCHAR2(2) NOT NULL eSocial Competency Month
    01=01 - January
    02=02 - February
    03=03 - March
    04=04 - April
    05=05 - May
    06=06 - June
    07=07 - July
    08=08 - August
    09=09 - September
    10=10 - October
    11=11 - November
    12=12 - December
    3 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
    4 GP_PAYGROUP Character(10) VARCHAR2(10) NOT NULL Global Payroll pay group
    5 CAL_RUN_ID Character(18) VARCHAR2(18) NOT NULL Calendar Run Id
    6 CAL_ID Character(18) VARCHAR2(18) NOT NULL calendar id
    7 RUN_TYPE Character(10) VARCHAR2(10) NOT NULL Run Type Name
    8 PERIOD_BEGIN_DT Date(10) DATE Period Begin Date
    9 PERIOD_END_DATE Date(10) DATE Period End Date
    10 PAYMENT_DT Date(10) DATE Payment Date
    11 PYE_CALC_STAT Character(2) VARCHAR2(2) NOT NULL Calculation Status: field indicates the processing status of a segment (payment)
    00=Identified
    02=Calculation Error
    03=Calculation Error - Bypassed
    04=Calculation Error - By Rule
    11=No Segment Created
    50=Calculation Successful
    55=Frozen For Further Calc
    70=Finalized
    75=Finalized - With Banking
    12 RUN_FINALIZED_IND Character(1) VARCHAR2(1) NOT NULL Finalized Run
    13 GPBR_ES_SOURCE Character(4) VARCHAR2(4) NOT NULL Source process Batch
    ILB=Initial Loading Basic Tables
    ILE=Initial Loading Employee
    MBT=Mapping Basic Tables
    MNP=Mapping Non Periodic
    PHR=Pre-Hiring Tables
    TER=Termination