PC_ACT_ACTIV_LG(SQL View) |
Index Back |
---|---|
Active Activity Language viewLanguage view for PROJ_ACT_ACTIVE |
SELECT A.BUSINESS_UNIT , A.PROJECT_ID , A.ROW_NUMBER_5 , A.ACTIVITY_ID ,B.LANGUAGE_CD , D.DESCR , B.DESCR FROM PS_PROJ_ACTIVITY A ,PS_PROJ_ACTIVTY_LG B , PS_PROJECT C , PS_PROJECT_LANG D WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROJECT_ID = B.PROJECT_ID AND A.ACTIVITY_ID = B.ACTIVITY_ID AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.PROJECT_ID = C.PROJECT_ID AND C.BUSINESS_UNIT = D.BUSINESS_UNIT AND C.PROJECT_ID = D.PROJECT_ID AND B.LANGUAGE_CD = D.LANGUAGE_CD AND A.EFF_STATUS = 'A' AND C.EFF_STATUS = 'A' AND A.COSTING_ACT_SW = 'Y' UNION SELECT E.BUSINESS_UNIT , E.PROJECT_ID , E.ROW_NUMBER_5 , E.ACTIVITY_ID ,G.LANGUAGE_CD , G.DESCR , E.DESCR FROM PS_PROJ_ACTIVITY E , PS_PROJECT F , PS_PROJECT_LANG G WHERE E.BUSINESS_UNIT = F.BUSINESS_UNIT AND E.PROJECT_ID = F.PROJECT_ID AND F.BUSINESS_UNIT = G.BUSINESS_UNIT AND F.PROJECT_ID = G.PROJECT_ID AND E.EFF_STATUS = 'A' AND F.EFF_STATUS = 'A' AND E.COSTING_ACT_SW = 'Y' AND NOT EXISTS ( SELECT 'X' FROM PS_PROJ_ACTIVTY_LG H WHERE H.BUSINESS_UNIT = G.BUSINESS_UNIT AND H.PROJECT_ID = G.PROJECT_ID AND H.LANGUAGE_CD = G.LANGUAGE_CD) UNION SELECT H.BUSINESS_UNIT , H.PROJECT_ID , H.ROW_NUMBER_5 , H.ACTIVITY_ID ,I.LANGUAGE_CD , J.DESCR , I.DESCR FROM PS_PROJ_ACTIVITY H , PS_PROJ_ACTIVTY_LG I , PS_PROJECT J WHERE H.BUSINESS_UNIT = I.BUSINESS_UNIT AND H.PROJECT_ID = I.PROJECT_ID AND H.ACTIVITY_ID = I.ACTIVITY_ID AND H.BUSINESS_UNIT = J.BUSINESS_UNIT AND H.PROJECT_ID = J.PROJECT_ID AND H.EFF_STATUS = 'A' AND J.EFF_STATUS = 'A' AND H.COSTING_ACT_SW = 'Y' AND NOT EXISTS ( SELECT 'X' FROM PS_PROJECT_LANG K WHERE K.BUSINESS_UNIT = I.BUSINESS_UNIT AND K.PROJECT_ID = I.PROJECT_ID AND K.LANGUAGE_CD = I.LANGUAGE_CD) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_PC.BUSINESS_UNIT Prompt Table: SP_BU_PC_NONVW |
2 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Default Value: OPR_DEF_TBL_PC.PROJECT_ID Prompt Table: PROJ_TRANS_VW |
3 | ROW_NUMBER_5 | Number(5,0) | INTEGER NOT NULL | Row Number |
4 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Activity ID
Prompt Table: PC_ACT_TRAN_VW |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR1 | Character(30) | VARCHAR2(30) NOT NULL | Project Description |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |