GPTH_WCF_TRO_VW(SQL View) |
Index Back |
---|---|
For WCF reportRetro salary amount for WCF report. |
SELECT A.PYMT_DT ,A.EMPLID ,NAME_PREFIX ,GPTH_NAME1 ,FIRST_NAME ,MIDDLE_NAME ,LAST_NAME ,PROCESS_INSTANCE ,COMPANY ,GPTH_SI_BRANCH_AP ,GPTH_SI_ER_ACCT ,DESCR ,GPTH_SI_BUS_CODE ,GPTH_SI_EE_PER ,'RETRO SALARY' AS PIN_CUSTOM1 ,COMP_FREQUENCY ,SUM(B.CALC_DELTA_VAL) AS CALC_RSLT_VAL FROM PS_GPTH_WCF_PRE_VW A , PS_GP_RSLT_DELTA B WHERE B.EMPLID=A.EMPLID AND A.EMPL_RCD=B.EMPL_RCD AND A.GP_PAYGROUP=B.GP_PAYGROUP AND A.CAL_ID=B.CAL_ID AND B.PIN_NUM=200001 AND A.COMP_FREQUENCY='M' AND A.PIN_CUSTOM1='SAL BAS EARN' GROUP BY PROCESS_INSTANCE ,COMPANY ,GPTH_SI_BRANCH_AP ,A.PYMT_DT ,A.EMPLID ,NAME_PREFIX ,GPTH_NAME1 ,FIRST_NAME ,MIDDLE_NAME ,LAST_NAME ,PIN_CUSTOM1 ,COMP_FREQUENCY ,GPTH_SI_ER_ACCT ,DESCR ,GPTH_SI_BUS_CODE ,GPTH_SI_EE_PER |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PYMT_DT | Date(10) | DATE | Payment Date |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | NAME_PREFIX | Character(4) | VARCHAR2(4) NOT NULL | Name Prefix |
4 | GPTH_NAME1 | Character(80) | VARCHAR2(80) NOT NULL | Tax-Payee's First Name |
5 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
6 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | MIDDLE_NAME |
7 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
8 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
9 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
10 | GPTH_SI_BRANCH_AP | Character(40) | VARCHAR2(40) NOT NULL | This field will be used to store social security area/province information. |
11 | GPTH_SI_ER_ACCT | Character(10) | VARCHAR2(10) NOT NULL | GPTH_SI_ER_ACCT |
12 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
13 | GPTH_SI_BUS_CODE | Character(10) | VARCHAR2(10) NOT NULL | This field will be used to store total business type code information. |
14 | GPTH_SI_EE_PER | Number(5,2) | DECIMAL(4,2) NOT NULL | Employee Contribution Rate |
15 | PIN_CUSTOM1 | Character(20) | VARCHAR2(20) NOT NULL | Customer FIelds |
16 | COMP_FREQUENCY | Character(5) | VARCHAR2(5) NOT NULL |
Compensation Frequency
A=Annual B=Biweekly C=Contract D=Daily H=Hourly M=Monthly S=Semimonthly W=Weekly Prompt Table: COMP_FREQ_VW |
17 | CALC_RSLT_VAL | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | Calculation Numeric Result |