PC_BUD_ACCESS(SQL View) |
Index Back |
---|---|
Project Costing HGrid ViewProject Costing HGrid View |
SELECT A.BUSINESS_UNIT , A.PROJECT_ID , A.ACTIVITY_ID , B.PC_BUDGET_ID , A.DESCR , A.WBS_ID , A.SUMMARY_ACT , A.LEVEL_NUM , %subrec(PGM_WBS_SBR, A) FROM PS_PROJ_ACTIVITY A , PS_PROJECT P , PS_PC_BUD_PLAN B WHERE A.BUSINESS_UNIT = P.BUSINESS_UNIT AND A.PROJECT_ID= P.PROJECT_ID AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROJECT_ID= B.PROJECT_ID AND (%NumToChar(A.LEVEL_NUM) <= P.CHARGING_LEVEL OR P.CHARGING_LEVEL = 'D') |
# | 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: SP_PROJ_NONVW |
3 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Activity ID
Prompt Table: PROJ_ACT_SRCH1 |
4 | PC_BUDGET_ID | Number(3,0) | SMALLINT NOT NULL | Budget Plan ID |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | WBS_ID | Character(100) | VARCHAR2(100) NOT NULL | WBS ID |
7 | SUMMARY_ACT | Character(1) | VARCHAR2(1) NOT NULL |
Flag to indicate whether an activity is summary or detail.
N=Detail Activity Y=Summary Activity |
8 | LEVEL_NUM | Number(3,0) | SMALLINT NOT NULL | Level |
9 | LEVEL1 | Number(5,0) | INTEGER NOT NULL | Level 1 |
10 | LEVEL2 | Number(5,0) | INTEGER NOT NULL | Level 2 |
11 | LEVEL3 | Number(5,0) | INTEGER NOT NULL | Level 3 |
12 | LEVEL4 | Number(5,0) | INTEGER NOT NULL | Level 4 |
13 | LEVEL5 | Number(5,0) | INTEGER NOT NULL | Level 5 |
14 | LEVEL6 | Number(5,0) | INTEGER NOT NULL | Level 6 |
15 | LEVEL7 | Number(5,0) | INTEGER NOT NULL | Level 7 |
16 | LEVEL8 | Number(5,0) | INTEGER NOT NULL | Level 8 |
17 | LEVEL9 | Number(5,0) | INTEGER NOT NULL | Level 9 |
18 | LEVEL10 | Number(5,0) | INTEGER NOT NULL | Level 10 |
19 | LEVEL11 | Number(5,0) | INTEGER NOT NULL | Level 11 |
20 | LEVEL12 | Number(5,0) | INTEGER NOT NULL | Level 12 |
21 | LEVEL13 | Number(5,0) | INTEGER NOT NULL | Level 13 |
22 | LEVEL14 | Number(5,0) | INTEGER NOT NULL | Level 14 |
23 | LEVEL15 | Number(5,0) | INTEGER NOT NULL | Level 15 |
24 | LEVEL16 | Number(5,0) | INTEGER NOT NULL | Level 16 |
25 | LEVEL17 | Number(5,0) | INTEGER NOT NULL | Level 17 |
26 | LEVEL18 | Number(5,0) | INTEGER NOT NULL | Level 18 |
27 | LEVEL19 | Number(5,0) | INTEGER NOT NULL | Level 19 |
28 | LEVEL20 | Number(5,0) | INTEGER NOT NULL | Level 20 |
29 | LEVEL21 | Number(5,0) | INTEGER NOT NULL | Level 21 |
30 | LEVEL22 | Number(5,0) | INTEGER NOT NULL | Level 22 |
31 | LEVEL23 | Number(5,0) | INTEGER NOT NULL | Level 23 |
32 | LEVEL24 | Number(5,0) | INTEGER NOT NULL | Level 24 |
33 | LEVEL25 | Number(5,0) | INTEGER NOT NULL | Level 25 |
34 | LEVEL26 | Number(5,0) | INTEGER NOT NULL | Level 26 |