GPBR_MISC20_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_REIMB_SOURCE , A.HPROV_CNPJ_BRA , A.HPROV_ANS_CD_BRA , A.GPBR_INSCR_TYPE , A.GPBR_INSCR_NUMBER , A.GPBR_ESOC_AMT_01 , A.GPBR_ESOC_AMT_02 FROM %Table(GPBR_STG_MISC20) 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_REIMB_SOURCE Character(1) VARCHAR2(1) NOT NULL Reimbursement Source
1=Health Provider
2=Employer
4 HPROV_CNPJ_BRA Character(14) VARCHAR2(14) NOT NULL Health Provider CNPJ
5 HPROV_ANS_CD_BRA Character(6) VARCHAR2(6) NOT NULL ANS Registry
6 GPBR_INSCR_TYPE Character(1) VARCHAR2(1) NOT NULL Inscription Type.
1=CNPJ
2=CPF
7 GPBR_INSCR_NUMBER Character(20) VARCHAR2(20) NOT NULL Inscription Number.
8 GPBR_ESOC_AMT_01 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.
9 GPBR_ESOC_AMT_02 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.