GP_CATGRYID_VW(SQL View) |
Index Back |
---|---|
Category ID ViewCategory ID View |
SELECT c.emplid , c.empl_rcd , c.prd_bgn_dt , c.prd_end_dt , c.pymt_dt , a.gp_catgry_type , CASE WHEN a.gp_catgry_type = 'EAR' THEN 'Earnings' WHEN a.gp_catgry_type = 'DED' THEN 'Deductions' WHEN a.gp_catgry_type = 'ACM' THEN 'Acumulators' END AS ele , a.gp_category_id , d.descr , a.country , a.gp_element_type , b.pin_nm , CASE WHEN a.descr = ' ' THEN b.descr ELSE a.descr END AS description , c.cal_run_id , c.gp_paygroup , c.run_type , c.calc_rslt_val , c.unit_rslt_val , c.user_fld1 , c.user_fld2 , E.JOBCODE_DESCR FROM ps_gp_cat_code_tbl a , ps_gp_pin b , ps_gp_mpslp_stged c , PS_GP_CTGYSEL_TBL d , PS_JOB_CURR_VW1 E WHERE a.pin_num = b.pin_num AND c.pin_num = a.pin_num AND a.gp_catgry_type = d.gp_catgry_type AND a.gp_category_id = d.gp_category_id AND a.country = d.country AND E.EMPLID=C.EMPLID AND E.EMPL_RCD=C.EMPL_RCD AND c.calc_rslt_Val > 0 AND d.gp_catid_status='A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
3 | PRD_BGN_DT | Date(10) | DATE | Period Begin Date |
4 | PRD_END_DT | Date(10) | DATE | Pay Period End Date |
5 | PYMT_DT | Date(10) | DATE | Payment Date |
6 | GP_CATGRY_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Category type for Chatbot category setup
ACC=Accumulator DED=Deductions EAR=Earnings |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
8 | GP_CATEGORY_ID | Character(3) | VARCHAR2(3) NOT NULL | Category ID for Chatbot category setup |
9 | DESCR1 | Character(30) | VARCHAR2(30) NOT NULL | Descr |
10 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
11 | GP_ELEMENT_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Element Type
AC=Accumulator DD=Deductions ER=Earnings |
12 | PIN_NM | Character(18) | VARCHAR2(18) NOT NULL | Element Name field |
13 | DESCR2 | Character(30) | VARCHAR2(30) NOT NULL | Descr2 |
14 | CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Calendar Run Id |
15 | GP_PAYGROUP | Character(10) | VARCHAR2(10) NOT NULL | Global Payroll pay group |
16 | RUN_TYPE | Character(10) | VARCHAR2(10) NOT NULL | Run Type Name |
17 | CALC_RSLT_VAL | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | Calculation Numeric Result |
18 | UNIT_RSLT_VAL | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | Number of units used in result calculation |
19 | USER_FLD1 | Character(25) | VARCHAR2(25) NOT NULL | User Field 1 |
20 | USER_FLD2 | Character(25) | VARCHAR2(25) NOT NULL | User Field 2 |
21 | JOBTITLE | Character(30) | VARCHAR2(30) NOT NULL | Job Title |