TRN_DEPTDMPR_VW

(SQL View)
Index Back

Trn Department Demand View

Department view for training demands.

SELECT A.BUDGET_PERIOD , A.BUSINESS_UNIT , A.DEMAND_ID , A.DEPTID , C.DEMAND_APPROVED , A.UPDATE_DEPTID_SW FROM PS_TRN_DEMAND_DEPT A , PS_TRN_SCENARIO B , PS_TRN_SIMULATION C WHERE A.BUDGET_PERIOD = B.BUDGET_PERIOD AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.DEPTID = B.DEPTID AND B.SCENARIO_STATUS = 'A' AND C.BUDGET_PERIOD = A.BUDGET_PERIOD AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.DEPTID = A.DEPTID AND C.SCENARIO = B.SCENARIO AND C.DEMAND_ID = A.DEMAND_ID

# 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 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
5 DEPT_DEMAND Number(6,0) INTEGER NOT NULL Department Demand

Default Value: 0

6 UPDATE_DEPTID_SW Character(1) VARCHAR2(1) NOT NULL User Updated Department

Y/N Table Edit

Default Value: Y