TRN_SML_GBL_VW(SQL View) |
Index Back |
---|---|
Training Simulation TableTraining Simulation Table |
SELECT A.BUDGET_PERIOD, A.BUSINESS_UNIT, C.DESCR, B.SCENARIO, A.DEPTID, SUM(A.DEMAND_APPROVED) FROM PS_TRN_SIMULATION A, PS_TRN_SCENARIO B, PS_BUDGET_PERIOD C, PS_BUDGET_BUS_UNIT D WHERE A.BUDGET_PERIOD = B.BUDGET_PERIOD AND D.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.DEPTID = B.DEPTID AND A.SCENARIO = B.SCENARIO AND B.GLOBAL_SCENARIO_SW = 'Y' AND A.BUDGET_PERIOD = C.BUDGET_PERIOD AND C.BUDGET_PERIOD = D.BUDGET_PERIOD GROUP BY A.BUDGET_PERIOD, A.BUSINESS_UNIT, C.DESCR, B.SCENARIO, A.DEPTID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUDGET_PERIOD | Character(10) | VARCHAR2(10) NOT NULL |
Budget Period
Prompt Table: BUDGET_PERIOD |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: BUDGET_BUS_UNIT |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | SCENARIO | Character(10) | VARCHAR2(10) NOT NULL |
Scenario
Prompt Table: TRN_LST_GBL_VW |
5 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPT_TBL |
6 | DEMAND_APPROVED | Number(6,0) | INTEGER NOT NULL | Employees Approved |