SSR_IAM_RSL_BN2(SQL View) |
Index Back |
---|---|
IAM Result Post Bind TableIAM Result Post Exam Only Bind Table |
SELECT DISTINCT R.INSTITUTION , ' ' , ' ' , X.SSR_PERIOD_ID , R.EMPLID , N.NAME_DISPLAY , ' ' , C.CRSE_ID , C.CRSE_OFFER_NBR , C.SUBJECT , C.CATALOG_NBR , ' ' , R.SSR_ACT_ID_ROOTXRF , R.SSR_ACTIVITY_ID , R.SSR_ACT_ID_SEQ_NBR , R.SSR_RSLT_TYPE , R.SSR_IAM_RSLT_STAT , R.SSR_RSLT_SEQ , AP.SSR_APT_INSTANCE , X.SSR_AC_CONTENT_TP , X.SSR_AC_EXAM_ONLY , CC.DESCR FROM PS_SSR_ACT_XREF X ,PS_SSR_IAM_RESULT R ,PS_SSR_APTSY_PRGVW AP ,PS_SSR_PERIOD_TBL PRD ,PS_SSR_AC_RSLTMAP MAP ,PS_SSR_IAM IAM ,PS_SSR_IAM_ROOTEXT EXT ,PS_SSR_IAM_EXMONLY IE ,PS_SSR_APT_IAM AI ,PS_CRSE_OFFER C ,PS_CRSE_CATALOG CC , PS_INSTITUTION_TBL I , PS_SSR_PERSON_NM_I N WHERE AP.EMPLID = R.EMPLID AND IE.INSTITUTION = R.INSTITUTION AND IE.EMPLID = R.EMPLID AND IE.SSR_ACTIVITY_ID = R.SSR_ACTIVITY_ID AND AI.EMPLID = R.EMPLID AND AI.INSTITUTION = R.INSTITUTION AND AI.SSR_ACTIVITY_ID = R.SSR_ACTIVITY_ID AND AI.SSR_APT_INSTANCE = AP.SSR_APT_INSTANCE AND R.SSR_INCL_IN_CALC = 'Y' AND R.SSR_RSLT_SEQ NOT IN ( SELECT P.SSR_RSLT_SEQ FROM PS_SSR_IAM_RSLTPST P WHERE P.EMPLID = R.EMPLID AND P.INSTITUTION = R.INSTITUTION AND P.SSR_ACTIVITY_ID = R.SSR_ACTIVITY_ID AND P.SSR_ACT_ID_SEQ_NBR = R.SSR_ACT_ID_SEQ_NBR AND P.SSR_RSLT_SEQ = R.SSR_RSLT_SEQ AND (P.SSR_IAM_RSLTPST_ST = 'C' OR P.SSR_IAM_RSLTPST_ST = 'P')) AND (AI.SSR_APT_INSTANCE = AP.SSR_APT_INSTANCE OR AI.SSR_APT_INSTANCE IS NULL) AND X.SSR_ACTIVITY_ID = R.SSR_ACTIVITY_ID AND X.SSR_AC_CONTENT_TP = '1000' AND X.SSR_AC_EXAM_ONLY = 'Y' AND PRD.INSTITUTION = IE.INSTITUTION AND PRD.SSR_PERIOD_ID = X.SSR_PERIOD_ID AND MAP.SSR_RSLT_TYPE = R.SSR_RSLT_TYPE AND MAP.SSR_AC_CONTX_TYPE = 'CRSE' AND MAP.SSR_AC_CONTENT_TP = X.SSR_AC_CONTENT_TP AND MAP.EFFDT = ( SELECT MAX(MAP2.EFFDT) FROM PS_SSR_AC_RSLTMAP MAP2 WHERE MAP2.SSR_RSLT_TYPE = MAP.SSR_RSLT_TYPE AND MAP2.SSR_AC_CONTX_TYPE = MAP.SSR_AC_CONTX_TYPE AND MAP2.SSR_AC_CONTENT_TP = MAP.SSR_AC_CONTENT_TP AND MAP2.EFFDT <= PRD.SSR_PRD_START_DT) AND IAM.EMPLID = R.EMPLID AND IAM.INSTITUTION = R.INSTITUTION AND IAM.SSR_ACTIVITY_ID = R.SSR_ACTIVITY_ID AND IAM.SSR_ACT_ID_SEQ_NBR = R.SSR_ACT_ID_SEQ_NBR AND EXT.EMPLID = R.EMPLID AND EXT.INSTITUTION = R.INSTITUTION AND EXT.SSR_ACTIVITY_ID = R.SSR_ACTIVITY_ID AND EXT.SSR_ACT_ID_SEQ_NBR = R.SSR_ACT_ID_SEQ_NBR AND IE.EMPLID = R.EMPLID AND IE.INSTITUTION = R.INSTITUTION AND IE.SSR_ACTIVITY_ID = X.SSR_ACTIVITY_ID AND CC.CRSE_ID = X.CRSE_ID AND CC.EFFDT = ( SELECT MAX(CC2.EFFDT) FROM PS_CRSE_CATALOG CC2 WHERE CC2.CRSE_ID = CC.CRSE_ID AND CC2.EFFDT <= PRD.SSR_PRD_START_DT) AND C.CRSE_ID = CC.CRSE_ID AND C.EFFDT = CC.EFFDT AND C.CRSE_OFFER_NBR = X.CRSE_OFFER_NBR AND C.SSR_AC_EXAM_ONLY = 'Y' AND I.INSTITUTION = R.INSTITUTION AND I.EFFDT = ( SELECT MAX(I2.EFFDT) FROM PS_INSTITUTION_TBL I2 WHERE I2.INSTITUTION = I.INSTITUTION AND I2.EFFDT <= PRD.SSR_PRD_START_DT) AND I.EFF_STATUS = 'A' AND (I.SSR_RSLT_PEAM = 'Y' OR (IAM.SSR_IAM_LOCK <> 'Y' AND EXT.SSR_IAM_LOCK <> 'Y')) AND N.EMPLID = R.EMPLID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
2 | ACAD_CAREER | Character(4) | VARCHAR2(4) NOT NULL |
Academic Career
BAC=Bachelor (NLD) BBL=Vocational Coaching (NLD) BOL=Vocational Training (NLD) BUSN=Graduate Business CNED=Continuing Education CRED=Semester Credit EDU=Education (NLD) EXED=Extended Education GRAD=Graduate LAW=Law MEDS=Medical School NONA=Non Award PGRD=Postgraduate RSCH=Research TECH=Technical UENG=Undergraduate Engineering UGRD=Undergraduate VAVO=Advanced General Educ. (NLD) VETM=Veterinary Medicine |
3 | STRM | Character(4) | VARCHAR2(4) NOT NULL | Term |
4 | SSR_PERIOD_ID | Character(12) | VARCHAR2(12) NOT NULL | Academic Period ID |
5 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
6 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
7 | 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 |
8 | CRSE_ID | Character(6) | VARCHAR2(6) NOT NULL | Course ID |
9 | CRSE_OFFER_NBR | Number(2,0) | SMALLINT NOT NULL | Course Offering Nbr |
10 | SUBJECT | Character(8) | VARCHAR2(8) NOT NULL | Subject Area |
11 | CATALOG_NBR | Character(10) | VARCHAR2(10) NOT NULL | Catalog Nbr |
12 | ACAD_ORG | Character(10) | VARCHAR2(10) NOT NULL | Academic Organization |
13 | SSR_ACT_ID_ROOT | Character(11) | VARCHAR2(11) NOT NULL | Course Root Activity ID |
14 | SSR_ACTIVITY_ID | Character(11) | VARCHAR2(11) NOT NULL | Academic Activity ID |
15 | SSR_ACT_ID_SEQ_NBR | Number(4,0) | SMALLINT NOT NULL | Activity ID Sequence Number |
16 | SSR_RSLT_TYPE | Character(20) | VARCHAR2(20) NOT NULL | Result Type |
17 | SSR_IAM_RSLT_STAT | Character(2) | VARCHAR2(2) NOT NULL |
Result Status
00=00-Undetermined 05=05-Manual 07=07-Imported 10=10-Calculated 20=20-Awaiting Approval 30=30-Approved 40=40-Overridden 50=50-Final |
18 | SSR_RSLT_SEQ | Number(3,0) | SMALLINT NOT NULL | Result Sequence Nbr |
19 | SSR_APT_INSTANCE | Number(3,0) | SMALLINT NOT NULL | Academic Progress Tracker Instance Number |
20 | SSR_AC_CONTENT_TP | Character(20) | VARCHAR2(20) NOT NULL | Academic Content Type |
21 | SSR_AC_EXAM_ONLY | Character(1) | VARCHAR2(1) NOT NULL | Exam Only Course |
22 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |