GPBR_JUD_HDR_VW(SQL View) |
Index Back |
---|---|
Basic Table - Judicial TableeSocial XML Framework View Table This record is used to generate informations for eSocial layout S-1070 - Basic Table - Judicial Proceeding Table |
SELECT B.GPBR_DRIVER_SEQ , B.GPBR_DRV_SPLIT_SEQ , B.COMPANY , B.GPBR_EVENT_CD , A.GPBR_TP_ENV , Coalesce((SELECT C.GPBR_VERSION FROM %Table(GPBR_EVNT_SETUP) C WHERE C.GPBR_EVENT_CD = B.GPBR_EVENT_CD AND %EffdtCheck(GPBR_EVNT_SETUP C1, C, %CurrentDateIn)), ' ') , A.GPBR_ISSUER , B.GPBR_ACTION , A.GPBR_COMP_INS_TYPE , A.ESTAB_ID_BRA , B.GPBR_EVENT_ID FROM %Table(GPBR_STG_JUD01) 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 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
4 | GPBR_EVENT_CD | Character(6) | VARCHAR2(6) NOT NULL | eSocial - Event Code |
5 | GPBR_TP_ENV | Character(1) | VARCHAR2(1) NOT NULL | eSocial Environment Identification |
6 | GPBR_VERSION | Character(9) | VARCHAR2(9) NOT NULL | eSocial version |
7 | GPBR_ISSUER | Number(1,0) | SMALLINT NOT NULL | eSocial Issuer |
8 | GPBR_ACTION | Character(3) | VARCHAR2(3) NOT NULL |
eSocial Action
ADD=Row Inserted COR=Row Correction DEL=Row Deleted UPD=Row Updated |
9 | GPBR_COMP_INS_TYPE | Character(1) | VARCHAR2(1) NOT NULL | eSocial Company Inscription Type |
10 | ESTAB_ID_BRA | Character(20) | VARCHAR2(20) NOT NULL | Establishment ID Brazil |
11 | GPBR_EVENT_ID | Character(40) | VARCHAR2(40) NOT NULL | eSocial - Generate ID Number Governant |