SPA_PL_ACTR_VW(SQL View) |
Index Back |
---|---|
Rate Based ActivitiesThis view fetches the Rate Based Activities for a given BU, Work Order |
SELECT DISTINCT A.BUSINESS_UNIT , A.WORK_ORDER_ID , A.ACTIVITY_ID , B.DESCR FROM PS_SPF_WO_RATE_ACT A , PS_FS_ACTIVITY_TBL B , PS_SET_CNTRL_GROUP S , PS_SET_CNTRL_GROUP D , PS_SET_CNTRL_GROUP ST WHERE ST.SETCNTRLVALUE = A.BUSINESS_UNIT AND ST.REC_GROUP_ID = 'SP_04' AND S.SETCNTRLVALUE = ST.SETID AND S.REC_GROUP_ID = 'PC_18' AND D.SETCNTRLVALUE = S.SETID AND D.REC_GROUP_ID = 'FS_43' AND D.SETID = B.SETID AND A.ACTIVITY_ID = B.ACTIVITY_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | WORK_ORDER_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Order ID |
3 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity ID |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |