SPA_TIME_SUM_NB

(SQL View)
Index Back

SELECT H.BUSINESS_UNIT , H.TIME_SHEET_ID , 'NOBIL' , 'Non Billable' , %Round(SUM(H.SP_TIME_QTY), 2) FROM PS_SPA_TIM_DTL_DLY H , PS_SPA_TIME_DTL D WHERE D.SPA_BILLING_ACTION = 'U' AND D.BUSINESS_UNIT = H.BUSINESS_UNIT AND D.TIME_SHEET_ID = H.TIME_SHEET_ID AND D.LINE_NBR = H.LINE_NBR AND D.WORK_ORDER_ID = H.WORK_ORDER_ID GROUP BY H.BUSINESS_UNIT , H.TIME_SHEET_ID

# 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 TIME_QUANTITY Signed Number(16,2) DECIMAL(14,2) NOT NULL Time Quantity