GPBR_MISC20A_VW(SQL View) |
Index Back |
---|---|
Staging Table for S-1210Staging 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 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' UNION SELECT B.GPBR_DRIVER_SEQ , B.GPBR_DRV_SPLIT_SEQ , A.GPBR_REIMB_SOURCE , A.HPROV_CNPJ_BRA , A.HPROV_ANS_CD_BRA FROM %Table(GPBR_STG_MISC21) 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 |