GPBR_STG_HS3_VW

(SQL View)
Index Back

Periodic eSocial H&S

eSocial XML Framework View Table This record is used to generate informations for eSocial layout S-2220 - Occupational Health Monitoring

SELECT B.GPBR_DRIVER_SEQ ,B.GPBR_DRV_SPLIT_SEQ ,A.EMPLID ,A.EMPL_RCD ,A.NID_CPF_BRA ,A.PHYSICIAN_NAME_BRA ,%Substring(A.MED_CRM_BRA ,1 ,10) ,A.STATE FROM %Table(GPBR_STG_HAS3) 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 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
4 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
5 NID_CPF_BRA Character(20) VARCHAR2(20) NOT NULL Brazilian CPF National ID
6 PHYSICIAN_NAME_BRA Character(70) VARCHAR2(70) NOT NULL Physician Name BRA field.
7 MED_CRM_BRA Character(15) VARCHAR2(15) NOT NULL Medical Certication Register.
8 STATE Character(6) VARCHAR2(6) NOT NULL State