SSR_BC_UNITS_VL(SQL View) |
Index Back |
---|---|
Browse Catalog UnitsBrowse Catalog Units |
SELECT A.CRSE_ID , A.EFFDT , A.CRSE_OFFER_NBR , B.UNITS_MINIMUM , B.UNITS_MAXIMUM , CL.LANGUAGE_CD , CL.DESCR FROM PS_CRSE_OFFER A , PS_CRSE_CATALOG B , PS_SSR_BCFCTUNTSLN CL WHERE A.CRSE_ID = B.CRSE_ID AND A.EFFDT = B.EFFDT AND (((B.UNITS_MINIMUM = B.UNITS_MAXIMUM) AND (B.UNITS_MINIMUM >= CL.UNITS_MINIMUM AND B.UNITS_MINIMUM <= CL.UNITS_MAXIMUM)) OR ((B.UNITS_MINIMUM <> B.UNITS_MAXIMUM AND ((B.UNITS_MINIMUM BETWEEN CL.UNITS_MINIMUM AND CL.UNITS_MAXIMUM) OR (B.UNITS_MAXIMUM BETWEEN CL.UNITS_MINIMUM AND CL.UNITS_MAXIMUM) OR (CL.UNITS_MINIMUM BETWEEN B.UNITS_MINIMUM AND B.UNITS_MAXIMUM) OR (CL.UNITS_MAXIMUM BETWEEN B.UNITS_MINIMUM AND B.UNITS_MAXIMUM))))) AND CL.EFFDT = ( SELECT MAX(C_ED.EFFDT) FROM PS_SSR_BCFCT_UNTS C_ED WHERE CL.SSR_SEQ_NBR = C_ED.SSR_SEQ_NBR AND CL.UNITS_MINIMUM = C_ED.UNITS_MINIMUM AND CL.UNITS_MAXIMUM = C_ED.UNITS_MAXIMUM AND C_ED.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CRSE_ID | Character(6) | VARCHAR2(6) NOT NULL | Course ID |
2 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
3 | CRSE_OFFER_NBR | Number(2,0) | SMALLINT NOT NULL | Course Offering Nbr |
4 | UNITS_MINIMUM | Number(6,2) | DECIMAL(5,2) NOT NULL | Minimum Units |
5 | UNITS_MAXIMUM | Number(6,2) | DECIMAL(5,2) NOT NULL | Maximum Units |
6 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |