SPA_TM_IN_DTL_V(SQL View) |
Index Back |
---|---|
Timesheet incident detailsTimesheet incident details |
SELECT A.BUSINESS_UNIT , A.TIME_SHEET_ID , A.WORK_ORDER_ID , A.LINE_NBR , A.ASSIGNMENT_ID , B.DESCR60 , A.NUM_OF_INCIDENTS FROM PS_SPA_TIM_INCIDNT A , PS_SPB_ASSIGNMENT B , PS_SET_CNTRL_GROUP S WHERE A.ASSIGNMENT_ID = B.ASSIGNMENT_ID AND A.BUSINESS_UNIT = S.SETCNTRLVALUE AND S.SETID = B.SETID AND S.REC_GROUP_ID = 'SP_14' AND %EffdtCheck(SPB_ASSIGNMENT B1, B, %CurrentDateIn) |
# | 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 | WORK_ORDER_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Order ID |
4 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
5 | ASSIGNMENT_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Assignment ID |
6 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |
7 | NUM_OF_INCIDENTS | Number(16,0) | DECIMAL(16) NOT NULL | Number of incidents |