SPA_TRC_SUM_VW2(SQL View) |
Index Back |
---|
SELECT W.BUSINESS_UNIT ,W.TIME_SHEET_ID ,W.TRC ,T.DESCR ,SUM(W.SP_TIME_QTY) ,SUM(W.TIME_AMOUNT) ,W.CURRENCY_CD FROM PS_SPA_TM_DTL_HRLY W , PS_SPA_TL_TRC_VW T WHERE W.TRC = T.TRC AND %EffdtCheck(SPA_TL_TRC_VW T_S, T, %CurrentDateIn) GROUP BY W.BUSINESS_UNIT ,W.TIME_SHEET_ID ,W.TRC ,T.DESCR ,W.CURRENCY_CD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | TIME_SHEET_ID | Character(10) | VARCHAR2(10) NOT NULL | Time Sheet Unique Identifier (System Generated) |
3 | TRC | Character(5) | VARCHAR2(5) NOT NULL | Time Reporting Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | SP_TIME_QTY | Signed Number(18,4) | DECIMAL(16,4) NOT NULL | Time Quantity |
6 | TIME_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Time Amount |
7 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |