SPA_INCDN_SUM_V(SQL View) |
Index Back |
---|---|
Time incident summary viewTime incident summary view |
SELECT I.BUSINESS_UNIT , I.TIME_SHEET_ID , I.ASSIGNMENT_ID , A.DESCR60 , SUM(I.NUM_OF_INCIDENTS) FROM PS_SPA_TIM_INCIDNT I , PS_SPB_ASSIGNMENT A , PS_SET_CNTRL_GROUP G WHERE A.ASSIGNMENT_ID = I.ASSIGNMENT_ID AND I.NUM_OF_INCIDENTS <> 0 AND G.REC_GROUP_ID = 'FS_14' AND G.SETCNTRLVALUE = I.BUSINESS_UNIT AND G.SETID = A.SETID AND %EffdtCheck(SPB_ASSIGNMENT A1, A, %CurrentDateIn) GROUP BY I.BUSINESS_UNIT , I.TIME_SHEET_ID , I.ASSIGNMENT_ID , A.DESCR60 |
# | 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 | ASSIGNMENT_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Assignment ID |
4 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |
5 | NUM_OF_INCIDENTS | Number(16,0) | DECIMAL(16) NOT NULL | Number of incidents |