GVT_PYLM_SUM_VW(SQL View) |
Index Back |
---|---|
EE Pay Limit Balance ViewView showing summary of MTD, QTD, YTD and lifetime pay limit balances for an employee by company and calendar year for all empl record numbers. |
SELECT EMPLID ,COMPANY ,BALANCE_ID ,BALANCE_YEAR ,EMPL_RCD ,BALANCE_QTR ,BALANCE_PERIOD ,ERNCD , SUM(GVT_LT_BAL) , SUM(GRS_YTD) , SUM(GRS_QTD) , SUM(GRS_MTD) FROM PS_GVT_PAY_LIM_BAL GROUP BY EMPLID ,COMPANY ,BALANCE_ID ,BALANCE_YEAR ,EMPL_RCD ,BALANCE_QTR ,BALANCE_PERIOD ,ERNCD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
2 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL |
Company
Prompt Table: COMPANY_TBL |
3 | BALANCE_ID | Character(2) | VARCHAR2(2) NOT NULL |
Balance ID
Prompt Table: BALANCE_ID_TBL |
4 | BALANCE_YEAR | Number(4,0) | SMALLINT NOT NULL |
Balances for Year
Prompt Table: BALANCE_YR_VW |
5 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
6 | BALANCE_QTR | Number(3,0) | SMALLINT NOT NULL |
Balances for Quarter
Prompt Table: BALANCE_ID_QTR |
7 | BALANCE_PERIOD | Number(3,0) | SMALLINT NOT NULL |
Balances for Period
Prompt Table: BALANCE_ID_DEF |
8 | ERNCD | Character(3) | VARCHAR2(3) NOT NULL |
Earnings Code
Prompt Table: EARNINGS_TBL |
9 | GVT_LT_BAL | Signed Number(15,2) | DECIMAL(13,2) NOT NULL | Life time balance. |
10 | GRS_YTD | Signed Number(15,2) | DECIMAL(13,2) NOT NULL | Gross Earnings YTD |
11 | GRS_QTD | Signed Number(15,2) | DECIMAL(13,2) NOT NULL | Gross Earnings QTD |
12 | GRS_MTD | Signed Number(15,2) | DECIMAL(13,2) NOT NULL | Gross Earnings MTD |