GPBR_LCT_ADD_VW

(SQL View)
Index Back

Basic Table - Wage Event

eSocial XML Framework View Table Stores the information about node tag "inclusao" event S-1010 Basic Table - Wage Event Table

SELECT A.GPBR_DRIVER_SEQ , A.GPBR_DRV_SPLIT_SEQ , B.COMPANY , A.GPBR_COD_LOCAT , A.BEGIN_DT , A.GPBR_PER_END_DT , A.TP_LOCAT_BRA , A.GPBR_COM_INS_TYPEE , A.GPBR_ESTAB_ID_EST , A.FPAS_CD_BRA , A.GPBR_THIRD_PARTY , A.GPBR_TAKE_INS_TYPE , A.GPBR_TAKER_INSCR , A.GPBR_OWNER_TP , A.GPBR_CNO_OWNER , A.THIRD_PT_SUS_BRA FROM %Table(GPBR_STG_LCTN) 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' AND B.GPBR_ACTION = 'ADD'

# 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_COD_LOCAT Character(30) VARCHAR2(30) NOT NULL eSocial Location Code
5 BEGIN_DT Date(10) DATE Begin Date
6 GPBR_PER_END_DT Date(10) DATE Period End Date -- Vacations Brazil
7 TP_LOCAT_BRA Character(2) VARCHAR2(2) NOT NULL Location Type
01=Regular / Construction
02=Partial Contract
03=Partial Contract
11=Different FPAS/Third
90=Location Outside Country
8 GPBR_COM_INS_TYPEE Character(2) VARCHAR2(2) NOT NULL Company Inscription Type
9 GPBR_ESTAB_ID_EST Character(20) VARCHAR2(20) NOT NULL Establishment ID
10 FPAS_CD_BRA Number(3,0) SMALLINT NOT NULL FPAS Social Assistant & Prevision Code
11 GPBR_THIRD_PARTY Character(4) VARCHAR2(4) NOT NULL eSocial Third Party Code
12 GPBR_TAKE_INS_TYPE Character(1) VARCHAR2(1) NOT NULL Service Taker Inscription Type
1=Juridic Person National Reg
2=INSS Special Register
3=Phisic Person National Reg
13 GPBR_TAKER_INSCR Character(14) VARCHAR2(14) NOT NULL Service Taker Inscription
14 GPBR_OWNER_TP Number(1,0) SMALLINT NOT NULL eSocial Number Process Judicial
15 GPBR_CNO_OWNER Character(14) VARCHAR2(14) NOT NULL eSocial Owner Inscription
16 THIRD_PT_SUS_BRA Number(4,0) SMALLINT NOT NULL Third Party Code Susp.