GPBR_STG_LPCVVW

(SQL View)
Index Back

Labor Proceedings BRA

Staging Record. This record is used to generate information related to eSocial layout S-2500 - Labor Proceedings.

SELECT LBR_CV.GPBR_DRIVER_SEQ , LBR_CV.GPBR_DRV_SPLIT_SEQ , LBR_CV.SEQNBR , LBR_CV.GPBR_DATE1 , LBR_CV.GPBR_ESOC_AMT_01 , LBR_CV.GPBR_ESOC_AMT_02 , LBR_CV.GPBR_ESOC_AMT_03 , LBR_CV.GPBR_ESOC_AMT_04 , LBR_CV.GPBR_SEFIP_RIS_LVL , LBR_CV.GPBR_ESOC_AMT_05 , LBR_CV.GPBR_ESOC_AMT_06 , LBR_CV.GPBR_DIRECT_PYMNT , LBR_CV.GPBR_LABOR_CAT_CD , LBR_CV.GPBR_ESOC_AMT_07 , LBR_CV.GPBR_ESOC_AMT_08 , LBR_CV.GPBR_ESOC_AMT_09 , LBR_CV.GPBR_ESOC_AMT_10 FROM %Table(GPBR_STG_LP_CV) LBR_CV , %Table(GPBR_DRIVER_DAT) DRV WHERE LBR_CV.GPBR_DRIVER_SEQ = DRV.GPBR_DRIVER_SEQ AND LBR_CV.GPBR_DRV_SPLIT_SEQ = DRV.GPBR_DRV_SPLIT_SEQ AND DRV.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 SEQNBR Number(5,0) INTEGER NOT NULL Sequence Number
4 GPBR_DATE1 Date(10) DATE Date 1
5 GPBR_ESOC_AMT_01 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.
6 GPBR_ESOC_AMT_02 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.
7 GPBR_ESOC_AMT_03 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.
8 GPBR_ESOC_AMT_04 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.
9 GPBR_SEFIP_RIS_LVL Character(2) VARCHAR2(2) NOT NULL SEFIP risk lever Brazil
00=Default
01=Non Exp.Harmful Agent
02=Exp. Ret. at 15 years
03=Exp. Ret. at 20 years
04=Exp. Ret. at 25 years
05=Non Exp. Harmful Agent M.Jobs
06=Exp. Ret. at 15 years M.Jobs
07=Exp. Ret. at 20 years M.Jobs
08=Exp. Ret. at 25 years M.Jobs
09=Not Applicable
10 GPBR_ESOC_AMT_05 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.
11 GPBR_ESOC_AMT_06 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.
12 GPBR_DIRECT_PYMNT Character(1) VARCHAR2(1) NOT NULL Direct Payment.
N=No
Y=Yes
13 GPBR_LABOR_CAT_CD Character(3) VARCHAR2(3) NOT NULL eSocial Labor Category Legal Code
14 GPBR_ESOC_AMT_07 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.
15 GPBR_ESOC_AMT_08 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.
16 GPBR_ESOC_AMT_09 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.
17 GPBR_ESOC_AMT_10 Number(17,2) DECIMAL(16,2) NOT NULL eSocial generic amount.