BUS_UNIT_PRJ_VW(SQL View) |
Index Back |
---|---|
PC BUs with ProjectsView of Project Business Units that have projects associated with them |
SELECT A.BUSINESS_UNIT ,B.DESCR ,B.DESCRSHORT FROM PS_BUS_UNIT_TBL_PC A ,PS_BUS_UNIT_TBL_FS B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.BUSINESS_UNIT IN ( SELECT BUSINESS_UNIT FROM PS_PROJECT P WHERE EFF_STATUS='A' AND EXISTS ( SELECT 1 FROM PS_PROJ_ACTIVITY ACT WHERE ACT.EFF_STATUS = 'A' AND ACT.BUSINESS_UNIT = P.BUSINESS_UNIT AND ACT.PROJECT_ID = P.PROJECT_ID)) |
# | 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_FS.BUSINESS_UNIT Prompt Table: SP_BU_PC_NONVW |
2 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
3 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |