PGM_FIN_CST_BUD(SQL View) |
Index Back |
---|---|
Finalized Cost budgetThis view shows the finalized cost budget for the given Business Unit and Project |
SELECT A.BUSINESS_UNIT , A.PROJECT_ID , A.PC_BUDGET_ID , A.DESCR , SUM(C.FOREIGN_AMOUNT) , C.FOREIGN_CURRENCY FROM PS_PC_BUD_PLAN A , PS_PC_BUD_DETAIL C WHERE A.PC_BUD_TYPE = 'C' AND A.PC_BUDGET_STATUS = '1' AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.PROJECT_ID = A.PROJECT_ID AND C.PC_BUDGET_ID = A.PC_BUDGET_ID GROUP BY A.BUSINESS_UNIT,A.PROJECT_ID,A.PC_BUDGET_ID, A.DESCR, C.FOREIGN_CURRENCY |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
3 | PC_BUDGET_ID | Number(3,0) | SMALLINT NOT NULL | Budget Plan ID |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | BUDGET_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Projects Budget Amount |
6 | CURRENCY_CD_PC | Character(3) | VARCHAR2(3) NOT NULL | Projects BU Currency |