CA_ACT_SRCH_VW(SQL View) |
Index Back |
---|
SELECT CD.CONTRACT_NUM , CD.CONTRACT_LINE_NUM , PA.BUSINESS_UNIT , PA.PROJECT_ID , PA.ROW_NUMBER_5 , PA.WBS_ID , PA.ACTIVITY_ID , PA.DESCR , PA.EFF_STATUS FROM PS_CA_DETAIL CD , PS_PROJ_ACTIVITY PA WHERE PA.ACTIVITY_ID NOT IN ( SELECT CDP.ACTIVITY_ID FROM PS_CA_DETAIL CD2 , PS_CA_DETAIL_PROJ CDP WHERE CD2.CONTRACT_NUM = CDP.CONTRACT_NUM AND CD2.CONTRACT_LINE_NUM = CDP.CONTRACT_LINE_NUM AND CD2.PRICING_STRUCTURE = 'RATE' AND (CDP.CONTRACT_NUM <> CD.CONTRACT_NUM OR CDP.CONTRACT_LINE_NUM <> CD.CONTRACT_LINE_NUM) AND CDP.BUSINESS_UNIT_PC = PA.BUSINESS_UNIT AND CDP.PROJECT_ID = PA.PROJECT_ID AND CDP.ACTIVITY_ID = PA.ACTIVITY_ID ) AND PA.ACTIVITY_ID NOT IN ( SELECT PPR.ACTIVITY_ID FROM PS_PC_PRICE_RATES PPR WHERE PPR.BUSINESS_UNIT = PA.BUSINESS_UNIT AND PPR.PROJECT_ID = PA.PROJECT_ID AND PPR.RATE_SELECT = '1' AND PPR.ACTIVITY_ID = PA.ACTIVITY_ID ) AND PA.COSTING_ACT_SW = 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract |
2 | CONTRACT_LINE_NUM | Number(3,0) | SMALLINT NOT NULL | Contract Line Num |
3 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL | PC Business Unit |
4 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
5 | ROW_NUMBER_5 | Number(5,0) | INTEGER NOT NULL | Row Number |
6 | WBS_ID | Character(100) | VARCHAR2(100) NOT NULL | WBS ID |
7 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity ID |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
9 | STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Status Indicator
A=Active I=Inactive |