GPBR_STG_LPTRVW

(SQL View)
Index Back

Labor Proceeding Tax BRA

Staging Record View. This record is used to generate information related to eSocial layout S-2501 - Labor Proceeding Tax.

SELECT DISTINCT REV.GPBR_DRIVER_SEQ , REV.GPBR_DRV_SPLIT_SEQ , REV.GPBR_CPF_ID , REV.GPBR_REVENUE_CODE , REV.AMOUNT1_BRA FROM %Table(GPBR_STG_LP_REV) REV , %Table(GPBR_DRIVER_DAT) DRV WHERE REV.GPBR_DRIVER_SEQ = DRV.GPBR_DRIVER_SEQ AND REV.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 GPBR_CPF_ID Character(11) VARCHAR2(11) NOT NULL eSocial National ID Number
4 GPBR_REVENUE_CODE Character(6) VARCHAR2(6) NOT NULL Revenue Code.

Prompt Table: GPBR_REV_CD_TBL

5 AMOUNT1_BRA Number(17,2) DECIMAL(16,2) NOT NULL Amount