GPBR_TERM06_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 detPlano S-2399 - Labor Event - Workers who have no employment relationship End TAG - detPlano |
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.NATIONAL_ID ,A.BIRTHDATE ,A.GPBR_PERS_NAME ,A.RELATIONSHIP ,A.GPBR_DEP_TYPE_CD ,A.GPBR_VLREC FROM %Table(GPBR_STG_TERM06) 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 | NATIONAL_ID | Character(20) | VARCHAR2(20) NOT NULL | National ID |
9 | BIRTHDATE | Date(10) | DATE | Date of Birth |
10 | GPBR_PERS_NAME | Character(70) | VARCHAR2(70) NOT NULL | Used to keep a person name. |
11 | RELATIONSHIP | Character(2) | VARCHAR2(2) NOT NULL | Relationship to Employee |
12 | GPBR_DEP_TYPE_CD | Character(2) | VARCHAR2(2) NOT NULL |
eSocial Dependent Type Legal Code
00=Not Applicable 01=Spouse 02=Partner with Chilldren/<5 yrs 03=Child/StepChild 04=Child/StepChild Univ. Student 04=Child/StepChild Univ. Student 06=Siblings/GrandChild 07=Siblings/Grandchild Univ.Stdnt 07=Siblings/Grandchild Univ.Stdnt 09=Parents/Grand/GreatGra Parents 10=Poor Minors 11=Disabled Person with Guardian 12=Ex Spouse 99=Aggregate / Others |
13 | GPBR_VLREC | Number(17,2) | DECIMAL(16,2) NOT NULL | eSocial Payment |