GPBR_MISC11_VW

(SQL View)
Index Back

Staging Table for S-1210

Staging table for eSocial Event S-1210

SELECT B.GPBR_DRIVER_SEQ , B.GPBR_DRV_SPLIT_SEQ , A.GPBR_REVENUE_CODE , A.GPBR_DEP_INC_TYPE , A.GPBR_CPF_ID , A.GPBR_IRRF_DEP_VAL , A.GPBR_DEP_IR FROM %Table(GPBR_STG_MISC11) 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 A.GPBR_DEP_IR = 'S' 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_REVENUE_CODE Character(6) VARCHAR2(6) NOT NULL Revenue Code.
4 GPBR_DEP_INC_TYPE Character(2) VARCHAR2(2) NOT NULL Income Type for Dependents.
11=Monthly Salary
12=13th Salary
13=Vacation
5 GPBR_CPF_ID Character(11) VARCHAR2(11) NOT NULL eSocial National ID Number
6 GPBR_IRRF_DEP_VAL Number(17,2) DECIMAL(16,2) NOT NULL IRRF Value
7 GPBR_DEP_IR Character(1) VARCHAR2(1) NOT NULL Dependent IR