PC_COSTACT_LG(SQL View) |
Index Back |
---|---|
Costing Activity Language VwLanguage view for PC_COSTACT_SRCH. |
SELECT A.BUSINESS_UNIT , A.PROJECT_ID , A.ROW_NUMBER_5 , A.ACTIVITY_ID , L.LANGUAGE_CD , B.DESCR AS DESCR1 , L.DESCR FROM PS_PROJ_ACTIVITY A , PS_PROJ_ACTIVTY_LG L ,PS_PROJECT_LANG B WHERE A.BUSINESS_UNIT = L.BUSINESS_UNIT AND A.PROJECT_ID = L.PROJECT_ID AND A.ACTIVITY_ID = L.ACTIVITY_ID AND L.BUSINESS_UNIT = B.BUSINESS_UNIT AND L.PROJECT_ID = B.PROJECT_ID AND L.LANGUAGE_CD = B.LANGUAGE_CD AND A.EFF_STATUS <> 'T' AND A.COSTING_ACT_SW = 'Y' UNION SELECT C.BUSINESS_UNIT , C.PROJECT_ID , C.ROW_NUMBER_5 , C.ACTIVITY_ID , D.LANGUAGE_CD , D.DESCR AS DESCR1 , C.DESCR FROM PS_PROJ_ACTIVITY C ,PS_PROJECT_LANG D WHERE C.BUSINESS_UNIT = D.BUSINESS_UNIT AND C.PROJECT_ID = D.PROJECT_ID AND C.EFF_STATUS <> 'T' AND C.COSTING_ACT_SW = 'Y' AND NOT EXISTS ( SELECT 'X' FROM PS_PROJ_ACTIVTY_LG E WHERE E.BUSINESS_UNIT = D.BUSINESS_UNIT AND E.PROJECT_ID = D.PROJECT_ID AND E.LANGUAGE_CD = D.LANGUAGE_CD) UNION SELECT F.BUSINESS_UNIT , F.PROJECT_ID , F.ROW_NUMBER_5 , F.ACTIVITY_ID , G.LANGUAGE_CD , H.DESCR AS DESCR1 , G.DESCR FROM PS_PROJ_ACTIVITY F ,PS_PROJ_ACTIVTY_LG G ,PS_PROJECT H WHERE F.BUSINESS_UNIT = G.BUSINESS_UNIT AND F.PROJECT_ID = G.PROJECT_ID AND F.ACTIVITY_ID = G.ACTIVITY_ID AND F.BUSINESS_UNIT = H.BUSINESS_UNIT AND F.PROJECT_ID = H.PROJECT_ID AND F.EFF_STATUS <> 'T' AND F.COSTING_ACT_SW = 'Y' AND NOT EXISTS ( SELECT 'X' FROM PS_PROJECT_LANG I WHERE I.BUSINESS_UNIT = G.BUSINESS_UNIT AND I.PROJECT_ID = G.PROJECT_ID AND I.LANGUAGE_CD = G.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: PROJECT_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: PROJ_ACT_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 |