PGM_COPY_BUDPLN(SQL View) |
Index Back |
---|
SELECT BUSINESS_UNIT , PROJECT_ID , PC_BUD_TYPE , START_DT , CALENDAR_ID ,NUM_PERIODS , PC_BUDGET_ID , DESCR FROM %Table(PGM_BUD_PLAN) A WHERE EXISTS ( SELECT 'X' FROM %Table(PGM_BUD_DETAIL) B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROJECT_ID = B.PROJECT_ID AND A.PC_BUDGET_ID = B.PC_BUDGET_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_PC_NONVW |
2 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: SP_PROJ_NONVW |
3 | PC_BUD_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
This field defines a Projects Budget as either Cost or Revenue Based.
C=Cost Budget R=Revenue Budget |
4 | START_DT | Date(10) | DATE NOT NULL | Start Date |
5 | CALENDAR_ID | Character(2) | VARCHAR2(2) NOT NULL |
Calendar ID
Prompt Table: CAL_BP_VW |
6 | NUM_PERIODS | Number(2,0) | SMALLINT NOT NULL | Number of Time Periods |
7 | PC_BUDGET_ID | Number(3,0) | SMALLINT NOT NULL | Budget Plan ID |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |