SAE_CLS_TRGT_VW(SQL View) |
Index Back |
---|
SELECT CLS.CRSE_ID , CLS.CRSE_OFFER_NBR , CLS.STRM , CLS.SESSION_CODE , CLS.CLASS_SECTION , ORG.SAE_TARGET_ID , CLS.CLASS_NBR , CLS.SAE_IMS_ASSOC_NBR , CLS.INSTITUTION , CLS.ACAD_ORG FROM %Table(SAE_CS_VW) CLS ,%Table(SAE_ACAD_TARGET) ORG WHERE ORG.INSTITUTION = CLS.INSTITUTION AND ORG.ACAD_ORG = CLS.ACAD_ORG AND ORG.SAE_TARGET_MODE <> 'H' AND %EffdtCheck(SAE_ACAD_TARGET, ORG,%CurrentDateIn) AND ORG.EFF_STATUS = 'A' AND NOT EXISTS ( SELECT 1 FROM %Table(SAE_CLS_TARGET) CLSTGT WHERE CLSTGT.CRSE_ID = CLS.CRSE_ID AND CLSTGT.CRSE_OFFER_NBR = CLS.CRSE_OFFER_NBR AND CLSTGT.STRM = CLS.STRM AND CLSTGT.SESSION_CODE = CLS.SESSION_CODE AND CLSTGT.CLASS_SECTION = CLS.CLASS_SECTION AND CLSTGT.SAE_TARGET_ID = ORG.SAE_TARGET_ID AND CLSTGT.SAE_TARGET_MODE = 'D') UNION ALL SELECT CLS.CRSE_ID , CLS.CRSE_OFFER_NBR , CLS.STRM , CLS.SESSION_CODE , CLS.CLASS_SECTION , CLSTGT.SAE_TARGET_ID , CLS.CLASS_NBR , CLS.SAE_IMS_ASSOC_NBR , CLS.INSTITUTION , CLS.ACAD_ORG FROM %Table(SAE_CS_VW) CLS , %Table(SAE_CLS_TARGET) CLSTGT WHERE CLSTGT.CRSE_ID = CLS.CRSE_ID AND CLSTGT.CRSE_OFFER_NBR = CLS.CRSE_OFFER_NBR AND CLSTGT.STRM = CLS.STRM AND CLSTGT.SESSION_CODE = CLS.SESSION_CODE AND CLSTGT.CLASS_SECTION = CLS.CLASS_SECTION AND CLSTGT.SAE_TARGET_MODE = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CRSE_ID | Character(6) | VARCHAR2(6) NOT NULL | Course ID |
2 | CRSE_OFFER_NBR | Number(2,0) | SMALLINT NOT NULL | Course Offering Nbr |
3 | STRM | Character(4) | VARCHAR2(4) NOT NULL | Term |
4 | SESSION_CODE | Character(3) | VARCHAR2(3) NOT NULL |
Session
1=Regular Academic Session 10W=10 Week 12W=Twelve Week 4W1=Four Week - First 4W2=Four Week - Second 4W3=Four Week - Third 4W4=Four Week - Fourth 6W1=Six Week - First 6W2=Six Week - Second 8W1=Eight Week - First 8W2=Eight Week - Second A11=Medical Period 1, 4 Weeks A12=Medical Period 1, 8 Weeks A13=Medical Pd 1, 12 Weeks A21=Medical Period 2, 4 Weeks A22=Medical Period 2, 8 Weeks A23=Medical Period 2, 12 Week FYR=Full Year MIN=Mini Session OEE=Open Entry/Open Exit SM1=Semester 1 SM2=Semester 2 |
5 | CLASS_SECTION | Character(4) | VARCHAR2(4) NOT NULL | Class Section |
6 | SAE_TARGET_ID | Character(50) | VARCHAR2(50) NOT NULL | SAIP Target ID |
7 | CLASS_NBR | Number(5,0) | INTEGER NOT NULL | Class Nbr |
8 | SAE_IMS_ASSOC_NBR | Number(4,0) | SMALLINT NOT NULL | IMS Association Number |
9 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
10 | ACAD_ORG | Character(10) | VARCHAR2(10) NOT NULL | Academic Organization |