GPBR_MISC13_VW

(SQL View)
Index Back

Staging Table for S-1210

Staging table for eSocial Event S-1210

SELECT B.GPBR_DRIVER_SEQ , B.GPBR_DRV_SPLIT_SEQ , A.GPBR_REVENUE_CODE , A.GPBR_CMP_PENS_TYPE , A.CNPJ_COMP_PENS_BRA , A.GPBR_ESOC_AMT_01 , A.GPBR_ESOC_AMT_02 FROM %Table(GPBR_STG_MISC13) A , %Table(GPBR_DRIVER_DAT) B WHERE A.GPBR_DRIVER_SEQ = B.GPBR_DRIVER_SEQ AND A.GPBR_DRV_SPLIT_SEQ = B.GPBR_DRV_SPLIT_SEQ AND B.GPBR_STATUS = 'XRDY'

# 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 GPBR_REVENUE_CODE Character(6) VARCHAR2(6) NOT NULL Revenue Code.
4 GPBR_CMP_PENS_TYPE Character(1) VARCHAR2(1) NOT NULL Complementary Pension Fund Type.
1=Private
2=FAPI
3=Funpresp
5 CNPJ_COMP_PENS_BRA Character(14) VARCHAR2(14) NOT NULL CNPJ of Complementary Pension.
6 GPBR_ESOC_AMT_01 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.
7 GPBR_ESOC_AMT_02 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.