EX_BUGLTVW_LANG(SQL View) |
Index Back |
---|---|
Operational Projects Team ViewThe view provides an easy way to use on-line prompt for the project table. If a Project enforces that only team members can charge to that Project, this prompt shows only the Projects that this user is a team member of. This prompt also shows the Projects that are not setup to enforce team-member only validation. This view is used only by Expenses for description prompting |
SELECT C.EMPLID , B.BUSINESS_UNIT_GL , A.BUSINESS_UNIT , A.PROJECT_ID , L.LANGUAGE_CD , L.DESCR FROM PS_PROJECT A , PS_PC_INT_TMPL_GL B , PS_PERSONAL_DATA C , PS_PROJECT_LANG L WHERE A.EFF_STATUS = 'A' AND A.SUMMARY_PRJ = 'N' AND A.INTEGRATION_TMPL = B.INTEGRATION_TMPL AND EXISTS ( SELECT 'X' FROM PS_SET_CNTRL_REC WHERE RECNAME = 'PC_INT_TMPL_GL' AND SETCNTRLVALUE = A.BUSINESS_UNIT AND B.SETID = SETID) AND (A.ENFORCE IN ('N', 'T') OR (A.ENFORCE_TYPE IN ('B', 'P') AND EXISTS ( SELECT 'X' FROM PS_PROJECT_TEAM PT WHERE A.BUSINESS_UNIT = PT.BUSINESS_UNIT AND A.PROJECT_ID = PT.PROJECT_ID AND PT.TEAM_MEMBER_CLASS = 'L' AND PT.TEAM_MEMBER_IND = 'E' AND C.EMPLID = PT.TEAM_MEMBER)) OR (A.ENFORCE_TYPE IN ('R', 'S') AND EXISTS ( SELECT 'X' FROM PS_PGM_POOL_CACH PL WHERE A.BUSINESS_UNIT = PL.BUSINESS_UNIT AND A.PROJECT_ID = PL.PROJECT_ID AND C.EMPLID = PL.EMPLID))) AND L.BUSINESS_UNIT = A.BUSINESS_UNIT AND L.PROJECT_ID = A.PROJECT_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
3 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL | PC Business Unit |
4 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |