TRN_DEM_CRSC_VW

(SQL View)
Index Back

Demand List per Course

Demand List per Course

SELECT X.COURSE, X.SESSION_NBR, A.BUSINESS_UNIT, A.DEMAND_ID, A.DESCR FROM PS_CRSE_SESSN_TBL X, PS_TRN_DEMAND A, PS_BUDGET_PERIOD E, PS_BUDGET_BUS_UNIT M WHERE (A.COURSE = X.COURSE OR A.COURSE IN (SELECT B.COURSE FROM PS_TRN_CATALOG_TBL B WHERE B.SUB_CATEGORY_CD IN (SELECT C.SUB_CATEGORY_CD FROM PS_TRN_CATALOG_TBL C WHERE C.COURSE = X.COURSE) AND B.CATEGORY_CD IN (SELECT C.CATEGORY_CD FROM PS_TRN_CATALOG_TBL C WHERE C.COURSE = X.COURSE)) OR A.COURSE IN (SELECT B.COURSE FROM PS_TRN_CATALOG_TBL B WHERE B.SUB_CATEGORY_CD = 'UNKNOWN' AND B.CATEGORY_CD IN (SELECT C.CATEGORY_CD FROM PS_TRN_CATALOG_TBL C WHERE C.COURSE = X.COURSE))) AND E.BUDGET_PERIOD = A.BUDGET_PERIOD AND E.EFFDT <= X.COURSE_START_DT AND E.THRU_DATE >= X.COURSE_END_DT AND E.BUDGET_PERIOD = M.BUDGET_PERIOD AND M.BUSINESS_UNIT = A.BUSINESS_UNIT

  • Related Language Record: TRN_DEMCSVW_LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 COURSE Character(6) VARCHAR2(6) NOT NULL Course Code
    2 SESSION_NBR Character(4) VARCHAR2(4) NOT NULL Course Session Nbr
    3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    4 DEMAND_ID Character(10) VARCHAR2(10) NOT NULL Demand ID
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description