GPBR_MISC08_VW

(SQL View)
Index Back

Periodic eSocial Miscellaneous

eSocial XML Framework View Table This record is used to generate informations for eSocial layout S-1210 - Periodic eSocial - Miscellaneous Payments TAG-Group detPgtoAnt

SELECT A.GPBR_DRIVER_SEQ ,A.GPBR_DRV_SPLIT_SEQ ,A.PYMNT_DT ,C.GPBR_PAY_TP ,' ' ,D.GPBR_LABOR_CAT_CD FROM PS_GPBR_STG_MISC09 A , PS_GPBR_DRIVER_DAT B ,PS_GPBR_STG_MISC01 C ,PS_GPBR_LBR_REGIME D WHERE A.GPBR_DRIVER_SEQ = B.GPBR_DRIVER_SEQ AND A.GPBR_DRV_SPLIT_SEQ = B.GPBR_DRV_SPLIT_SEQ AND A.GPBR_DRIVER_SEQ = C.GPBR_DRIVER_SEQ AND A.GPBR_DRV_SPLIT_SEQ = C.GPBR_DRV_SPLIT_SEQ AND B.GPBR_STATUS = 'XRDY' AND D.EMPL_CLASS=C.EMPL_CLASS AND D.EFFDT=( SELECT MAX(E.EFFDT) FROM PS_GPBR_LBR_REGIME E WHERE E.EMPL_CLASS=D.EMPL_CLASS AND E.EFFDT <=A.PYMNT_DT) GROUP BY A.GPBR_DRIVER_SEQ ,A.GPBR_DRV_SPLIT_SEQ ,A.PYMNT_DT ,C.GPBR_PAY_TP ,D.GPBR_LABOR_CAT_CD

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 GPBR_DRIVER_SEQ Number(30,0) DECIMAL(30) NOT NULL Driver Sequence
2 GPBR_DRV_SPLIT_SEQ Number(20,0) DECIMAL(20) NOT NULL eSocial - Split Sequence
3 PYMNT_DT Date(10) DATE Date the payment should be sent to the bank for execution
4 GPBR_PAY_TP Character(1) VARCHAR2(1) NOT NULL Patyment TP
0=N/A
1=Payroll
2=Termination
3=Term Non Empl
7=Vacation
5 GPBR_PER_REF Character(7) VARCHAR2(7) NOT NULL eSocial Reference Period
6 GPBR_LABOR_CAT_CD Character(3) VARCHAR2(3) NOT NULL eSocial Labor Category Legal Code