GPBR_MISC09_VW(SQL View) |
Index Back |
---|---|
Periodic eSocial MiscellaneouseSocial XML Framework View Table This record is used to generate informations for eSocial layout S-1210 - Periodic eSocial - Miscellaneous Payments TAG-Group infoPgtoAnt |
SELECT A.GPBR_DRIVER_SEQ ,A.GPBR_DRV_SPLIT_SEQ ,A.PYMNT_DT ,C.GPBR_PAY_TP ,' ' ,A.GPBR_IR_TYPE ,SUM(A.GPBR_RSLT_ERN_WAGE) FROM PS_GPBR_STG_MISC09 A , PS_GPBR_DRIVER_DAT B ,PS_GPBR_STG_MISC01 C WHERE A.GPBR_DRIVER_SEQ = B.GPBR_DRIVER_SEQ AND A.GPBR_DRV_SPLIT_SEQ = B.GPBR_DRV_SPLIT_SEQ AND A.GPBR_DRIVER_SEQ = C.GPBR_DRIVER_SEQ AND A.GPBR_DRV_SPLIT_SEQ = C.GPBR_DRV_SPLIT_SEQ AND A.EMPLID = C.EMPLID AND A.EMPL_RCD = C.EMPL_RCD AND B.GPBR_STATUS = 'XRDY' AND C.PAYMENT_DT=A.PYMNT_DT GROUP BY A.GPBR_DRIVER_SEQ ,A.GPBR_DRV_SPLIT_SEQ ,A.PYMNT_DT ,C.GPBR_PAY_TP ,A.GPBR_IR_TYPE HAVING SUM(A.GPBR_RSLT_ERN_WAGE) > 0 |
# | 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 | PYMNT_DT | Date(10) | DATE | Date the payment should be sent to the bank for execution |
4 | GPBR_PAY_TP | Character(1) | VARCHAR2(1) NOT NULL |
Patyment TP
0=N/A 1=Payroll 2=Termination 3=Term Non Empl 7=Vacation |
5 | GPBR_PER_REF | Character(7) | VARCHAR2(7) NOT NULL | eSocial Reference Period |
6 | GPBR_IR_TYPE | Character(4) | VARCHAR2(4) NOT NULL | eSocial Income Tax Type |
7 | GPBR_IRRF_DEP_VAL | Number(17,2) | DECIMAL(16,2) NOT NULL | IRRF Value |