TRN_SML_COST_VW(SQL View) |
Index Back |
---|---|
Training Simulation ViewTraining Simulation View |
SELECT A.BUDGET_PERIOD, A.BUSINESS_UNIT, A.DEMAND_ID, B.COST_SOURCE, B.VARIABLE_COST, B.FIXED_COST, B.CURRENCY_CD FROM PS_TRN_DEMAND A, PS_TRN_CST_ELEMENT B, PS_BUDGET_PERIOD C, PS_BUDGET_BUS_UNIT D WHERE A.BUDGET_PERIOD = C.BUDGET_PERIOD AND A.BUDGET_PERIOD = D.BUDGET_PERIOD AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.COURSE = B.COURSE AND B.EFFDT = (SELECT MAX(E.EFFDT) FROM PS_TRN_CST_ELEMENT E WHERE E.COURSE = A.COURSE AND E.EFFDT <= C.EFFDT) |
# | 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 | DEMAND_ID | Character(10) | VARCHAR2(10) NOT NULL |
Demand ID
Prompt Table: TRN_DEMAND |
4 | COST_SOURCE | Character(1) | VARCHAR2(1) NOT NULL |
Cost Source
F=Facility Cost I=Instructor Cost N=Session P=Vendor Cost Q=Equipment Cost S=Salary Cost T=Total Cost X=Expense Cost |
5 | VARIABLE_COST | Number(19,3) | DECIMAL(18,3) NOT NULL | Variable Cost |
6 | FIXED_COST | Number(19,3) | DECIMAL(18,3) NOT NULL | Fixed Cost |
7 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |