PC_SCRTY_SRCH_L(SQL View) |
Index Back |
---|---|
Secured Project SearchLanguage view for PROJ_SCRTY_SRCH. |
SELECT CD.CLASSID OPRCLASS , PROJ.BUSINESS_UNIT , PROJ.PROJECT_ID , PROJLANG.LANGUAGE_CD , PROJLANG.DESCR , PROJ.PROJECT_TYPE , PROJ.SYSTEM_SOURCE , PROJ.TEMPLATE_ID , PROJ.TEMPLATE_SW FROM PS_PROJECT PROJ , PSCLASSDEFN CD , PS_INSTALLATION_FS INS , PS_PROJECT_LANG PROJLANG WHERE PROJ.BUSINESS_UNIT = PROJLANG.BUSINESS_UNIT AND PROJ.PROJECT_ID = PROJLANG.PROJECT_ID AND( INS.PROJECT_SECURITY = 'Y' AND INS.PROJ_SECURITY_TYPE = 'L' AND EXISTS ( SELECT 'X' FROM PS_SEC_PROJLST_CLS SPRC , PS_PROJ_ROLE PROL1 , PS_PC_SEC_PROFILE SECPRO1 , PS_SET_CNTRL_REC SCR1 WHERE SPRC.OPRCLASS = CD.CLASSID AND SPRC.BUSINESS_UNIT = PROJ.BUSINESS_UNIT AND SPRC.PROJECT_ID = PROJ.PROJECT_ID AND SCR1.SETCNTRLVALUE = PROJ.BUSINESS_UNIT AND SCR1.RECNAME = 'PROJ_ROLE' AND PROL1.SETID = SCR1.SETID AND PROL1.PROJ_ROLE = SPRC.PROJ_ROLE AND SECPRO1.SECURITY_PROFILE = PROL1.SECURITY_PROFILE AND SECPRO1.PROJ_ACCESS_CD <> 'N' )) OR (INS.PROJECT_SECURITY = 'Y' AND INS.PROJ_SECURITY_TYPE = 'T' AND EXISTS ( SELECT 'X' FROM PS_SEC_PROJ_CLS SPC1 , PSTREENODE TR1 WHERE SPC1.OPRCLASS = CD.CLASSID AND SPC1.TREE_BU = PROJ.BUSINESS_UNIT AND SPC1.TREE_EFFDT = ( SELECT MAX(TREE_EFFDT) FROM PS_SEC_PROJ_CLS SPC2 WHERE SPC2.TREE_BU = SPC1.TREE_BU AND SPC2.TREE_NAME = SPC1.TREE_NAME AND SPC2.TREE_EFFDT <= %CurrentDateIn ) AND TR1.SETCNTRLVALUE = SPC1.TREE_BU AND TR1.TREE_NAME = SPC1.TREE_NAME AND TR1.EFFDT = SPC1.TREE_EFFDT AND TR1.TREE_NODE = PROJ.PROJECT_ID AND EXISTS ( SELECT 'X' FROM PS_SEC_PROJ_CLS SPC3 , PSTREENODE TR2 , PS_PROJ_ROLE PROL2 , PS_PC_SEC_PROFILE SECPRO2 , PS_SET_CNTRL_REC SCR2 WHERE SPC3.OPRCLASS = SPC1.OPRCLASS AND SPC3.TREE_BU = SPC1.TREE_BU AND SPC3.TREE_NAME = SPC1.TREE_NAME AND SPC3.TREE_EFFDT = SPC1.TREE_EFFDT AND SCR2.SETCNTRLVALUE = SPC1.TREE_BU AND SCR2.RECNAME = 'PROJ_ROLE' AND PROL2.SETID = SCR2.SETID AND PROL2.PROJ_ROLE = SPC3.PROJ_ROLE AND SECPRO2.SECURITY_PROFILE = PROL2.SECURITY_PROFILE AND SECPRO2.PROJ_ACCESS_CD <> 'N' AND TR2.SETCNTRLVALUE = SPC3.TREE_BU AND TR2.TREE_NAME = SPC3.TREE_NAME AND TR2.EFFDT = SPC3.TREE_EFFDT AND TR2.TREE_NODE = SPC3.PROJECT_ID AND TR1.TREE_NODE_NUM BETWEEN TR2.TREE_NODE_NUM AND TR2.TREE_NODE_NUM_END AND NOT EXISTS ( SELECT 'X' FROM PS_SEC_PROJ_CLS SPC4 , PSTREENODE TR3 , PS_PROJ_ROLE PROL3 , PS_PC_SEC_PROFILE SECPRO3 , PS_SET_CNTRL_REC SCR3 WHERE SPC4.OPRCLASS = SPC1.OPRCLASS AND SPC4.TREE_BU = SPC1.TREE_BU AND SPC4.TREE_NAME = SPC1.TREE_NAME AND SPC4.TREE_EFFDT = SPC1.TREE_EFFDT AND SCR3.SETCNTRLVALUE = SPC1.TREE_BU AND SCR3.RECNAME = 'PROJ_ROLE' AND PROL3.SETID = SCR3.SETID AND PROL3.PROJ_ROLE = SPC4.PROJ_ROLE AND SECPRO3.SECURITY_PROFILE = PROL3.SECURITY_PROFILE AND SECPRO3.PROJ_ACCESS_CD = 'N' AND TR3.SETCNTRLVALUE = SPC4.TREE_BU AND TR3.TREE_NAME = SPC4.TREE_NAME AND TR3.EFFDT = SPC4.TREE_EFFDT AND TR3.TREE_NODE = SPC4.PROJECT_ID AND TR3.TREE_NODE_NUM >= TR2.TREE_NODE_NUM AND TR3.TREE_NODE_NUM_END <= TR2.TREE_NODE_NUM_END AND TR1.TREE_NODE_NUM BETWEEN TR3.TREE_NODE_NUM AND TR3.TREE_NODE_NUM_END )) )) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRCLASS | Character(30) | VARCHAR2(30) NOT NULL | Operator Class |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_PC_NONVW |
3 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | PROJECT_TYPE | Character(5) | VARCHAR2(5) NOT NULL |
Project Type
A=Activity G=Grant H=Phase P=Project S=Segment Prompt Table: PROJ_TYPE_TBL |
7 | SYSTEM_SOURCE | Character(3) | VARCHAR2(3) NOT NULL | Identifies the application or source system that generated a journal entry. Release 8.80 - 11/14/2002 - RVlasic - Removed GDM (JrnlGen - Deduction Management) from Translate Values. SUJ---Included a label as Product. Release 8.9 - 05/11/2005 - RVlasic - Added PRV (Variance Pricing) and PKK (KK Budget Journal) and deleted GLK for Project Costing per Brian Cohen. |
8 | TEMPLATE_ID | Character(30) | VARCHAR2(30) NOT NULL |
Project Template
Prompt Table: PROJECT_TMPL_VW |
9 | TEMPLATE_SW | Character(1) | VARCHAR2(1) NOT NULL |
Allows the user to indicate whether a given bank transfer transaction should be designated as a
Y/N Table Edit |