HGA_PGPE_DTL_VW(SQL View) |
Index Back |
---|---|
Pay Grp and Pay Ent DetailsPay Group and Pay Entity Details view used by AM Pivots. |
SELECT PG.GP_PAYGROUP , PG.PAY_ENTITY , PE.COUNTRY , %Coalesce(PG1.START_MTH_FSCL, PE.START_MTH_FSCL) , %Coalesce(PG1.START_DAY_FSCL, PE.START_DAY_FSCL) , PE.START_MTH_CAL , PE.START_DAY_CAL , %Coalesce(PG1.START_MTH_FSCL, PE.START_MTH_FSCL) %Concat %Sql(FUNCLIB_HR_NBR_PAD, %Sql(FUNCLIB_HR_CONVERT_TO_STRING, %Coalesce(PG1.START_DAY_FSCL, PE.START_DAY_FSCL) ,2), 2, '0') ,PE.START_MTH_CAL %Concat %Sql(FUNCLIB_HR_NBR_PAD, %Sql(FUNCLIB_HR_CONVERT_TO_STRING, PE.START_DAY_CAL, 2), 2, '0') FROM PS_GP_PYGRP PG LEFT OUTER JOIN PS_GP_PYGRP PG1 ON PG1.GP_PAYGROUP = PG.GP_PAYGROUP AND PG1.START_DT_OPTN_FSCL <> 'PE' , PS_GP_PYENT PE WHERE PG.PAY_ENTITY = PE.PAY_ENTITY |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | GP_PAYGROUP | Character(10) | VARCHAR2(10) NOT NULL | Global Payroll pay group |
2 | PAY_ENTITY | Character(10) | VARCHAR2(10) NOT NULL | Pay Entity |
3 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
4 | START_MTH_FSCL | Character(2) | VARCHAR2(2) NOT NULL |
Fiscal start month
01=January 02=February 03=March 04=April 05=May 06=June 07=July 08=August 09=September 10=October 11=November 12=December |
5 | START_DAY_FSCL | Number(2,0) | SMALLINT NOT NULL | fiscal yearly start day |
6 | START_MTH_CAL | Character(2) | VARCHAR2(2) NOT NULL |
Calendar Yearly Start Month
01=January 02=February 03=March 04=April 05=May 06=June 07=July 08=August 09=September 10=October 11=November 12=December |
7 | START_DAY_CAL | Number(2,0) | SMALLINT NOT NULL | Calendar Yearly Start Day |
8 | TEXT1 | Character(15) | VARCHAR2(15) NOT NULL | To hold a text string |
9 | TEXT2 | Character(15) | VARCHAR2(15) NOT NULL | To hold a text string |