GPBR_TERM05_VW(SQL View) |
Index Back |
---|---|
eSocial Termination EventeSocial XML Framework View Table This record is used to generate informations for eSocial layout S-2299 - Labor Event Termination - TAG detOper S-2399 - Labor Event - Workers who have no employment relationship End TAG - detOper |
SELECT B.GPBR_DRIVER_SEQ ,B.GPBR_DRV_SPLIT_SEQ ,A.GPBR_IDE_DMDEV ,A.GPBR_COM_INS_TYPEE ,A.GPBR_ESTAB_ID_EST ,A.GPBR_COD_LOCAT ,A.HPROV_CNPJ_BRA ,A.HPROV_ANS_CD_BRA ,A.GPBR_VLREC FROM %Table(GPBR_STG_TERM05) 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_IDE_DMDEV | Character(30) | VARCHAR2(30) NOT NULL | eSocial Unique payment identifier. |
4 | GPBR_COM_INS_TYPEE | Character(2) | VARCHAR2(2) NOT NULL | Company Inscription Type |
5 | GPBR_ESTAB_ID_EST | Character(20) | VARCHAR2(20) NOT NULL | Establishment ID |
6 | GPBR_COD_LOCAT | Character(30) | VARCHAR2(30) NOT NULL | eSocial Location Code |
7 | HPROV_CNPJ_BRA | Character(14) | VARCHAR2(14) NOT NULL | Health Provider CNPJ |
8 | HPROV_ANS_CD_BRA | Character(6) | VARCHAR2(6) NOT NULL | ANS Registry |
9 | GPBR_VLREC | Number(17,2) | DECIMAL(16,2) NOT NULL | eSocial Payment |