GP_MPSLP_ED_VW

(SQL View)
Index Back

Mobile Epay

Mobile Epay

SELECT A.EMPLID , A.CAL_RUN_ID , A.EMPL_RCD , A.GP_PSLP_SRCPRODUCT , A.GP_PSLP_ID , A.PIN_NUM , A.PIN_ELEM_GRP_NUM , CASE WHEN A.GP_MPSLP_PIN_DESCR = ' ' THEN b.descr ELSE A.GP_MPSLP_PIN_DESCR END , CASE WHEN A.GP_MPSLP_PIN_DESCR = ' ' THEN b.descr ELSE A.GP_MPSLP_PIN_DESCR END , B.PIN_TYPE , A.CALC_RSLT_VAL , A.CALC_RSLT_VAL , A.BASE_RSLT_VAL , A.RATE_RSLT_VAL , A.UNIT_RSLT_VAL , A.PCT_RSLT_VAL , A.CALC_DELTA_VAL , A.INSTANCE , A.SLICE_BGN_DT , A.SLICE_END_DT , A.SEG_BGN_DT , A.SEG_END_DT , A.PYMT_DT ,A.USER_FLD1 ,A.USER_FLD2 ,A.USER_FLD3 ,A.USER_FLD4 ,A.USER_FLD5 ,A.USER_FLD6 ,C.CURRENCY_CD ,A.GP_MPSLP_SECTION ,A.GP_MPSLP_SPRNT_ORD ,A.GP_MPSLP_SUBSECTN ,A.GP_MPSLP_PRNT_ORD ,A.GP_MPSLP_PIN_DESCR ,A.GP_MPSLP_DISP_ZERO ,A.GP_MPSLP_RET_ADJ ,A.GP_MPSLP_SUM_INST ,A.GP_MPSLP_ADD_TOTAL ,A.GP_MPSLP_DISP_PYSL FROM PS_GP_MPSLP_STGED A , PS_GP_PIN B , PS_GP_CAL_RUN_DTL C WHERE A.PIN_NUM = B.PIN_NUM AND A.GP_MPSLP_SECTION ='10' AND A.CAL_RUN_ID=C.CAL_RUN_ID AND C.CALC_TYPE='P' UNION SELECT A.EMPLID , A.CAL_RUN_ID , A.EMPL_RCD , A.GP_PSLP_SRCPRODUCT , A.GP_PSLP_ID , A.PIN_NUM , A.PIN_ELEM_GRP_NUM , CASE WHEN A.GP_MPSLP_PIN_DESCR = ' ' THEN b.descr ELSE A.GP_MPSLP_PIN_DESCR END , CASE WHEN A.GP_MPSLP_PIN_DESCR = ' ' THEN b.descr ELSE A.GP_MPSLP_PIN_DESCR END , B.PIN_TYPE , A.CALC_RSLT_VAL , A.CALC_RSLT_VAL , A.BASE_RSLT_VAL , A.RATE_RSLT_VAL , A.UNIT_RSLT_VAL , A.PCT_RSLT_VAL , A.CALC_DELTA_VAL , A.INSTANCE , A.SLICE_BGN_DT , A.SLICE_END_DT , A.SEG_BGN_DT , A.SEG_END_DT , A.PYMT_DT ,A.USER_FLD1 ,A.USER_FLD2 ,A.USER_FLD3 ,A.USER_FLD4 ,A.USER_FLD5 ,A.USER_FLD6 ,E.CURRENCY_CD ,A.GP_MPSLP_SECTION ,A.GP_MPSLP_SPRNT_ORD ,A.GP_MPSLP_SUBSECTN ,A.GP_MPSLP_PRNT_ORD ,A.GP_MPSLP_PIN_DESCR ,A.GP_MPSLP_DISP_ZERO ,A.GP_MPSLP_RET_ADJ ,A.GP_MPSLP_SUM_INST ,A.GP_MPSLP_ADD_TOTAL ,A.GP_MPSLP_DISP_PYSL FROM PS_GP_MPSLP_STGED A , PS_GP_PIN B , PS_GP_CAL_RUN_off C ,PS_GP_PYGRP D ,PS_GP_PYENT_DTL E WHERE A.PIN_NUM = B.PIN_NUM AND A.GP_MPSLP_SECTION ='10' AND A.CAL_RUN_ID=C.CAL_RUN_ID AND D.GP_PAYGROUP=C.GP_PAYGROUP AND D.PAY_ENTITY=E.PAY_ENTITY AND E.EFF_STATUS='A' AND E.EFFDT=( SELECT MAX(CH.EFFDT) FROM PS_GP_PYENT_DTL CH WHERE CH.PAY_ENTITY=E.PAY_ENTITY AND CH.EFF_STATUS=E.EFF_STATUS AND CH.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 CAL_RUN_ID Character(18) VARCHAR2(18) NOT NULL Calendar Run Id
3 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
4 GP_PSLP_SRCPRODUCT Character(6) VARCHAR2(6) NOT NULL Name of product providing payslips to ePay Payslip process.
5 GP_PSLP_ID Character(40) VARCHAR2(40) NOT NULL Payslip Identifier
6 PIN_NUM Number(8,0) INTEGER NOT NULL PIN Number
7 PIN_ELEM_GRP_NUM Number(8,0) INTEGER NOT NULL PIN Number for Element Group
8 DESCR Character(30) VARCHAR2(30) NOT NULL Description
9 DESCR1 Character(30) VARCHAR2(30) NOT NULL Descr
10 PIN_TYPE Character(2) VARCHAR2(2) NOT NULL Element Type
11 CALC_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Calculation Numeric Result
12 CALC_RSLT2_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Mobile Epay
13 BASE_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Calculated Base Value
14 RATE_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
15 UNIT_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Number of units used in result calculation
16 PCT_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Percent Result Value
17 CALC_DELTA_VAL2 Signed Number(20,6) DECIMAL(18,6) NOT NULL Mobile Epay
18 INSTANCE Number(3,0) SMALLINT NOT NULL Instance Number
19 SLICE_BGN_DT Date(10) DATE Element Slice Begin Date
20 SLICE_END_DT Date(10) DATE Element Slice End Date
21 SEG_BGN_DT Date(10) DATE Payee Process Segment's Begin Date
22 SEG_END_DT Date(10) DATE Payee Process Segment's End Date
23 PYMT_DT Date(10) DATE Payment Date
24 USER_FLD1 Character(25) VARCHAR2(25) NOT NULL User Field 1
25 USER_FLD2 Character(25) VARCHAR2(25) NOT NULL User Field 2
26 USER_FLD3 Character(25) VARCHAR2(25) NOT NULL User Field 3
27 USER_FLD4 Character(25) VARCHAR2(25) NOT NULL User Field 4
28 USER_FLD5 Character(25) VARCHAR2(25) NOT NULL User FIeld 5
29 USER_FLD6 Character(25) VARCHAR2(25) NOT NULL User Field 6
30 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
31 GP_MPSLP_SECTION Character(30) VARCHAR2(30) NOT NULL Mobile Epay
32 GP_MPSLP_SPRNT_ORD Number(3,0) SMALLINT NOT NULL Mobile Epay
33 GP_MPSLP_SUBSECTN Character(30) VARCHAR2(30) NOT NULL Mobile Epay
34 GP_MPSLP_PRNT_ORD Number(3,0) SMALLINT NOT NULL Mobile Epay
35 GP_MPSLP_PIN_DESCR Character(30) VARCHAR2(30) NOT NULL Mobile Epay
36 GP_MPSLP_DISP_ZERO Character(4) VARCHAR2(4) NOT NULL Display Zero

Default Value: N

37 GP_MPSLP_RET_ADJ Character(4) VARCHAR2(4) NOT NULL Retro Adjustment

Default Value: Y

38 GP_MPSLP_SUM_INST Character(4) VARCHAR2(4) NOT NULL Sum Instances

Default Value: N

39 GP_MPSLP_ADD_TOTAL Character(4) VARCHAR2(4) NOT NULL Add to Totals

Default Value: Y

40 GP_MPSLP_DISP_PYSL Character(4) VARCHAR2(4) NOT NULL Display in Payslip

Default Value: Y