CA_PCCONSRH_LVW

(SQL View)
Index Back

Project Activity Lang view

Project Activity Search Language view

SELECT PROJ.BUSINESS_UNIT , PROJ.PROJECT_ID , PROJ.LANGUAGE_CD , ACT.ACTIVITY_ID , PROJ.DESCR , ACT.DESCR FROM PS_PROJ_ACTIVITY P , PS_PROJECT_LANG PROJ , PS_PROJ_ACTIVTY_LG ACT WHERE P.BUSINESS_UNIT = ACT.BUSINESS_UNIT AND P.BUSINESS_UNIT = PROJ.BUSINESS_UNIT AND P.PROJECT_ID = ACT.PROJECT_ID AND P.PROJECT_ID = PROJ.PROJECT_ID AND P.ACTIVITY_ID = ACT.ACTIVITY_ID AND PROJ.LANGUAGE_CD = ACT.LANGUAGE_CD UNION SELECT PROJ1.BUSINESS_UNIT , PROJ1.PROJECT_ID , PROJ1.LANGUAGE_CD , ACT1.ACTIVITY_ID , PROJ1.DESCR , ACT1.DESCR FROM PS_PROJECT_LANG PROJ1 , PS_PROJ_ACTIVITY ACT1 WHERE PROJ1.BUSINESS_UNIT = ACT1.BUSINESS_UNIT AND PROJ1.PROJECT_ID = ACT1.PROJECT_ID AND NOT EXISTS ( SELECT 'X' FROM PS_PROJ_ACTIVTY_LG A WHERE A.BUSINESS_UNIT = ACT1.BUSINESS_UNIT AND A.PROJECT_ID = ACT1.PROJECT_ID AND A.ACTIVITY_ID = ACT1.ACTIVITY_ID AND A.LANGUAGE_CD = PROJ1.LANGUAGE_CD ) UNION SELECT PROJ2.BUSINESS_UNIT , PROJ2.PROJECT_ID , ACT2.LANGUAGE_CD , ACT2.ACTIVITY_ID , PROJ2.DESCR , ACT2.DESCR FROM PS_PROJECT PROJ2 , PS_PROJ_ACTIVTY_LG ACT2 WHERE PROJ2.BUSINESS_UNIT = ACT2.BUSINESS_UNIT AND PROJ2.PROJECT_ID = ACT2.PROJECT_ID AND NOT EXISTS ( SELECT 'X' FROM PS_PROJECT_LANG A WHERE A.BUSINESS_UNIT = PROJ2.BUSINESS_UNIT AND A.PROJECT_ID = PROJ2.PROJECT_ID AND A.LANGUAGE_CD = ACT2.LANGUAGE_CD )

  • Related Language Record for CA_PCCONSRCH_VW
  • # 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

    Prompt Table: PC_PROJ_ALL

    3 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID

    Prompt Table: PC_PROJ_ACT

    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 DESCR1 Character(30) VARCHAR2(30) NOT NULL Project Description
    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description