[[Kategorie:HISinOne-Dokumentation]]
[[Kategorie:Business Intelligence Analysen-Dokumentation]]


{{AutoGeneriert|Achtung: Diese Seite wird automatisch generiert. Bitte nicht manuell ändern!}}

;Komponentenbeschreibung: Die folgenden Kapitel dokumentieren das Datenmodell der Komponente. Sie dokumentieren auch die Entladeroutine für das jeweilige Vorsystem und die Übernahme nach Edustore. Aus datenschutzrechtlicher Sicht relevant sind die Datentabellen, die die jew. Inhalte aus den Vorsystemen beschreiben. In der Regel handelt es sich um (verkürzte) Kopien der Originaltabellen.



__noeditsection__

=Komponentenbeschreibung LM=
{| class="prettytable"  border="1" 
|-
|Modulversion
|0.6b

|-
|Sachgebiet
|Leistungsmonitoring id 300

|-
|Systeminfo
|Leistungsmonitoring id 300

|-
|Thema
|Leistungsmonitoring

|-
|Themenbaum-Ast
|Studierende, Prüfungen

|}
==Datenbankbeschreibung==
===Ladetabellen===
====lm_accreditation====
Anerk. Leistungen

Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|2
|
|true
|ID
|
|

|-
|examplan_id
|INTEGER
|2
|
|false
|ID der anerkannten Leistung
|
|

|-
|accreditation_person
|VARCHAR
|255
|
|false
|Person der Anerkennung
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|accreditation_date
|DATE
|2
|
|false
|Datum der Anerkennung
|
|

|-
|accreditationtype
|CHAR
|10
|
|false
|Anerkennungsart
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|-
|origin_examplan_id
|INTEGER
|2
|
|false
|ID der ursprünglichen Leistung
|
|

|}


====lm_accreditation_neu====
Anerk. Leistungen

Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|2
|
|true
|ID
|
|

|-
|examplan_id
|INTEGER
|2
|
|false
|ID der anerkannten Leistung
|
|

|-
|accreditation_person
|VARCHAR
|255
|
|false
|Person der Anerkennung
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|accreditation_date
|DATE
|2
|
|false
|Datum der Anerkennung
|
|

|-
|k_accreditationtype_id
|VARCHAR
|255
|
|false
|ID der Anerkennungsart
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|-
|origin_examplan_id
|INTEGER
|2
|
|false
|ID der ursprünglichen Leistung
|
|

|}


====lm_ects_soll_neu====


Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|po_uniquename
|VARCHAR
|255
|
|false
|
|
|

|-
|studiengang_name
|VARCHAR
|255
|
|false
|
|
|

|-
|abschluss
|CHAR
|10
|
|false
|
|
|

|-
|stg
|CHAR
|10
|
|false
|
|
|

|-
|vertiefung
|CHAR
|10
|
|false
|
|
|

|-
|schwerpunkt
|CHAR
|10
|
|false
|
|
|

|-
|kz_fach
|CHAR
|10
|
|false
|
|
|

|-
|pversion
|VARCHAR
|255
|
|false
|
|
|

|-
|stort
|CHAR
|10
|
|false
|
|
|

|-
|stuart
|CHAR
|10
|
|false
|
|
|

|-
|stutyp
|CHAR
|10
|
|false
|
|
|

|-
|stufrm
|CHAR
|10
|
|false
|
|
|

|-
|fach_sem_zahl
|INTEGER
|10
|
|false
|
|
|

|-
|ects_soll
|DOUBLE
|17
|
|false
|
|
|

|-
|semester_von
|INTEGER
|10
|
|false
|
|
|

|-
|semester_bis
|INTEGER
|10
|
|false
|
|
|

|}


====lm_exam_instructor_neu====
Prüfernamen

Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|examplan_id
|INTEGER
|2
|
|false
|ID der Leistung
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|-
|ordnr
|INTEGER
|4
|
|false
|Ordnungsnummer
|<nowiki>1=Erstprüfer/in, 2= Zweitprüfer/in</nowiki>
|

|-
|lastname
|VARCHAR
|255
|
|false
|Nachname
|
|

|-
|firstname
|VARCHAR
|255
|
|false
|Vorname
|
|

|-
|ordnr2
|INTEGER
|4
|
|false
|Ordnungsnummer
|<nowiki>Reihenfolge in welcher Personen aufgelistet werden sollen (z. B. im Web)</nowiki>
|

|}


====lm_examination_neu====


Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|
|
|

|-
|source_event_unit_id
|INTEGER
|10
|
|false
|Zuordnung auf die gekoppelte Veranstaltungs-Unit
|
|

|-
|pform
|VARCHAR
|255
|
|false
|
|
|

|-
|part
|VARCHAR
|255
|
|false
|
|
|

|-
|exam_written
|INTEGER
|10
|
|false
|Empfohlenes Fachsemester
|
|

|}


====lm_examplan_neu====
Leistungen

Typ: Ladetabelle, 
Themenbereich: Prüfungen
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|matrikel_nr
|INTEGER
|4
|
|false
|Matrikel-Nr.
|
|

|-
|id
|INTEGER
|2
|
|true
|ID
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|Prüfungselement
|
|

|-
|person_id
|INTEGER
|10
|
|false
|Person
|
|

|-
|planelement_id
|INTEGER
|10
|
|false
|Planelement
|
|

|-
|prueck
|SMALLINT
|10
|
|false
|Zurückgetreten
|
|

|-
|d_abg_pruefung
|DATE
|4
|
|false
|Datum der Prüfung
|
|

|-
|psws
|FLOAT
|10
|
|false
|Semesterwochenstunden
|
|

|-
|pform
|VARCHAR
|255
|
|false
|Form der Prüfung
|
|

|-
|sem_der_pruefung
|SMALLINT
|2
|
|true
|Semester der Prüfung
|
|

|-
|zeitabschnitt
|CHAR
|10
|
|false
|Zeitabschnitt
|
|

|-
|k_grade_assessment_status
|VARCHAR
|255
|
|false
|Notenstatus
|
|

|-
|pvermerk
|VARCHAR
|255
|
|false
|Vermerk zur Prüfung
|
|

|-
|default_examrelation_id
|INTEGER
|10
|
|false
|Leistungsnr. im Baum
|
|

|-
|cancelation_impossible
|INTEGER
|10
|
|false
|Abmeldung durch Studenten möglich
|
|

|-
|additional_work
|INTEGER
|10
|
|false
|freiwillige Zusatzleistung
|
|

|-
|pnote
|FLOAT
|10
|
|false
|Prüfungsnote
|
|

|-
|score
|FLOAT
|10
|
|false
|Erreichte Punkte der Leistung
|<nowiki>Wie gut oder schlecht das ist, steht im Feld pnote</nowiki>
|

|-
|panerk
|CHAR
|10
|
|false
|Anerkannte Prüfung
|
|

|-
|pversuch
|INTEGER
|10
|
|false
|Versuchszahl
|
|

|-
|free_trial
|INTEGER
|10
|
|false
|Freiversuch
|<nowiki>0=normale Leistung, 1=Leistung gilt als Freiversuch</nowiki>
|

|}


====lm_examrelation_neu====


Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Quellfeld (Quellsystem: Tabelle.Feld) 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|Unbekannt

|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|Unbekannt

|
|
|

|-
|parent_examplan_id
|INTEGER
|10
|
|false
|Unbekannt

|
|
|

|-
|child_examplan_id
|INTEGER
|10
|
|false
|Unbekannt

|
|
|

|-
|unitrelationtype
|VARCHAR
|255
|
|false
|Unbekannt

|
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|Unbekannt

|
|
|

|-
|bonus
|FLOAT
|255
|
|false
|Unbekannt

|
|
|

|-
|malus
|FLOAT
|10
|
|false
|Unbekannt

|
|
|

|-
|pstatus
|VARCHAR
|255
|
|false
|<nowiki>sospos: lab.pstatus ; hisinone: examrelation.k_workstatus_id</nowiki>
|Prüfungsstatus
|<nowiki>z.B.BE=bestanden</nowiki>
|

|-
|credits_used_for_weighting
|FLOAT
|10
|
|false
|Unbekannt

|
|
|

|-
|is_approved
|INTEGER
|10
|
|false
|Unbekannt

|
|<nowiki>1=ist Anerkennung, 0= keine Anerkennung</nowiki>
|

|-
|internal_accreditationtype
|VARCHAR
|255
|
|false
|Unbekannt

|Art der Anerkennung
|<nowiki>Für Leistungsübernahmen</nowiki>
|

|-
|date_of_work
|DATE
|10
|
|false
|Unbekannt

|Datum, für das die Leistung angerechnet wird
|<nowiki>Für Leistungsübernahmen</nowiki>
|

|-
|sem_der_pruefung
|SMALLINT
|2
|
|false
|Unbekannt

|Semester der Prüfung
|
|

|}

*Index: lm_examrelation_n_1 auf lm_examrelation_neu (bonus );

*Index: lm_examrelation_n_2 auf lm_examrelation_neu (child_examplan_id );

*Index: lm_examrelation_n_3 auf lm_examrelation_neu (parent_examplan_id );


====lm_stud_d_neu====
Email Adressen

Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|matrikel_nr
|INTEGER
|10
|
|false
|Matrikel-Nr.
|
|

|-
|namenszusatz
|VARCHAR
|255
|
|false
|
|
|

|-
|nachname
|VARCHAR
|255
|
|false
|
|
|

|-
|namenssuffix
|VARCHAR
|255
|
|false
|
|
|

|-
|vorname
|VARCHAR
|255
|
|false
|
|
|

|-
|email
|VARCHAR
|255
|
|false
|
|
|

|-
|personattribute_lm_email
|VARCHAR
|255
|
|false
|
|
|

|}


====lm_unit_neu====


Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|shorttext
|VARCHAR
|255
|
|false
|
|
|

|-
|defaulttext
|VARCHAR
|255
|
|false
|
|
|

|-
|longtext
|VARCHAR
|255
|
|false
|
|
|

|-
|elementnr
|VARCHAR
|255
|
|false
|
|
|

|-
|calculate_ects_sum
|INTEGER
|10
|
|false
|Ermittlung Bonuspunkte Gesamtsumme
|<nowiki>0= nein, 1=ja</nowiki>
|

|-
|official_statistics
|INTEGER
|10
|
|false
|Kennzeichnung von Leistungen für offizielle Berichte (amtl.Statistik, Rente, Zeugnis)
|<nowiki>1= der Abschluß (Bachelor/Master/Diplom), 2= Zwischenprüfung/Vordiplom, 3=Sonderausgabe Zeugnis, 5=ECTS NRW</nowiki>
|

|-
|elementtyp
|VARCHAR
|255
|
|false
|
|
|

|-
|default_unitrelation_id
|INTEGER
|17
|
|false
|
|
|

|-
|pdum
|CHAR
|10
|
|false
|Kennzeichen Dummy-Prüfung
|
|

|-
|uniquename
|VARCHAR
|255
|
|false
|Schlüssel des Elements
|
|

|-
|hours_per_week
|FLOAT
|17
|
|false
|
|
|

|-
|editing_k_status_id
|VARCHAR
|255
|
|false
|
|
|

|-
|transfer_allowed
|INTEGER
|17
|
|false
|
|
|

|-
|freetrial_check
|INTEGER
|17
|
|false
|
|
|

|-
|k_unit_purpose_id
|VARCHAR
|255
|
|false
|
|
|

|-
|valid_from
|DATE
|255
|
|false
|Gültig von
|
|

|-
|valid_to
|DATE
|255
|
|false
|Gültig bis
|
|

|-
|shortcomment
|VARCHAR
|
|
|false
|Gültig bis
|
|

|}


====lm_unit_studies_neu====


Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|Prüfungselement
|
|

|-
|course_of_study_lid
|INTEGER
|10
|
|false
|Prüfungselement
|
|

|-
|root_elementtype_hiskey
|INTEGER
|10
|
|false
|hiskey des Wurzelelementes, zu der die Unit gehört
|<nowiki>Prüfungsordnung(4), Eignungsordnung(1), Immatrikulationsordnung(10)</nowiki>
|

|}


====lm_unit_top_neu====
Top-Knoten der POen für LM und deren Zuordnung zu Units

Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Quellfeld (Quellsystem: Tabelle.Feld) 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|tid
|INTEGER
|4
|
|true
|<nowiki>sospos: Leerstring ; hisinone: unit_top.id</nowiki>
|ID
|
|

|-
|unit_id
|INTEGER
|4
|
|false
|<nowiki>sospos: Leerstring ; hisinone: unit_top.unit_id</nowiki>
|Untergeordnete Unit
|
|

|-
|top_unit_id
|INTEGER
|4
|
|false
|<nowiki>sospos: Leerstring ; hisinone: top_unit_id.unit_id</nowiki>
|Übergeordnete Unit
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|<nowiki>sospos: Wert="5" ; hisinone: Wert="6"</nowiki>
|Quellsystem
|
|

|}


====lm_unitrelation_neu====


Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|parent_unit_id
|INTEGER
|10
|
|false
|
|
|

|-
|child_unit_id
|INTEGER
|10
|
|false
|
|
|

|-
|unitrelationtype
|CHAR
|255
|
|false
|
|
|

|-
|recommended_semester
|FLOAT
|255
|
|false
|
|
|

|-
|bonus
|FLOAT
|255
|
|false
|
|
|

|-
|malus
|FLOAT
|10
|
|false
|
|
|

|-
|generation_weight
|FLOAT
|10
|
|false
|
|
|

|-
|type_of_grading
|INTEGER
|10
|
|false
|
|
|

|-
|sortorder
|INTEGER
|10
|
|false
|
|
|

|-
|compulsory
|CHAR
|255
|
|false
|
|
|

|-
|alternative_recommended_semester
|VARCHAR
|255
|
|false
|
|
|

|}


===Datentabellen===
====lm_additional_examtext====
Zusatztext_von_Prüfungen

Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|ID
|
|

|-
|examplan_id
|INTEGER
|10
|
|false
|ID der Leistung
|
|

|-
|k_additional_examtext_type_id
|INTEGER
|10
|
|false
|ID des Typs des Zusatztextes
|
|

|-
|additional_text
|TEXT
|
|
|false
|Zusatztext
|
|

|-
|k_language_id
|INTEGER
|10
|
|false
|ID Sprache
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|}


====lm_ects_soll====


Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|po_uniquename
|VARCHAR
|255
|
|false
|
|
|

|-
|studiengang_name
|VARCHAR
|255
|
|false
|
|
|

|-
|abschluss
|CHAR
|10
|
|false
|
|
|

|-
|stg
|CHAR
|10
|
|false
|
|
|

|-
|vertiefung
|CHAR
|10
|
|false
|
|
|

|-
|schwerpunkt
|CHAR
|10
|
|false
|
|
|

|-
|kz_fach
|CHAR
|10
|
|false
|
|
|

|-
|pversion
|VARCHAR
|255
|
|false
|
|
|

|-
|stort
|CHAR
|10
|
|false
|
|
|

|-
|stuart
|CHAR
|10
|
|false
|
|
|

|-
|stutyp
|CHAR
|10
|
|false
|
|
|

|-
|stufrm
|CHAR
|10
|
|false
|
|
|

|-
|fach_sem_zahl
|INTEGER
|10
|
|false
|
|
|

|-
|ects_soll
|DOUBLE
|17
|
|false
|
|
|

|-
|semester_von
|INTEGER
|10
|
|false
|
|
|

|-
|semester_bis
|INTEGER
|10
|
|false
|
|
|

|}


====lm_exam_instructor====
Prüfernamen

Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|examplan_id
|INTEGER
|2
|
|false
|ID der Leistung
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|-
|ordnr
|INTEGER
|4
|
|false
|Ordnungsnummer
|<nowiki>1=Erstprüfer/in, 2= Zweitprüfer/in</nowiki>
|

|-
|lastname
|VARCHAR
|255
|
|false
|Nachname
|
|

|-
|firstname
|VARCHAR
|255
|
|false
|Vorname
|
|

|-
|ordnr2
|INTEGER
|4
|
|false
|Ordnungsnummer
|<nowiki>Reihenfolge in welcher Personen aufgelistet werden sollen (z. B. im Web)</nowiki>
|

|}


====lm_exam_written====
Schriftliche_Arbeiten

Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|ID
|
|

|-
|examplan_id
|INTEGER
|10
|
|false
|ID der Leistung
|
|

|-
|date_of_application
|DATE
|255
|
|false
|Antragsdatum
|
|

|-
|startdate
|DATE
|255
|
|false
|Startdatum
|
|

|-
|planned_end
|DATE
|255
|
|false
|Geplante Abgabe
|
|

|-
|real_end
|DATE
|255
|
|false
|Abgabe
|
|

|-
|title
|VARCHAR
|255
|
|false
|Titel
|
|

|-
|commentary
|VARCHAR
|255
|
|false
|Kommentar
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|}


====lm_examination====


Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|Prüfungselement
|
|

|-
|source_event_unit_id
|INTEGER
|10
|
|false
|Zuordnung auf die gekoppelte Veranstaltungs-Unit
|
|

|-
|pform
|CHAR
|10
|
|false
|
|
|

|-
|part
|CHAR
|10
|
|false
|
|
|

|-
|exam_written
|INTEGER
|10
|
|false
|Empfohlenes Fachsemester
|
|

|}


====lm_examplan====
Leistungen

Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|matrikel_nr
|INTEGER
|4
|
|true
|Matrikel-Nr.
|
|

|-
|id
|INTEGER
|2
|
|false
|ID
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|Prüfungselement
|
|

|-
|person_id
|INTEGER
|10
|
|false
|Person
|
|

|-
|planelement_id
|INTEGER
|10
|
|false
|Planelement
|
|

|-
|prueck
|SMALLINT
|10
|
|false
|Zurückgetreten
|
|

|-
|d_abg_pruefung
|DATE
|4
|
|false
|Datum der Prüfung
|
|

|-
|psws
|FLOAT
|10
|
|false
|Semesterwochenstunden
|
|

|-
|pform
|CHAR
|10
|
|false
|Form der Prüfung
|
|

|-
|sem_der_pruefung
|SMALLINT
|2
|
|true
|Semester der Prüfung
|
|

|-
|zeitabschnitt
|CHAR
|10
|
|false
|Zeitabschnitt
|
|

|-
|k_grade_assessment_status
|VARCHAR
|255
|
|false
|Notenstatus
|
|

|-
|pvermerk
|CHAR
|10
|
|false
|Vermerk zur Prüfung
|
|

|-
|default_examrelation_id
|INTEGER
|10
|
|false
|Leistungsnr. im Baum
|
|

|-
|cancelation_impossible
|INTEGER
|10
|
|false
|Abmeldung durch Studenten möglich
|
|

|-
|additional_work
|INTEGER
|10
|
|false
|freiwillige Zusatzleistung
|
|

|-
|pnote
|FLOAT
|10
|
|false
|Prüfungsnote
|
|

|-
|score
|FLOAT
|10
|
|false
|Erreichte Punkte der Leistung
|<nowiki>Wie gut oder schlecht das ist, steht im Feld pnote</nowiki>
|

|-
|panerk
|CHAR
|10
|
|false
|Anerkannte Prüfung
|
|

|-
|malus
|FLOAT
|10
|
|false
|Maluspunkte dieser Prüfung 
|
|

|-
|bonus
|FLOAT
|10
|
|false
|Guthaben-/Bonuspunkte dieser Prüfung
|
|

|-
|pstatus
|CHAR
|10
|
|false
|Prüfungsstatus
|<nowiki>z.B.BE=bestanden</nowiki>
|

|-
|pversuch
|INTEGER
|10
|
|false
|Versuchszahl
|
|

|-
|free_trial
|INTEGER
|10
|
|false
|Freiversuch
|<nowiki>0=normale Leistung, 1=Leistung gilt als Freiversuch</nowiki>
|

|}

*Index: ix_lm_examplan1 auf lm_examplan (id, sourcesystem );

*Index: ix_lm_examplan2 auf lm_examplan (matrikel_nr );

*Index: ix_lm_examplan3 auf lm_examplan (default_examrelation_id );

*Index: ix_lm_examplan4 auf lm_examplan (unit_id );


====lm_examrelation====


Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|parent_examplan_id
|INTEGER
|10
|
|false
|
|
|

|-
|child_examplan_id
|INTEGER
|10
|
|false
|
|
|

|-
|unitrelationtype
|CHAR
|10
|
|false
|
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|
|
|

|-
|parent_unit_id
|INTEGER
|10
|
|false
|
|
|

|-
|parent_unit_uniquename
|VARCHAR
|255
|
|false
|
|
|

|-
|parent_unit_elementnr
|VARCHAR
|255
|
|false
|
|
|

|-
|bonus
|FLOAT
|255
|
|false
|
|
|

|-
|malus
|FLOAT
|10
|
|false
|
|
|

|-
|pstatus
|CHAR
|10
|
|false
|Prüfungsstatus
|<nowiki>z.B.BE=bestanden</nowiki>
|

|-
|credits_used_for_weighting
|FLOAT
|10
|
|false
|
|
|

|-
|is_approved
|INTEGER
|10
|
|false
|
|<nowiki>1=ist Anerkennung, 0= keine Anerkennung</nowiki>
|

|-
|top_examplan_id
|INTEGER
|10
|
|false
|
|<nowiki>Top Knoten im Leistungsbaum</nowiki>
|

|-
|top_unit_id
|INTEGER
|10
|
|false
|
|<nowiki>Unit vom Top Knoten im Leistungsbaum</nowiki>
|

|-
|internal_accreditationtype
|CHAR
|10
|
|false
|Art der Anerkennung
|<nowiki>Für Leistungsübernahmen</nowiki>
|

|-
|date_of_work
|DATE
|10
|
|false
|Datum, für das die Leistung angerechnet wird
|<nowiki>Für Leistungsübernahmen</nowiki>
|

|-
|sem_der_pruefung
|SMALLINT
|2
|
|false
|Semester der Prüfung
|
|

|}

*Index: lm_examrelation1 auf lm_examrelation (parent_examplan_id );

*Index: lm_examrelation2 auf lm_examrelation (child_examplan_id, sourcesystem );

*Index: lm_examrelation3 auf lm_examrelation (id );


====lm_pruefrout====
Log-Tabelle für Prüfroutinen

Typ: Datentabelle, 
Themenbereich: LD Administration
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|tid
|SERIAL
|4
|
|false
|
|
|

|-
|datum
|DATE
|2
|
|false
|
|
|

|-
|semester
|INTEGER
|4
|
|false
|
|<nowiki>Semester</nowiki>
|

|-
|tabelle
|CHAR
|255
|
|false
|
|
|

|-
|tabelle_quelle
|CHAR
|255
|
|false
|
|
|

|-
|matrikel_nr
|INTEGER
|4
|
|false
|
|
|

|-
|tid_stg
|INTEGER
|4
|
|false
|
|
|

|-
|problem
|CHAR
|255
|
|false
|
|
|

|-
|aktion
|CHAR
|255
|
|false
|
|
|

|}


====lm_stud_d====
Email Adressen

Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|matrikel_nr
|INTEGER
|10
|
|false
|Matrikel-Nr.
|
|

|-
|namenszusatz
|VARCHAR
|255
|
|false
|
|
|

|-
|nachname
|VARCHAR
|255
|
|false
|
|
|

|-
|namenssuffix
|VARCHAR
|255
|
|false
|
|
|

|-
|vorname
|VARCHAR
|255
|
|false
|
|
|

|-
|email
|VARCHAR
|255
|
|false
|
|
|

|-
|anschreib_datum
|DATE
|255
|
|false
|
|
|

|-
|personattribute_lm_email
|VARCHAR
|255
|
|false
|
|
|

|}

*Index: ix_lm_stud_d auf lm_stud_d (matrikel_nr );


====lm_unit====


Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|shorttext
|VARCHAR
|255
|
|false
|
|
|

|-
|defaulttext
|VARCHAR
|255
|
|false
|
|
|

|-
|longtext
|VARCHAR
|255
|
|false
|
|
|

|-
|elementnr
|VARCHAR
|255
|
|false
|
|
|

|-
|calculate_ects_sum
|INTEGER
|10
|
|false
|Ermittlung Bonuspunkte Gesamtsumme
|<nowiki>0= nein, 1=ja</nowiki>
|

|-
|official_statistics
|INTEGER
|10
|
|false
|Kennzeichnung von Leistungen für offizielle Berichte (amtl.Statistik, Rente, Zeugnis)
|<nowiki>1= der Abschluß (Bachelor/Master/Diplom), 2= Zwischenprüfung/Vordiplom, 3=Sonderausgabe Zeugnis, 5=ECTS NRW</nowiki>
|

|-
|elementtyp
|CHAR
|10
|
|false
|
|
|

|-
|default_unitrelation_id
|INTEGER
|17
|
|false
|
|
|

|-
|pdum
|CHAR
|10
|
|false
|Kennzeichen Dummy-Prüfung
|
|

|-
|uniquename
|VARCHAR
|255
|
|false
|Schlüssel des Elements
|
|

|-
|valid_from
|DATE
|255
|
|false
|Gültig von
|
|

|-
|valid_to
|DATE
|255
|
|false
|Gültig bis
|
|

|-
|shortcomment
|VARCHAR
|
|
|false
|Gültig bis
|
|

|}

*Index: ix_lm_unit1 auf lm_unit (id, sourcesystem );

*Index: ix_lm_unit2 auf lm_unit (default_unitrelation_id );


====lm_unit_studies====


Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|Prüfungselement
|
|

|-
|unit_studies_anz
|INTEGER
|10
|
|false
|Anzahl Zuordnungen von Prüfungselement zu Studiengang
|
|

|-
|course_of_study_lid
|INTEGER
|10
|
|false
|Studiengang
|
|

|-
|root_elementtype_hiskey
|INTEGER
|10
|
|false
|hiskey des Wurzelelementes, zu der die Unit gehört
|<nowiki>Prüfungsordnung(4), Eignungsordnung(1), Immatrikulationsordnung(10)</nowiki>
|

|}

*Index: lm_unit_studies1 auf lm_unit_studies (course_of_study_lid );

*Index: lm_unit_studies2 auf lm_unit_studies (sourcesystem );

*Index: lm_unit_studies3 auf lm_unit_studies (unit_id );


====lm_unitrelation====


Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|parent_unit_id
|INTEGER
|10
|
|false
|
|
|

|-
|child_unit_id
|INTEGER
|10
|
|false
|
|
|

|-
|unitrelationtype
|CHAR
|255
|
|false
|
|
|

|-
|recommended_semester
|FLOAT
|255
|
|false
|
|
|

|-
|bonus
|FLOAT
|255
|
|false
|
|
|

|-
|malus
|FLOAT
|10
|
|false
|
|
|

|-
|generation_weight
|FLOAT
|10
|
|false
|
|
|

|-
|type_of_grading
|INTEGER
|10
|
|false
|
|
|

|-
|sortorder
|INTEGER
|10
|
|false
|
|
|

|-
|compulsory
|CHAR
|255
|
|false
|
|
|

|-
|alternative_recommended_semester
|VARCHAR
|255
|
|false
|
|
|

|}

*Index: lm_unitrelation1 auf lm_unitrelation (id );


===Schlüsseltabellen===
====lm_cifx_neu====
Ladetabelle für neue Schlüssel

Typ: Schlüsseltabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|key
|SMALLINT
|5
|
|false
|
|
|

|-
|hs
|INTEGER
|10
|
|false
|
|
|

|-
|apnr
|VARCHAR
|255
|
|false
|
|
|

|-
|kurz
|CHAR
|10
|
|false
|
|
|

|-
|druck
|VARCHAR
|200
|
|false
|
|
|

|-
|lang_1
|CHAR
|255
|
|false
|
|
|

|-
|astat
|CHAR
|10
|
|false
|
|
|

|-
|parent
|CHAR
|10
|
|false
|
|
|

|-
|uniquename
|CHAR
|255
|
|false
|
|
|

|-
|bund_apnr
|CHAR
|10
|
|false
|
|
|

|-
|sprache
|CHAR
|3
|
|false
|
|
|

|-
|d_akt_von
|DATE
|13
|
|false
|
|
|

|-
|d_akt_bis
|DATE
|13
|
|false
|
|
|

|-
|sourcesystem_id
|VARCHAR
|255
|
|false
|
|
|

|-
|hiskey_id
|VARCHAR
|255
|
|false
|
|
|

|-
|struktur_c
|CHAR
|50
|
|false
|
|
|

|-
|lid
|VARCHAR
|255
|
|false
|Langlebige ID
|
|

|-
|parent_lid
|VARCHAR
|255
|
|false
|Übergeordnete langlebige ID
|
|

|-
|sortorder
|INTEGER
|8
|
|false
|
|
|

|}


====lm_course_of_study====
Studiengangkombinationen aus SOS (Ladetabelle)

Typ: Schlüsseltabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Quellfeld (Quellsystem: Tabelle.Feld) 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|true
|<nowiki>hisinone: course_of_study.id</nowiki>
|
|
|

|-
|lid
|INTEGER
|10
|
|true
|<nowiki>hisinone: course_of_study.id</nowiki>
|
|
|

|-
|sourcesystem
|INTEGER
|1
|
|false
|Unbekannt

|
|
|

|-
|uniquename
|VARCHAR
|255
|
|false
|<nowiki>hisinone: course_of_study.uniquename</nowiki>
|
|
|

|-
|ktxt
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.ktxt ; hisinone: course_of_study.substring(shorttext from 1 for 10)</nowiki>
|
|
|

|-
|dtxt
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.dtxt ; hisinone: course_of_study.substring(defaulttext from 1 for 25)</nowiki>
|
|
|

|-
|ltxt
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.ltxt ; hisinone: course_of_study.substring(longtext from 1 for 150)</nowiki>
|
|
|

|-
|pversion
|INTEGER
|2
|
|false
|<nowiki>sospos: k_abstgv.pversion ; hisinone: course_of_study.k_examinationversion_id</nowiki>
|
|
|

|-
|fb
|CHAR
|10
|
|false
|<nowiki>sospos: k_abstgv.fb ; hisinone: Leerstring</nowiki>
|
|
|

|-
|stutyp
|CHAR
|10
|
|false
|<nowiki>sospos: k_abstgv.stutyp ; hisinone: course_of_study.k_type_of_study_id</nowiki>
|
|
|

|-
|kzfa
|CHAR
|10
|
|false
|<nowiki>sospos: k_abstgv.kzfa ; hisinone: course_of_study.k_subject_indicator_id</nowiki>
|
|
|

|-
|stort
|CHAR
|10
|
|false
|<nowiki>sospos: k_abstgv.stort ; hisinone: course_of_study.k_place_of_studies_id</nowiki>
|
|
|

|-
|lehreinh
|CHAR
|10
|
|false
|<nowiki>sospos: k_abstgv.lehreinh ; hisinone: orgunit.id</nowiki>
|
|<nowiki>Anders als SOS ist der Schlüssel hier Zehnstellig</nowiki>
|

|-
|abschluss
|CHAR
|10
|
|false
|<nowiki>sospos: k_abstgv.abschl ; hisinone: degree.id</nowiki>
|
|
|

|-
|stg
|CHAR
|10
|
|false
|<nowiki>sospos: k_abstgv.stg ; hisinone: subject.id</nowiki>
|
|
|

|-
|vert
|CHAR
|10
|
|false
|<nowiki>sospos: k_abstgv.vert ; hisinone: major_field_of_study.id</nowiki>
|
|
|

|-
|schwp
|CHAR
|10
|
|false
|<nowiki>sospos: k_abstgv.schwp ; hisinone: course_specialization.id</nowiki>
|
|
|

|-
|stuart
|CHAR
|10
|
|false
|<nowiki>sospos: k_abstgv.stuart ; hisinone: Leerstring</nowiki>
|
|
|

|-
|stufrm
|CHAR
|10
|
|false
|<nowiki>sospos: k_abstgv.stufrm ; hisinone: course_of_study.k_form_of_studies_id</nowiki>
|
|
|

|-
|regelstz
|DECIMAL
|(4,2)
|
|false
|<nowiki>sospos: k_abstgv.regelstz ; hisinone: course_of_study.regular_number_of_semesters</nowiki>
|
|
|

|-
|sem_gueltigbis
|SMALLINT
|2
|
|false
|<nowiki>sospos: k_abstgv.sem_gueltigbis ; hisinone: Wert="course_of_study.to_term_year + term_type.termnumber"</nowiki>
|
|
|

|-
|part_of_studies
|INTEGER
|4
|
|false
|<nowiki>hisinone: Wert="course_of_study.part_of_studies"</nowiki>
|ECTS-Gewicht des Fachs
|
|

|-
|tid_stg
|INTEGER
|10
|
|false
|Unbekannt

|
|
|

|-
|valid_from
|DATE
|255
|
|false
|Unbekannt

|Gültig von
|
|

|-
|valid_to
|DATE
|255
|
|false
|Unbekannt

|Gültig bis
|
|

|}

*Index: lm_course_of_study1 auf lm_course_of_study (lid );

*Index: lm_course_of_study2 auf lm_course_of_study (sem_gueltigbis );

*Index: lm_course_of_study3 auf lm_course_of_study (stg, abschluss, pversion, kzfa, schwp, vert, stort, stutyp );

*Index: lm_course_of_study6 auf lm_course_of_study (stufrm );


====lm_course_of_study_neu====
Studiengangkombinationen aus SOS (Ladetabelle)

Typ: Schlüsseltabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Quellfeld (Quellsystem: Tabelle.Feld) 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|true
|<nowiki>hisinone: course_of_study.id</nowiki>
|
|
|

|-
|lid
|INTEGER
|10
|
|true
|<nowiki>hisinone: course_of_study.id</nowiki>
|
|
|

|-
|sourcesystem
|INTEGER
|1
|
|false
|Unbekannt

|
|
|

|-
|uniquename
|VARCHAR
|255
|
|false
|<nowiki>hisinone: course_of_study.uniquename</nowiki>
|
|
|

|-
|ktxt
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.ktxt ; hisinone: course_of_study.substring(shorttext from 1 for 10)</nowiki>
|
|
|

|-
|dtxt
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.dtxt ; hisinone: course_of_study.substring(defaulttext from 1 for 25)</nowiki>
|
|
|

|-
|ltxt
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.ltxt ; hisinone: course_of_study.substring(longtext from 1 for 150)</nowiki>
|
|
|

|-
|pversion
|INTEGER
|2
|
|false
|<nowiki>sospos: k_abstgv.pversion ; hisinone: course_of_study.k_examinationversion_id</nowiki>
|
|
|

|-
|fb
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.fb ; hisinone: Leerstring</nowiki>
|
|
|

|-
|stutyp
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.stutyp ; hisinone: course_of_study.k_type_of_study_id</nowiki>
|
|
|

|-
|kzfa
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.kzfa ; hisinone: course_of_study.k_subject_indicator_id</nowiki>
|
|
|

|-
|stort
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.stort ; hisinone: course_of_study.k_place_of_studies_id</nowiki>
|
|
|

|-
|lehreinh
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.lehreinh ; hisinone: orgunit.id</nowiki>
|
|<nowiki>Anders als SOS ist der Schlüssel hier Zehnstellig</nowiki>
|

|-
|abschluss
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.abschl ; hisinone: degree.id</nowiki>
|
|
|

|-
|stg
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.stg ; hisinone: subject.id</nowiki>
|
|
|

|-
|vert
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.vert ; hisinone: major_field_of_study.id</nowiki>
|
|
|

|-
|schwp
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.schwp ; hisinone: course_specialization.id</nowiki>
|
|
|

|-
|stuart
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.stuart ; hisinone: Leerstring</nowiki>
|
|
|

|-
|stufrm
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.stufrm ; hisinone: course_of_study.k_form_of_studies_id</nowiki>
|
|
|

|-
|regelstz
|DECIMAL
|(4,2)
|
|false
|<nowiki>sospos: k_abstgv.regelstz ; hisinone: course_of_study.regular_number_of_semesters</nowiki>
|
|
|

|-
|sem_gueltigbis
|SMALLINT
|2
|
|false
|<nowiki>sospos: k_abstgv.sem_gueltigbis ; hisinone: Wert="course_of_study.to_term_year + term_type.termnumber"</nowiki>
|
|
|

|-
|part_of_studies
|INTEGER
|4
|
|false
|<nowiki>hisinone: Wert="course_of_study.part_of_studies"</nowiki>
|ECTS-Gewicht des Fachs
|
|

|-
|valid_from
|DATE
|255
|
|false
|Unbekannt

|Gültig von
|
|

|-
|valid_to
|DATE
|255
|
|false
|Unbekannt

|Gültig bis
|
|

|}


====lm_filter====
Eine Sammlung hochschulspezifischer Filter für LM

Typ: Schlüsseltabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|tid
|SERIAL
|4
|
|true
|
|
|

|-
|caption
|CHAR
|200
|
|false
|Beschriftung (kurz)
|
|

|-
|student_filter
|TEXT
|200
|
|false
|Filter Studiengangs-Satz
|<nowiki>Filter auf die Tabellen sos_stg_aggr  und dim_studiengang </nowiki>
|

|-
|unit_filter
|TEXT
|200
|
|false
|Filter Unit-Satz
|<nowiki>Filter auf die Tabelle lm_exam_unit_studies</nowiki>
|

|-
|exam_filter
|TEXT
|200
|
|false
|Filter Leistungs-Satz
|<nowiki>Filter auf die Tabelle lm_unit_exam</nowiki>
|

|-
|aggregation_formula
|VARCHAR
|255
|
|false
|Formel des Filters für Gewichtungen
|<nowiki>Wird derzeit nur für ECTS_IST-Filter genutzt</nowiki>
|

|-
|split_degree_programmes
|SMALLINT
|255
|
|false
|Anteil auf jew. Teilstudiengänge umlegen?
|<nowiki>1=Ja,0=Nein. Wird derzeit nur für ECTS_IST-Filter genutzt</nowiki>
|

|-
|comment
|TEXT
|4
|
|false
|Kommentar/Anleitung
|
|

|-
|uniquename
|VARCHAR
|255
|
|false
|Kürzel des Filters
|
|

|-
|filter_type
|CHAR
|200
|
|false
|Art des Filters
|
|

|-
|sortnr
|INTEGER
|2
|
|false
|Sortierschlüssel
|
|

|-
|geaendert_am
|DATE
|4
|
|false
|Datum letzte Änderung
|
|

|-
|aktiv
|SMALLINT
|2
|
|false
|Aktiv
|<nowiki>1=Ja,0=Nein.</nowiki>
|

|}
Primärschlüssel pk_lm_filter
#tid

====lm_unit_fg====
Zuordnung Fachgebietsschlüssel

Typ: Schlüsseltabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|unit_uniquename
|VARCHAR
|255
|
|false
|Uniquename der Unit
|
|

|-
|bund_fachgebiet
|CHAR
|10
|
|false
|Schlüssel des Fachgebietes
|
|

|-
|stg
|INTEGER
|VARCHAR
|255
|false
|Fach
|
|

|-
|pktxt
|VARCHAR
|255
|
|false
|Prüfungskurztext
|
|

|-
|pversion
|SMALLINT
|10
|
|false
|Prüfungsordnungsversion
|
|

|}


====lm_unit_top====
Top-Knoten der POen für LM und deren Zuordnung zu Units

Typ: Schlüsseltabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Quellfeld (Quellsystem: Tabelle.Feld) 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|tid
|INTEGER
|4
|
|true
|<nowiki>sospos: Leerstring ; hisinone: unit_top.id</nowiki>
|ID
|
|

|-
|unit_id
|INTEGER
|4
|
|false
|<nowiki>sospos: Leerstring ; hisinone: unit_top.unit_id</nowiki>
|Untergeordnete Unit
|
|

|-
|top_unit_id
|INTEGER
|4
|
|false
|<nowiki>sospos: Leerstring ; hisinone: top_unit_id.unit_id</nowiki>
|Übergeordnete Unit
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|<nowiki>sospos: Wert="5" ; hisinone: Wert="6"</nowiki>
|Quellsystem
|
|

|}

*Index: lm_unit_top1 auf lm_unit_top (unit_id );

*Index: lm_unit_top2 auf lm_unit_top (top_unit_id );


===Hilfstabellen===
====lm_cp_pro_fs====


Typ: Hilfstabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|tid
|SERIAL
|10
|
|true
|Laufnummer
|
|

|-
|matrikel_nr
|INTEGER
|10
|
|false
|Matrikel-Nr.
|
|

|-
|sem_rueck_beur_ein
|INTEGER
|10
|
|false
|Semester
|
|

|-
|tid_stg
|INTEGER
|10
|
|false
|Studiengang
|
|

|-
|pversion
|SMALLINT
|2
|
|false
|PO-Version
|
|

|-
|pversion_uniquename
|VARCHAR
|255
|
|false
|Prüfungsordnungsversion (Schlüssel)
|
|

|-
|studiengang_nr
|INTEGER
|10
|
|false
|Studienang-Nr.
|
|

|-
|fach_nr
|INTEGER
|10
|
|false
|Fach-Nr.
|
|

|-
|stg
|CHAR
|10
|
|false
|Fach (Konto)
|
|

|-
|abschluss
|CHAR
|10
|
|false
|Abschluss (Konto)
|
|

|-
|stufrm
|CHAR
|10
|
|false
|Studienform
|
|

|-
|stutyp
|CHAR
|10
|
|false
|Studientyp (Konto)
|
|

|-
|fach_sem_zahl
|INTEGER
|10
|
|false
|Fachsemester
|
|

|-
|labnr_parent_term
|INTEGER
|4
|
|false
|Semester der übergeordneten Prüfung
|
|

|-
|labnr_parent_pstatus
|CHAR
|10
|
|false
|Status der übergeordneten Prüfung
|
|

|-
|cp_ist
|FLOAT
|10
|
|false
|ECTS Ist
|
|

|-
|cp_ist_kum
|FLOAT
|10
|
|false
|ECTS Ist kumuliert
|
|

|-
|summe
|INTEGER
|4
|
|false
|Summe
|
|

|-
|sem_rueck_beur_ein_beginn
|INTEGER
|10
|
|false
|Semester bei Studienbeginn
|
|

|}
Primärschlüssel lm_cp_pro_fs_tid
#tid
*Index: lm_cp_pro_fs1 auf lm_cp_pro_fs (matrikel_nr );

*Index: lm_cp_pro_fs2 auf lm_cp_pro_fs (tid_stg );

*Index: lm_cp_pro_fs3 auf lm_cp_pro_fs (stg );

*Index: lm_cp_pro_fs4 auf lm_cp_pro_fs (abschluss );

*Index: lm_cp_pro_fs5 auf lm_cp_pro_fs (sem_rueck_beur_ein );


====lm_ects_soll_ist====


Typ: Hilfstabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|endsemester
|INTEGER
|10
|
|false
|
|
|

|-
|matrikel_nr
|INTEGER
|10
|
|false
|
|
|

|-
|pseudonym
|VARCHAR
|255
|
|false
|
|
|

|-
|ca12_staat
|INTEGER
|10
|
|false
|
|
|

|-
|geschlecht
|INTEGER
|10
|
|false
|
|
|

|-
|hzbart
|INTEGER
|10
|
|false
|
|
|

|-
|hrst
|CHAR
|10
|
|false
|
|
|

|-
|aktiv
|INTEGER
|10
|
|false
|
|
|

|-
|tid_stg
|INTEGER
|10
|
|false
|
|
|

|-
|stufrm
|CHAR
|10
|
|false
|
|
|

|-
|lehr_eigen
|CHAR
|10
|
|false
|
|
|

|-
|lehr_dienst
|CHAR
|10
|
|false
|
|
|

|-
|cnw_summe
|DOUBLE
|17
|
|false
|
|
|

|-
|ca_wert
|DOUBLE
|17
|
|false
|
|
|

|-
|fach_sem_zahl_max_student
|INTEGER
|10
|
|false
|
|
|

|-
|sem_rueck_beur_ein_max_student
|INTEGER
|10
|
|false
|
|
|

|-
|ects_soll
|DOUBLE
|17
|
|false
|
|
|

|-
|ects_ist
|DOUBLE
|17
|
|false
|
|
|

|-
|ects_soll_gew
|DOUBLE
|17
|
|false
|
|
|

|-
|ects_ist_gew
|DOUBLE
|17
|
|false
|
|
|

|}

*Index: ix_lm_ects_soll_ist1 auf lm_ects_soll_ist (matrikel_nr );

*Index: ix_lm_ects_soll_ist2 auf lm_ects_soll_ist (tid_stg );

*Index: ix_lm_ects_soll_ist3 auf lm_ects_soll_ist (endsemester );

*Index: ix_lm_ects_soll_ist4 auf lm_ects_soll_ist (lehr_eigen );

*Index: ix_lm_ects_soll_ist5 auf lm_ects_soll_ist (lehr_dienst );


====lm_exam_unit====
Hilfstabelle Einzelprüfungen: Zuordnung von Leistungen zu Prüfungslementen

Typ: Hilfstabelle, 
Themenbereich: Leistungen
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|matrikel_nr
|INTEGER
|4
|
|false
|Matrikel-Nr.
|
|

|-
|labnr
|INTEGER
|4
|
|false
|ID der Prüfung
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem der Prüfung
|<nowiki>z.B. 5=sospos,6=HISinOne</nowiki>
|

|-
|studiengang_nr
|SMALLINT
|2
|
|false
|Studiengang-Nr. der Prüfung
|
|

|-
|fach_nr
|SMALLINT
|2
|
|false
|Fach-Nr. der Prüfung
|
|

|-
|ch30_fach
|CHAR
|10
|
|false
|Fach der Leistung
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|cifx : apnr<br />key : 30<br />

|-
|ch39_vertief
|CHAR
|10
|
|false
|Vertiefung
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|cifx : apnr<br />key : 39<br />

|-
|ch35_ang_abschluss
|CHAR
|10
|
|false
|Abschluss
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|cifx : apnr<br />key : 35<br />

|-
|pversion
|SMALLINT
|2
|
|false
|PO-Version der Leistung
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|sos_k_pvers : apnr<br />

|-
|schwerpunkt
|CHAR
|10
|
|false
|Schwerpunkt
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|cifx : apnr<br />key : 41<br />

|-
|kz_fach
|CHAR
|10
|
|false
|Fachkennzeichen
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|stort
|CHAR
|10
|
|false
|Standort
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|stutyp
|CHAR
|10
|
|false
|Studientyp (Konto)
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|stufrm
|CHAR
|10
|
|false
|Studienform
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|cifx : apnr<br />key : 612<br />

|-
|course_of_study_lid
|INTEGER
|10
|
|false
|Studiengang (HIS)
|
|lm_course_of_study : lid<br />

|-
|tid_stg
|INTEGER
|4
|
|false
|Studiengang
|
|dim_studiengang : tid<br />

|-
|sem_der_pruefung
|SMALLINT
|2
|
|true
|Prüfungssemester
|
|semester : tid<br />

|-
|d_abg_pruefung
|DATE
|4
|
|false
|Prüfungsdatum
|
|

|-
|sem_d_abg_pruefung
|SMALLINT
|4
|
|false
|Semester des Prüfungsdatums
|
|

|-
|note
|FLOAT
|4
|
|false
|Note
|
|

|-
|fach_sem_zahl
|DECIMAL
|(10,2)
|
|false
|Fachsemesterzahl
|<nowiki>Wg. amtl. Stat./BSOS wird nicht die Semesterzahl in lab genommen, sondern über Matrikelnr., Fach, Abschluss,Vert.richtung und Semester aus stg</nowiki>
|

|-
|recommended_semester
|FLOAT
|255
|
|false
|Empfohlenes Fachsemester nach PO
|
|

|-
|pstatus
|CHAR
|10
|
|false
|Prüfungsstatus
|
|cifx : apnr<br />key : 622<br />

|-
|prueck
|SMALLINT
|10
|
|false
|Rücktrittskennzeichen (1/0)
|
|

|-
|pvermerk
|CHAR
|10
|
|false
|Vermerk zur Prüfung
|
|

|-
|zeitabschnitt
|CHAR
|10
|
|false
|Zeitabschnitt
|
|

|-
|pform
|CHAR
|10
|
|false
|Form der Prüfung
|
|

|-
|panerk
|CHAR
|10
|
|false
|Anerkannte Prüfung
|
|

|-
|panerk_art
|CHAR
|10
|
|false
|Anerkannte Prüfung Art
|
|cifx : apnr<br />key : 9016<br />

|-
|malus
|FLOAT
|10
|
|false
|Maluspunkte dieser Prüfung 
|
|

|-
|bonus
|FLOAT
|10
|
|false
|Bonus dieser Prüfung (Ist)
|
|

|-
|pordnr
|INTEGER
|10
|
|false
|Nummer des Prüfungselements
|
|

|-
|part
|CHAR
|10
|
|false
|Art der Prüfung
|
|cifx : apnr<br />key : 9002<br />

|-
|schriftlich
|SMALLINT
|10
|
|false
|Schriftliche Leistung (1/0)
|
|

|-
|ppflicht
|CHAR
|10
|
|false
|Pflicht
|
|cifx : apnr<br />key : 9018<br />

|-
|modulart
|CHAR
|10
|
|false
|Elementtyp
|
|cifx : apnr<br />key : 9013<br />

|-
|bonus_pord
|DOUBLE
|8
|
|false
|ECTS Bonus lt. PO (Soll)
|
|

|-
|pktxt
|CHAR
|255
|
|false
|Prüfungselement Kurztext
|
|

|-
|pdtxt
|CHAR
|255
|
|false
|Prüfungselement Drucktext
|
|

|-
|pversuch
|INTEGER
|4
|
|false
|Versuchsanzahl
|
|

|-
|pdum
|CHAR
|10
|
|false
|Kennzeichen Dummy-Pruefung
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|unit_uniquename
|VARCHAR
|255
|
|false
|Unit (Schlüssel)
|
|

|-
|official_statistics
|INTEGER
|10
|
|false
|Statistikkennzeichen
|<nowiki>1= der Abschluß (Bachelor/Master/Diplom), 2= Zwischenprüfung/Vordiplom, 3=Sonderausgabe Zeugnis, 5=ECTS NRW</nowiki>
|

|-
|calculate_ects_sum
|INTEGER
|10
|
|false
|Ermittlung Bonuspunkte Gesamtsumme
|<nowiki>0= nein, 1=ja</nowiki>
|

|-
|elementnr
|VARCHAR
|255
|
|false
|Elementnr.
|
|

|-
|zusatztext
|TEXT
|
|
|false
|Zusatztext für Prüfungen
|
|

|-
|summe
|INTEGER
|
|
|false
|Summe
|
|

|-
|unit_valid_from
|DATE
|
|
|false
|Unit Gültig von
|
|

|-
|unit_valid_to
|DATE
|
|
|false
|Unit Gültig bis
|
|

|-
|shortcomment
|VARCHAR
|
|
|false
|Unit Gültig bis
|
|

|}

*Index: lm_exam_unit1 auf lm_exam_unit (labnr, sourcesystem, pordnr, matrikel_nr );

*Index: lm_exam_unit2 auf lm_exam_unit (ch35_ang_abschluss, matrikel_nr, ch30_fach );

*Index: lm_exam_unit9 auf lm_exam_unit (modulart );


====lm_exam_unit_studies====
Hilfstabelle Einzelprüfungen: Zuordnung von Leistungen zu Studiengängen

Typ: Hilfstabelle, 
Themenbereich: Leistungen
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|matrikel_nr
|INTEGER
|4
|
|false
|Matrikel-Nr.
|
|

|-
|labnr
|INTEGER
|4
|
|false
|ID der Prüfung
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem der Prüfung
|<nowiki>z.B. 5=sospos,6=HISinOne</nowiki>
|

|-
|labnr_parent
|INTEGER
|4
|
|false
|Übergeordn. Knoten
|
|

|-
|top_labnr
|INTEGER
|4
|
|false
|Top-Knoten
|
|

|-
|ebene
|INTEGER
|4
|
|false
|Ebene im Baum
|
|

|-
|pordnr
|INTEGER
|10
|
|false
|Nummer des Prüfungselements
|
|

|-
|pordnr_parent
|INTEGER
|10
|
|false
|Nummer des übergeordn. Prüfungselements
|
|

|-
|parent_unit_uniquename
|VARCHAR
|255
|
|false
|
|
|

|-
|parent_unit_elementnr
|VARCHAR
|255
|
|false
|
|
|

|-
|abschluss
|CHAR
|10
|
|false
|Abschluss der Belegung
|
|

|-
|stg
|CHAR
|10
|
|false
|Studienfach der Belegung
|
|

|-
|vertiefung
|CHAR
|10
|
|false
|Vertiefung der Belegung
|
|

|-
|schwerpunkt
|CHAR
|10
|
|false
|Schwerpunkt der Belegung
|
|

|-
|kz_fach
|CHAR
|10
|
|false
|Haupt/Nebenfach der Belegung
|
|

|-
|pversion
|INTEGER
|2
|
|false
|Prüfungsordnungsversion der Belegung
|
|

|-
|pversion_uniquename
|VARCHAR
|255
|
|false
|Prüfungsordnungsversion (Schlüssel)
|
|

|-
|stutyp
|CHAR
|10
|
|false
|Studiumstyp (Schlüssel)
|
|

|-
|stort
|CHAR
|10
|
|false
|Standort
|
|

|-
|stufrm
|CHAR
|10
|
|false
|Studienform
|
|

|-
|tid_stg
|INTEGER
|4
|
|false
|Studiengang
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|calculate_ects_sum
|INTEGER
|10
|
|false
|Ermittlung Bonuspunkte Gesamtsumme
|<nowiki>0= nein, 1=ja</nowiki>
|

|-
|sortnr
|VARCHAR
|255
|
|false
|
|
|

|-
|parent_unit_ismodule
|SMALLINT
|10
|
|false
|Eltern-Unit ist Modul
|<nowiki>0= nein, 1=ja</nowiki>
|

|-
|labnr_parent_term
|INTEGER
|10
|
|false
|Eltern-Prüfung Semester
|
|

|-
|labnr_parent_pstatus
|CHAR
|10
|
|false
|Eltern-Prüfung Status
|
|

|-
|sem_der_pruefung
|SMALLINT
|2
|
|false
|Prüfungssemester
|
|

|-
|d_abg_pruefung
|DATE
|4
|
|false
|Prüfungsdatum
|
|

|-
|note
|FLOAT
|4
|
|false
|Note
|
|

|-
|fach_sem_zahl
|DECIMAL
|(10,2)
|
|false
|Fachsemesterzahl aus SOS
|<nowiki>Wg. amtl. Stat./BSOS wird nicht die Semesterzahl in lab genommen, sondern über Matrikelnr., Fach, Abschluss,Vert.richtung und Semester aus stg</nowiki>
|

|-
|pstatus
|CHAR
|10
|
|false
|Prüfungsstatus
|
|

|-
|prueck
|SMALLINT
|10
|
|false
|Rücktrittskennzeichen (1/0)
|
|

|-
|pvermerk
|CHAR
|10
|
|false
|Vermerk zur Prüfung
|
|

|-
|pnr
|INTEGER
|10
|
|false
|Prüfungsnummer
|
|

|-
|zeitabschnitt
|CHAR
|10
|
|false
|Zeitabschnitt
|
|

|-
|pform
|CHAR
|10
|
|false
|Form der Prüfung
|
|

|-
|panerk
|CHAR
|10
|
|false
|Anerkannte Prüfung
|
|

|-
|panerk_art
|CHAR
|10
|
|false
|Anerkannte Prüfung (Art)
|
|

|-
|bonus_pord
|DOUBLE
|8
|
|false
|ECTS Bonus lt. PO
|
|

|-
|bonus_exam
|DOUBLE
|8
|
|false
|ECTS Bonus der Prüfung
|
|

|-
|bonus_anteil_formel
|VARCHAR
|255
|
|false
|Studiengangsspez. Anteil des IST (Formel)
|
|

|-
|malus
|FLOAT
|10
|
|false
|Maluspunkte dieser Prüfung 
|
|

|-
|bonus
|FLOAT
|10
|
|false
|Guthaben-/Bonuspunkte dieser Prüfung im Studiengang
|
|

|-
|pversuch
|INTEGER
|4
|
|false
|Versuchsanzahl
|
|

|}

*Index: ix_lm_exam_unit_studies1 auf lm_exam_unit_studies (tid_stg, sourcesystem, matrikel_nr );


====lm_konto_pro_fs====
Kontostand der Leistungen des Studierenden im jew. Studiengang pro Fachsemester. Datengrundlage für ECTS Soll-Ist Vergleich und HAW Modell

Typ: Hilfstabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|tid
|SERIAL
|10
|
|true
|Laufnummer
|
|

|-
|matrikel_nr
|INTEGER
|10
|
|false
|Matrikel-Nr.
|
|

|-
|pseudonym
|VARCHAR
|255
|
|false
|Pseudonym
|
|

|-
|ca12_staat
|SMALLINT
|2
|
|true
|Nationalität
|
|dim_staat : astat<br />

|-
|geschlecht
|SMALLINT
|2
|
|true
|Geschlecht
|<nowiki>1=Männlich, 2=Weiblich</nowiki>
|sos_k_geschl : apnr<br />

|-
|alter
|DECIMAL
|(14,2)
|
|false
|Alter in Jahren
|
|

|-
|hzbart
|SMALLINT
|2
|
|false
|Art der HZB (gruppiert)
|<nowiki>in 5 groben Kategorien: Allgem. HS-Reife, Fachgeb.HS-Reife etc.</nowiki>
|

|-
|hzbart_int
|CHAR
|10
|
|false
|Art der Hochschulzugangsber. (intern)
|<nowiki>Interner Schlüssel der HZB-Art</nowiki>
|sos_k_hzbart : apnr<br />

|-
|hzbnote
|DECIMAL
|(5,2)
|
|false
|Note bei der HZB
|
|

|-
|hrst
|CHAR
|10
|
|false
|Hörerstatus
|
|cifx : apnr<br />key : 613<br />

|-
|sem_rueck_beur_ein
|INTEGER
|10
|
|false
|Semester
|
|semester : tid<br />

|-
|tid_stg
|INTEGER
|10
|
|false
|Studiengang
|
|dim_studiengang : tid<br />

|-
|pversion
|SMALLINT
|2
|
|false
|PO-Version
|
|

|-
|pversion_uniquename
|VARCHAR
|255
|
|false
|Prüfungsordnungsversion (Schlüssel)
|
|

|-
|studiengang_nr
|INTEGER
|10
|
|false
|Studienang-Nr.
|
|

|-
|fach_nr
|INTEGER
|10
|
|false
|Fach-Nr.
|
|

|-
|stg
|CHAR
|10
|
|false
|Fach (Konto)
|
|k_stg : stg<br />

|-
|abschluss
|CHAR
|10
|
|false
|Abschluss (Konto)
|
|k_abint : abint<br />

|-
|stufrm
|CHAR
|10
|
|false
|Studienform
|
|cifx : apnr<br />key : 612<br />

|-
|stutyp
|CHAR
|10
|
|false
|Studientyp (Konto)
|
|cifx : apnr<br />key : 40<br />

|-
|ch62_grund_exmatr
|CHAR
|10
|
|false
|Exmatrikulationsgrund
|
|sos_k_gdex : apnr<br />

|-
|fach_sem_zahl
|INTEGER
|10
|
|false
|Fachsemester
|
|

|-
|min_fach_sem_zahl
|INTEGER
|10
|
|false
|Min. Fachsemester
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|max_fach_sem_zahl
|INTEGER
|10
|
|false
|Max. Fachsemester
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|regel
|FLOAT
|10
|
|false
|Regelstudienzeit
|
|

|-
|aktiv
|SMALLINT
|10
|
|false
|Aktiv
|
|

|-
|ects_soll
|FLOAT
|10
|
|false
|ECTS Soll
|
|

|-
|ects_soll_kum
|FLOAT
|10
|
|false
|ECTS Soll kumuliert
|
|

|-
|ects_ist
|FLOAT
|10
|
|false
|ECTS Ist
|
|

|-
|ects_ist_kum
|FLOAT
|10
|
|false
|ECTS Ist kumuliert
|
|

|-
|ects_ancp
|FLOAT
|10
|
|false
|CP Anerkannt
|
|

|-
|ects_ancp_kum
|FLOAT
|10
|
|false
|CP Anerkannt kumuliert
|
|

|-
|ects_nbcp
|FLOAT
|10
|
|false
|CP Nicht Bestanden
|
|

|-
|ects_nbcp_kum
|FLOAT
|10
|
|false
|CP Nicht Bestanden kumuliert
|
|

|-
|ects_rtcp
|FLOAT
|10
|
|false
|CP Rücktritt
|
|

|-
|ects_rtcp_kum
|FLOAT
|10
|
|false
|CP Rücktritt kumuliert
|
|

|-
|ects_befvcp
|FLOAT
|10
|
|false
|CP aus bestandenen Freiversuchen
|
|

|-
|ects_befvcp_kum
|FLOAT
|10
|
|false
|CP aus bestandenen Freiversuchen
|
|

|-
|ects_nbfvcp
|FLOAT
|10
|
|false
|CP aus nicht bestandenen Freiversuchen
|
|

|-
|ects_nbfvcp_kum
|FLOAT
|10
|
|false
|CP aus nicht bestandenen Freiversuchen
|
|

|-
|signalpr_vert
|VARCHAR
|255
|
|false
|Vertiefung gem. Signalprüfung
|
|

|-
|summe
|INTEGER
|4
|
|false
|Summe
|
|

|-
|cp_ist
|FLOAT
|10
|
|false
|CP Ist
|
|

|-
|cp_ist_kum
|FLOAT
|10
|
|false
|CP Ist kumuliert
|
|

|-
|sem_rueck_beur_ein_beginn
|INTEGER
|10
|
|false
|Semester bei Studienbeginn
|
|

|-
|kz_rueck_beur_ein
|SMALLINT
|2
|
|false
|Rückmeldestatus
|
|

|}
Primärschlüssel lm_konto_pro_fs_tid
#tid
*Index: lm_konto_pro_fs1 auf lm_konto_pro_fs (matrikel_nr );

*Index: lm_konto_pro_fs2 auf lm_konto_pro_fs (tid_stg );

*Index: lm_konto_pro_fs3 auf lm_konto_pro_fs (stg );

*Index: lm_konto_pro_fs4 auf lm_konto_pro_fs (abschluss );

*Index: lm_konto_pro_fs5 auf lm_konto_pro_fs (sem_rueck_beur_ein );


===Views===
===Funktionen / Prozeduren===
===Masken===
{| class="prettytable"  border="1" 
|-
! Maske 
! Nummer 
! Beschreibung
|-
|Abschlussarbeiten Statistik
|41160
| 

|-
|ECTS Soll-Ist Vergleich (Archivdaten)
|41280
| 

|-
|ECTS Soll-Ist Vergleich (Leistungsmonitoring)
|41060
| 

|-
|ECTS-Soll Kontrolle
|41310
| 

|-
|Leistungen Datenblatt
|41230
| 

|-
|Leistungen pro Fachsemester Datenblatt
|41000
| 

|-
|Leistungen pro Studiengang im Detail
|41040
| 

|-
|Notenverteilung von Modulen nach Studiengang
|41190
| 

|-
|Prüfprotokoll Leistungsmonitoring
|41080
| 

|-
|Prüfungsanalyse und -erfolg
|41130
| 

|-
|Studienfortschritt (HAW-Modell) 
|41020
| 

|-
|Studierende nach Schwerpunkt (Signalprüfungen) 
|41100
| 

|}


=Schnittstellenbeschreibung=
==Installation==
Folgende Tabellen werden bei der Installation geladen:

==Upgrade==
Folgende Tabellen werden bei dem Upgrade geladen:

==ETL-Routine==
Folgende Tabellen werden in der ETL-Routine geladen:

* lm_unit_neu
wird geladen aus: $LM_LOAD_PFAD/unl/lm_unit.unl
* lm_unitrelation_neu
wird geladen aus: $LM_LOAD_PFAD/unl/lm_unitrelation.unl
* lm_examrelation_neu
wird geladen aus: $LM_LOAD_PFAD/unl/lm_examrelation.unl
* lm_examination_neu
wird geladen aus: $LM_LOAD_PFAD/unl/lm_examination.unl
* lm_cifx_neu
wird geladen aus: $LM_LOAD_PFAD/unl/cifx.unl
* lm_examplan_neu
wird geladen aus: $LM_LOAD_PFAD/unl/lm_examplan.unl
* lm_unit_studies_neu
wird geladen aus: $LM_LOAD_PFAD/unl/lm_unit_studies.unl
* lm_course_of_study_neu
wird geladen aus: $LM_LOAD_PFAD/unl/lm_course_of_study.unl
* lm_stud_d_neu
wird geladen aus: $LM_LOAD_PFAD/unl/lm_stud_d.unl
* lm_accreditation_neu
wird geladen aus: $LM_LOAD_PFAD/unl/lm_accreditation.unl
* lm_unit_top_neu
wird geladen aus: $LM_LOAD_PFAD/unl/lm_unit_top.unl
* lm_exam_instructor_neu
wird geladen aus: $LM_LOAD_PFAD/unl/lm_exam_instructor.unl
* lm_exam_written
wird geladen aus: $LM_LOAD_PFAD/unl/lm_exam_written.unl
* lm_additional_examtext
wird geladen aus: $LM_LOAD_PFAD/unl/lm_additional_examtext.unl



=Schnittstellen lm=
{| class="prettytable"  border="1" 
|-
|SuperX-Version
|3.0

|-
|Modulversion
|0.6b

|-
|Sachgebiet
|Leistungsmonitoring id 300

|-
|Systeminfo
|Leistungsmonitoring id 300

|-
|Thema
|Leistungsmonitoring

|-
|Themenbaum-Ast
|Studierende, Prüfungen

|}
==Ladeschritt 1: lm_unit_neu==


Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|shorttext
|VARCHAR
|255
|
|false
|
|
|

|-
|defaulttext
|VARCHAR
|255
|
|false
|
|
|

|-
|longtext
|VARCHAR
|255
|
|false
|
|
|

|-
|elementnr
|VARCHAR
|255
|
|false
|
|
|

|-
|calculate_ects_sum
|INTEGER
|10
|
|false
|Ermittlung Bonuspunkte Gesamtsumme
|<nowiki>0= nein, 1=ja</nowiki>
|

|-
|official_statistics
|INTEGER
|10
|
|false
|Kennzeichnung von Leistungen für offizielle Berichte (amtl.Statistik, Rente, Zeugnis)
|<nowiki>1= der Abschluß (Bachelor/Master/Diplom), 2= Zwischenprüfung/Vordiplom, 3=Sonderausgabe Zeugnis, 5=ECTS NRW</nowiki>
|

|-
|elementtyp
|VARCHAR
|255
|
|false
|
|
|

|-
|default_unitrelation_id
|INTEGER
|17
|
|false
|
|
|

|-
|pdum
|CHAR
|10
|
|false
|Kennzeichen Dummy-Prüfung
|
|

|-
|uniquename
|VARCHAR
|255
|
|false
|Schlüssel des Elements
|
|

|-
|hours_per_week
|FLOAT
|17
|
|false
|
|
|

|-
|editing_k_status_id
|VARCHAR
|255
|
|false
|
|
|

|-
|transfer_allowed
|INTEGER
|17
|
|false
|
|
|

|-
|freetrial_check
|INTEGER
|17
|
|false
|
|
|

|-
|k_unit_purpose_id
|VARCHAR
|255
|
|false
|
|
|

|-
|valid_from
|DATE
|255
|
|false
|Gültig von
|
|

|-
|valid_to
|DATE
|255
|
|false
|Gültig bis
|
|

|-
|shortcomment
|VARCHAR
|
|
|false
|Gültig bis
|
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_unit.unl

(Format csv, Trennzeichen ^, 20 Spalten + Trennzeichen am Ende)
==Ladeschritt 2: lm_unitrelation_neu==


Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|parent_unit_id
|INTEGER
|10
|
|false
|
|
|

|-
|child_unit_id
|INTEGER
|10
|
|false
|
|
|

|-
|unitrelationtype
|CHAR
|255
|
|false
|
|
|

|-
|recommended_semester
|FLOAT
|255
|
|false
|
|
|

|-
|bonus
|FLOAT
|255
|
|false
|
|
|

|-
|malus
|FLOAT
|10
|
|false
|
|
|

|-
|generation_weight
|FLOAT
|10
|
|false
|
|
|

|-
|type_of_grading
|INTEGER
|10
|
|false
|
|
|

|-
|sortorder
|INTEGER
|10
|
|false
|
|
|

|-
|compulsory
|CHAR
|255
|
|false
|
|
|

|-
|alternative_recommended_semester
|VARCHAR
|255
|
|false
|
|
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_unitrelation.unl

(Format csv, Trennzeichen ^, 13 Spalten + Trennzeichen am Ende)
==Ladeschritt 3: lm_examrelation_neu==


Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Quellfeld (Quellsystem: Tabelle.Feld) 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|Unbekannt

|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|Unbekannt

|
|
|

|-
|parent_examplan_id
|INTEGER
|10
|
|false
|Unbekannt

|
|
|

|-
|child_examplan_id
|INTEGER
|10
|
|false
|Unbekannt

|
|
|

|-
|unitrelationtype
|VARCHAR
|255
|
|false
|Unbekannt

|
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|Unbekannt

|
|
|

|-
|bonus
|FLOAT
|255
|
|false
|Unbekannt

|
|
|

|-
|malus
|FLOAT
|10
|
|false
|Unbekannt

|
|
|

|-
|pstatus
|VARCHAR
|255
|
|false
|<nowiki>sospos: lab.pstatus ; hisinone: examrelation.k_workstatus_id</nowiki>
|Prüfungsstatus
|<nowiki>z.B.BE=bestanden</nowiki>
|

|-
|credits_used_for_weighting
|FLOAT
|10
|
|false
|Unbekannt

|
|
|

|-
|is_approved
|INTEGER
|10
|
|false
|Unbekannt

|
|<nowiki>1=ist Anerkennung, 0= keine Anerkennung</nowiki>
|

|-
|internal_accreditationtype
|VARCHAR
|255
|
|false
|Unbekannt

|Art der Anerkennung
|<nowiki>Für Leistungsübernahmen</nowiki>
|

|-
|date_of_work
|DATE
|10
|
|false
|Unbekannt

|Datum, für das die Leistung angerechnet wird
|<nowiki>Für Leistungsübernahmen</nowiki>
|

|-
|sem_der_pruefung
|SMALLINT
|2
|
|false
|Unbekannt

|Semester der Prüfung
|
|

|}

*Index: lm_examrelation_n_1 auf lm_examrelation_neu (bonus );

*Index: lm_examrelation_n_2 auf lm_examrelation_neu (child_examplan_id );

*Index: lm_examrelation_n_3 auf lm_examrelation_neu (parent_examplan_id );


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_examrelation.unl

(Format csv, Trennzeichen ^, 14 Spalten + Trennzeichen am Ende)
==Ladeschritt 4: lm_examination_neu==


Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|
|
|

|-
|source_event_unit_id
|INTEGER
|10
|
|false
|Zuordnung auf die gekoppelte Veranstaltungs-Unit
|
|

|-
|pform
|VARCHAR
|255
|
|false
|
|
|

|-
|part
|VARCHAR
|255
|
|false
|
|
|

|-
|exam_written
|INTEGER
|10
|
|false
|Empfohlenes Fachsemester
|
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_examination.unl

(Format csv, Trennzeichen ^, 7 Spalten + Trennzeichen am Ende)
==Ladeschritt 5: tmp_konstanten==
Die Tabelle tmp_konstanten wird nur temporär werdend des Ladens erzeugt.

==Ladeschritt 6: lm_cifx_neu==
Ladetabelle für neue Schlüssel

Typ: Schlüsseltabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|key
|SMALLINT
|5
|
|false
|
|
|

|-
|hs
|INTEGER
|10
|
|false
|
|
|

|-
|apnr
|VARCHAR
|255
|
|false
|
|
|

|-
|kurz
|CHAR
|10
|
|false
|
|
|

|-
|druck
|VARCHAR
|200
|
|false
|
|
|

|-
|lang_1
|CHAR
|255
|
|false
|
|
|

|-
|astat
|CHAR
|10
|
|false
|
|
|

|-
|parent
|CHAR
|10
|
|false
|
|
|

|-
|uniquename
|CHAR
|255
|
|false
|
|
|

|-
|bund_apnr
|CHAR
|10
|
|false
|
|
|

|-
|sprache
|CHAR
|3
|
|false
|
|
|

|-
|d_akt_von
|DATE
|13
|
|false
|
|
|

|-
|d_akt_bis
|DATE
|13
|
|false
|
|
|

|-
|sourcesystem_id
|VARCHAR
|255
|
|false
|
|
|

|-
|hiskey_id
|VARCHAR
|255
|
|false
|
|
|

|-
|struktur_c
|CHAR
|50
|
|false
|
|
|

|-
|lid
|VARCHAR
|255
|
|false
|Langlebige ID
|
|

|-
|parent_lid
|VARCHAR
|255
|
|false
|Übergeordnete langlebige ID
|
|

|-
|sortorder
|INTEGER
|8
|
|false
|
|
|

|}


==Ladeschritt 7: lm_examplan_neu==
Leistungen

Typ: Ladetabelle, 
Themenbereich: Prüfungen
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|matrikel_nr
|INTEGER
|4
|
|false
|Matrikel-Nr.
|
|

|-
|id
|INTEGER
|2
|
|true
|ID
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|Prüfungselement
|
|

|-
|person_id
|INTEGER
|10
|
|false
|Person
|
|

|-
|planelement_id
|INTEGER
|10
|
|false
|Planelement
|
|

|-
|prueck
|SMALLINT
|10
|
|false
|Zurückgetreten
|
|

|-
|d_abg_pruefung
|DATE
|4
|
|false
|Datum der Prüfung
|
|

|-
|psws
|FLOAT
|10
|
|false
|Semesterwochenstunden
|
|

|-
|pform
|VARCHAR
|255
|
|false
|Form der Prüfung
|
|

|-
|sem_der_pruefung
|SMALLINT
|2
|
|true
|Semester der Prüfung
|
|

|-
|zeitabschnitt
|CHAR
|10
|
|false
|Zeitabschnitt
|
|

|-
|k_grade_assessment_status
|VARCHAR
|255
|
|false
|Notenstatus
|
|

|-
|pvermerk
|VARCHAR
|255
|
|false
|Vermerk zur Prüfung
|
|

|-
|default_examrelation_id
|INTEGER
|10
|
|false
|Leistungsnr. im Baum
|
|

|-
|cancelation_impossible
|INTEGER
|10
|
|false
|Abmeldung durch Studenten möglich
|
|

|-
|additional_work
|INTEGER
|10
|
|false
|freiwillige Zusatzleistung
|
|

|-
|pnote
|FLOAT
|10
|
|false
|Prüfungsnote
|
|

|-
|score
|FLOAT
|10
|
|false
|Erreichte Punkte der Leistung
|<nowiki>Wie gut oder schlecht das ist, steht im Feld pnote</nowiki>
|

|-
|panerk
|CHAR
|10
|
|false
|Anerkannte Prüfung
|
|

|-
|pversuch
|INTEGER
|10
|
|false
|Versuchszahl
|
|

|-
|free_trial
|INTEGER
|10
|
|false
|Freiversuch
|<nowiki>0=normale Leistung, 1=Leistung gilt als Freiversuch</nowiki>
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_examplan.unl

(Format csv, Trennzeichen ^, 22 Spalten + Trennzeichen am Ende)
==Ladeschritt 8: lm_unit_studies_neu==


Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|
|
|

|-
|unit_id
|INTEGER
|10
|
|false
|Prüfungselement
|
|

|-
|course_of_study_lid
|INTEGER
|10
|
|false
|Prüfungselement
|
|

|-
|root_elementtype_hiskey
|INTEGER
|10
|
|false
|hiskey des Wurzelelementes, zu der die Unit gehört
|<nowiki>Prüfungsordnung(4), Eignungsordnung(1), Immatrikulationsordnung(10)</nowiki>
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_unit_studies.unl

(Format csv, Trennzeichen ^, 5 Spalten + Trennzeichen am Ende)
==Ladeschritt 9: lm_course_of_study_neu==
Studiengangkombinationen aus SOS (Ladetabelle)

Typ: Schlüsseltabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Quellfeld (Quellsystem: Tabelle.Feld) 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|true
|<nowiki>hisinone: course_of_study.id</nowiki>
|
|
|

|-
|lid
|INTEGER
|10
|
|true
|<nowiki>hisinone: course_of_study.id</nowiki>
|
|
|

|-
|sourcesystem
|INTEGER
|1
|
|false
|Unbekannt

|
|
|

|-
|uniquename
|VARCHAR
|255
|
|false
|<nowiki>hisinone: course_of_study.uniquename</nowiki>
|
|
|

|-
|ktxt
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.ktxt ; hisinone: course_of_study.substring(shorttext from 1 for 10)</nowiki>
|
|
|

|-
|dtxt
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.dtxt ; hisinone: course_of_study.substring(defaulttext from 1 for 25)</nowiki>
|
|
|

|-
|ltxt
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.ltxt ; hisinone: course_of_study.substring(longtext from 1 for 150)</nowiki>
|
|
|

|-
|pversion
|INTEGER
|2
|
|false
|<nowiki>sospos: k_abstgv.pversion ; hisinone: course_of_study.k_examinationversion_id</nowiki>
|
|
|

|-
|fb
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.fb ; hisinone: Leerstring</nowiki>
|
|
|

|-
|stutyp
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.stutyp ; hisinone: course_of_study.k_type_of_study_id</nowiki>
|
|
|

|-
|kzfa
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.kzfa ; hisinone: course_of_study.k_subject_indicator_id</nowiki>
|
|
|

|-
|stort
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.stort ; hisinone: course_of_study.k_place_of_studies_id</nowiki>
|
|
|

|-
|lehreinh
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.lehreinh ; hisinone: orgunit.id</nowiki>
|
|<nowiki>Anders als SOS ist der Schlüssel hier Zehnstellig</nowiki>
|

|-
|abschluss
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.abschl ; hisinone: degree.id</nowiki>
|
|
|

|-
|stg
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.stg ; hisinone: subject.id</nowiki>
|
|
|

|-
|vert
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.vert ; hisinone: major_field_of_study.id</nowiki>
|
|
|

|-
|schwp
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.schwp ; hisinone: course_specialization.id</nowiki>
|
|
|

|-
|stuart
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.stuart ; hisinone: Leerstring</nowiki>
|
|
|

|-
|stufrm
|VARCHAR
|255
|
|false
|<nowiki>sospos: k_abstgv.stufrm ; hisinone: course_of_study.k_form_of_studies_id</nowiki>
|
|
|

|-
|regelstz
|DECIMAL
|(4,2)
|
|false
|<nowiki>sospos: k_abstgv.regelstz ; hisinone: course_of_study.regular_number_of_semesters</nowiki>
|
|
|

|-
|sem_gueltigbis
|SMALLINT
|2
|
|false
|<nowiki>sospos: k_abstgv.sem_gueltigbis ; hisinone: Wert="course_of_study.to_term_year + term_type.termnumber"</nowiki>
|
|
|

|-
|part_of_studies
|INTEGER
|4
|
|false
|<nowiki>hisinone: Wert="course_of_study.part_of_studies"</nowiki>
|ECTS-Gewicht des Fachs
|
|

|-
|valid_from
|DATE
|255
|
|false
|Unbekannt

|Gültig von
|
|

|-
|valid_to
|DATE
|255
|
|false
|Unbekannt

|Gültig bis
|
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_course_of_study.unl

(Format csv, Trennzeichen ^, 24 Spalten + Trennzeichen am Ende)
==Ladeschritt 10: lm_stud_d_neu==
Email Adressen

Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|matrikel_nr
|INTEGER
|10
|
|false
|Matrikel-Nr.
|
|

|-
|namenszusatz
|VARCHAR
|255
|
|false
|
|
|

|-
|nachname
|VARCHAR
|255
|
|false
|
|
|

|-
|namenssuffix
|VARCHAR
|255
|
|false
|
|
|

|-
|vorname
|VARCHAR
|255
|
|false
|
|
|

|-
|email
|VARCHAR
|255
|
|false
|
|
|

|-
|personattribute_lm_email
|VARCHAR
|255
|
|false
|
|
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_stud_d.unl

(Format csv, Trennzeichen ^, 7 Spalten + Trennzeichen am Ende)
==Ladeschritt 11: lm_accreditation_neu==
Anerk. Leistungen

Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|2
|
|true
|ID
|
|

|-
|examplan_id
|INTEGER
|2
|
|false
|ID der anerkannten Leistung
|
|

|-
|accreditation_person
|VARCHAR
|255
|
|false
|Person der Anerkennung
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|accreditation_date
|DATE
|2
|
|false
|Datum der Anerkennung
|
|

|-
|k_accreditationtype_id
|VARCHAR
|255
|
|false
|ID der Anerkennungsart
|
(Das Feld wird derzeit noch nicht ausgewertet.) 
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|-
|origin_examplan_id
|INTEGER
|2
|
|false
|ID der ursprünglichen Leistung
|
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_accreditation.unl

(Format csv, Trennzeichen ^, 7 Spalten + Trennzeichen am Ende)
==Ladeschritt 12: lm_unit_top_neu==
Top-Knoten der POen für LM und deren Zuordnung zu Units

Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Quellfeld (Quellsystem: Tabelle.Feld) 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|tid
|INTEGER
|4
|
|true
|<nowiki>sospos: Leerstring ; hisinone: unit_top.id</nowiki>
|ID
|
|

|-
|unit_id
|INTEGER
|4
|
|false
|<nowiki>sospos: Leerstring ; hisinone: unit_top.unit_id</nowiki>
|Untergeordnete Unit
|
|

|-
|top_unit_id
|INTEGER
|4
|
|false
|<nowiki>sospos: Leerstring ; hisinone: top_unit_id.unit_id</nowiki>
|Übergeordnete Unit
|
|

|-
|sourcesystem
|INTEGER
|10
|
|false
|<nowiki>sospos: Wert="5" ; hisinone: Wert="6"</nowiki>
|Quellsystem
|
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_unit_top.unl

(Format csv, Trennzeichen ^, 4 Spalten + Trennzeichen am Ende)
==Ladeschritt 13: lm_exam_instructor_neu==
Prüfernamen

Typ: Ladetabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|examplan_id
|INTEGER
|2
|
|false
|ID der Leistung
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|-
|ordnr
|INTEGER
|4
|
|false
|Ordnungsnummer
|<nowiki>1=Erstprüfer/in, 2= Zweitprüfer/in</nowiki>
|

|-
|lastname
|VARCHAR
|255
|
|false
|Nachname
|
|

|-
|firstname
|VARCHAR
|255
|
|false
|Vorname
|
|

|-
|ordnr2
|INTEGER
|4
|
|false
|Ordnungsnummer
|<nowiki>Reihenfolge in welcher Personen aufgelistet werden sollen (z. B. im Web)</nowiki>
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_exam_instructor.unl

(Format csv, Trennzeichen ^, 6 Spalten + Trennzeichen am Ende)
==Ladeschritt 14: lm_exam_written==
Schriftliche_Arbeiten

Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|ID
|
|

|-
|examplan_id
|INTEGER
|10
|
|false
|ID der Leistung
|
|

|-
|date_of_application
|DATE
|255
|
|false
|Antragsdatum
|
|

|-
|startdate
|DATE
|255
|
|false
|Startdatum
|
|

|-
|planned_end
|DATE
|255
|
|false
|Geplante Abgabe
|
|

|-
|real_end
|DATE
|255
|
|false
|Abgabe
|
|

|-
|title
|VARCHAR
|255
|
|false
|Titel
|
|

|-
|commentary
|VARCHAR
|255
|
|false
|Kommentar
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_exam_written.unl

(Format csv, Trennzeichen ^, 9 Spalten + Trennzeichen am Ende)
==Ladeschritt 15: lm_additional_examtext==
Zusatztext_von_Prüfungen

Typ: Datentabelle, 
Themenbereich: Leistungsmonitoring
{| class="prettytable"  border="1" 
|-
! Feldname
! Feldtyp 
! Größe 
! Default 
! Not Null 
! Beschreibung 
! Kommentar 
! Fremdschlüssel
|-
|id
|INTEGER
|10
|
|false
|ID
|
|

|-
|examplan_id
|INTEGER
|10
|
|false
|ID der Leistung
|
|

|-
|k_additional_examtext_type_id
|INTEGER
|10
|
|false
|ID des Typs des Zusatztextes
|
|

|-
|additional_text
|TEXT
|
|
|false
|Zusatztext
|
|

|-
|k_language_id
|INTEGER
|10
|
|false
|ID Sprache
|
|

|-
|sourcesystem
|INTEGER
|4
|
|false
|Quellsystem
|
|

|}


Wird gefüllt duch die Datei:

LM_PFAD/rohdaten/unl/lm_additional_examtext.unl

(Format csv, Trennzeichen ^, 6 Spalten + Trennzeichen am Ende)




=Parameter für das Entladen in der Komponente LM-Modul=
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | Parameter für das Entladen
|-
! Parametername || Default Wert || Beschreibung || Kommentar
 
 |-
|SOURCESYSTEM
|hisinone
|hisinone (HIS1 Datenbank)
| 

|-
|VERSION
|13
|Datenbank-Version
|SOSPOS-Version, möglich  ist 13 (gilt für alle Versionen). Bei HISinOne wird sie automatisch gesetzt.

|-
|LM_ADRESSTAG_MAIL
|1=0
|Sollen Email-Adressen der Studierenden entladen werden?
| Wenn ja, dann ist der Wert ein Filter für die H1-Tabelle k_adresstag mit alias AT, z.B. "AT.hiskey_id=8", wenn nein, dann ist er "1=0"

|-
|PERSONATTRIBUTE_LM_EMAIL
|0
|Personenattribut Email-Zustimmung
|Wird bei Datenquelle HISinOne ausgewertet.

|-
|LM_PRUEFER_NAME
|false
|Sollen Name/Vorname der Prüfer entladen werden?
| Wenn ja, dann ist der Wert "true", wenn nein, dann ist es "false". 

|-
|LM_PRUEFUNG_ZUSATZTEXT
|false
|Sollen Zusatztexte für Prüfungen entladen werden?
| Wenn ja, dann ist der Wert "true", wenn nein, dann ist es "false". 

|-
|LM_EXAM_WRITTEN
|false
|Sollen zusätzliche Angaben wie bspw. Titel, Datumsangaben zu schriftlichen Arbeiten entladen werden? Warnung! Kann zu Problemen in Form von Konnektorabbrüchen führen, wenn bspw. Sonderzeichen im Titel oder Kommentar stehen.
| Wenn ja, dann ist der Wert "true", wenn nein, dann ist es "false". 

|}
=Beschreibung Entladescript LM-Modul=
==Unload-Job preparation1==
;Beschreibung: Studiengänge vorbereiten
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck preparation1
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>


DROP TABLE IF EXISTS tmp_lm_course_of_study;
CREATE TABLE tmp_lm_course_of_study (
    id integer NOT NULL,
    lid integer NOT NULL,
    degree_lid integer,
    degree_id integer,
    subject_lid integer,
    subject_id integer,
    major_field_of_study_lid integer,
    major_field_of_study_id integer,
    course_specialization_lid integer,
    course_specialization_id integer,
    k_subject_indicator_id integer,
    k_examinationversion_id integer,
    k_place_of_studies_id integer,
    k_enrollment_id integer,
    k_type_of_study_id integer,
    k_form_of_studies_id integer,
    part_of_studies integer NOT NULL,
    valid_from date,
    valid_to date,
    k_language_id integer NOT NULL,
    shorttext character varying,
    defaulttext character varying NOT NULL,
    longtext character varying,
    orgunit_lid integer,
    orgunit_id integer,
    regular_number_of_semesters integer,
    uniquename character varying,
    from_term_year integer,
    from_term_type_id integer,
    to_term_year integer,
    to_term_type_id integer,
    admission_to_study_id integer,
    is_admission_to_study integer,
    is_course_of_study_start integer,
    k_course_of_study_type_id integer NOT NULL,
    termcategory integer NOT NULL,
    teachingunit_orgunit_lid integer,
    teachingunit_orgunit_id integer,
    k_field_of_study_id integer,
    examination_office_no character varying,
    is_historized smallint
);

</nowiki>

|}
==Unload-Job preparation2==
;Beschreibung:Studiengänge Historisierung vorbereiten
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck preparation2
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>



insert into tmp_lm_course_of_study( id,
       lid,
       degree_lid,
       subject_lid,
       major_field_of_study_lid,
       course_specialization_lid,
       k_subject_indicator_id,
       k_examinationversion_id,
       k_place_of_studies_id,
       k_enrollment_id,
       k_type_of_study_id,
       k_form_of_studies_id,
       part_of_studies,
       valid_from,
       valid_to,
       k_language_id,
       shorttext,
       defaulttext,
       longtext,
       orgunit_lid,
       regular_number_of_semesters,
       uniquename,
       from_term_year,
       from_term_type_id,
       to_term_year,
       to_term_type_id,
       admission_to_study_id,
       is_admission_to_study,
       is_course_of_study_start,
       k_course_of_study_type_id,
       termcategory,
       teachingunit_orgunit_lid,
       k_field_of_study_id,
       examination_office_no,
       is_historized)
SELECT id,
       lid,
       degree_lid,
       subject_lid,
       major_field_of_study_lid,
       course_specialization_lid,
       k_subject_indicator_id,
       k_examinationversion_id,
       k_place_of_studies_id,
       k_enrollment_id,
       k_type_of_study_id,
       k_form_of_studies_id,
       part_of_studies,
       valid_from,
       valid_to,
       k_language_id,
       shorttext,
       defaulttext,
       longtext,
       orgunit_lid,
       regular_number_of_semesters,
       uniquename,
       from_term_year,
       from_term_type_id,
       to_term_year,
       to_term_type_id,
       admission_to_study_id,
       is_admission_to_study,
       is_course_of_study_start,
       k_course_of_study_type_id,
       termcategory,
       teachingunit_orgunit_lid,
       k_field_of_study_id,
       examination_office_no,
       0 --is_historized
FROM course_of_study;
--ermitteln der historisierten IDs
--degree
update tmp_lm_course_of_study set degree_id=(select D.id from degree D
where D.lid=tmp_lm_course_of_study.degree_lid
and (D.valid_from <= tmp_lm_course_of_study.valid_from
or D.valid_from is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
and (D.valid_to >= tmp_lm_course_of_study.valid_to
or D.valid_to is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
);
--wenn degree nicht ermittelt werden kann, dann ohne Historisierung
update tmp_lm_course_of_study set degree_id=(select min(D.id) from degree D
where D.lid=tmp_lm_course_of_study.degree_lid
)
where degree_id is null
;
--subject
update tmp_lm_course_of_study set subject_id=(select D.id from subject D
where D.lid=tmp_lm_course_of_study.subject_lid
and (D.valid_from <= tmp_lm_course_of_study.valid_from
or D.valid_from is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
and (D.valid_to >= tmp_lm_course_of_study.valid_to
or D.valid_to is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
);
--wenn subject nicht ermittelt werden kann, dann ohne Historisierung
update tmp_lm_course_of_study set subject_id=(select min(D.id) from subject D
where D.lid=tmp_lm_course_of_study.subject_lid
)
where subject_id is null
;
--major_field_of_study
update tmp_lm_course_of_study set major_field_of_study_id=(select D.id from major_field_of_study D
where D.lid=tmp_lm_course_of_study.major_field_of_study_lid
and (D.valid_from <= tmp_lm_course_of_study.valid_from
or D.valid_from is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
and (D.valid_to >= tmp_lm_course_of_study.valid_to
or D.valid_to is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
);
--course_specialization_lid
update tmp_lm_course_of_study set course_specialization_id=(select D.id from course_specialization D
where D.lid=tmp_lm_course_of_study.course_specialization_lid
and (D.valid_from <= tmp_lm_course_of_study.valid_from
or D.valid_from is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
and (D.valid_to >= tmp_lm_course_of_study.valid_to
or D.valid_to is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
);
--orgunit
update tmp_lm_course_of_study set orgunit_id=(select D.id from orgunit D
where D.lid=tmp_lm_course_of_study.orgunit_lid
and (D.valid_from <= tmp_lm_course_of_study.valid_from
or D.valid_from is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
and (D.valid_to >= tmp_lm_course_of_study.valid_to
or D.valid_to is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
);
--wenn Studiengang heute gültig ist und orgunit historisiert, nimmt er den aktuellen FB
update tmp_lm_course_of_study set orgunit_id=(select D.id from orgunit D
where D.lid=tmp_lm_course_of_study.orgunit_lid
and current_date between D.valid_from and D.valid_to)
where current_date between valid_from and valid_to
and orgunit_id is null;


--teachingunit_orgunit_lid

update tmp_lm_course_of_study set teachingunit_orgunit_id=(select D.id from orgunit D
where D.lid=tmp_lm_course_of_study.teachingunit_orgunit_lid
and (D.valid_from <= tmp_lm_course_of_study.valid_from
or D.valid_from is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
and (D.valid_to >= tmp_lm_course_of_study.valid_to
or D.valid_to is null
or ( D.valid_from is null and tmp_lm_course_of_study.valid_from is null)
)
)
where teachingunit_orgunit_lid is not null;

--wenn Studiengang heute gültig ist und orgunit historisiert, nimmt er aktuelle LE
update tmp_lm_course_of_study set teachingunit_orgunit_id=(select D.id from orgunit D
where D.lid=tmp_lm_course_of_study.teachingunit_orgunit_lid
and current_date between D.valid_from and D.valid_to)
where current_date between valid_from and valid_to
and teachingunit_orgunit_id is null;


--k_field_of_study
update tmp_lm_course_of_study set k_field_of_study_id=(select S.k_field_of_study_id
from subject S
where S.id=tmp_lm_course_of_study.subject_id)
where k_field_of_study_id is null;
--hochprojizieren auf Fächergruppe
update tmp_lm_course_of_study set k_field_of_study_id=(select K.parent_id
from k_field_of_study K
where K.id=tmp_lm_course_of_study.k_field_of_study_id);

--is_historized=1 wenn es mehrere Studiengänge pro LID gibt
update tmp_lm_course_of_study set is_historized=1
where 1 < (select count(*) from course_of_study C
where C.lid=tmp_lm_course_of_study.lid);

create index tmp_lm_i_tc1 on tmp_lm_course_of_study(lid);


</nowiki>

|}
==Unload-Job konstanten==
;Beschreibung: wichtige Konstanten aus SOS entladen, z.B. HISSOS-Version.
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck konstanten
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>


select 1,6,'LM_Quellsystem' 
;

</nowiki>

|}
;Unload-Datei:unl/konstanten.unl
==Unload-Job lm_unit==
;Beschreibung:Pruefungsordnungsdaten
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_unit
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>

SELECT id,
   6 as sourcesystem,
substring(U.shorttext from 1 for 255),
substring(U.defaulttext from 1 for 255),
substring(U.longtext from 1 for 255),
U.elementnr,
U.calculate_ects_sum,
U.official_statistics,  
U.k_elementtype_id,
U.default_unitrelation_id,
null::char(1) as pdum,
substring(U.uniquename from 1 for 255),
U.hours_per_week,
U.editing_k_status_id,
U.transfer_allowed,
U.freetrial_check,
U.k_unit_purpose_id,
U.valid_from,
U.valid_to,
U.shortcomment
 FROM
 unit U 
    ;


</nowiki>

|}
;Unload-Datei:unl/lm_unit.unl
==Unload-Job lm_unit_studies==
;Beschreibung:Pruefungsordnungsdaten
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_unit_studies
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>

SELECT US.id,
   6 as sourcesystem,
US.unit_id,
US.course_of_study_lid,
US.root_elementtype_hiskey
from unit_studies US
where US.root_elementtype_hiskey=4 --nur Prüfungen #189067


</nowiki>

|}
;Unload-Datei:unl/lm_unit_studies.unl
==Unload-Job lm_course_of_study==
;Beschreibung:Studiengänge
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_course_of_study
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>

SELECT C.id,
C.lid,
   6 as sourcesystem,
substring(C.uniquename from 1 for 255),
substring(C.shorttext from 1 for 255),
substring(C.defaulttext from 1 for 255),
substring(C.longtext from 1 for 255),
C.k_examinationversion_id,--    pversion,
C.orgunit_id,--       fb,
C.k_enrollment_id,--   stutyp,
C.k_subject_indicator_id,--   kzfa,
C.k_place_of_studies_id,--   stort,
C.teachingunit_orgunit_id,--  lehreinh,
C.degree_id,--   abschl,
C.subject_id,--  stg,
C.major_field_of_study_id,--  vert,
C.course_specialization_id,--  schwp,
C.k_type_of_study_id,--    stuart,
C.k_form_of_studies_id,--  stufrm,
C.regular_number_of_semesters,--  regelstz,
'' || C.to_term_year || T.termnumber, --  sem_gueltigbis
C.part_of_studies,
C.valid_from,
C.valid_to
       FROM tmp_lm_course_of_study C
       left outer join term_type  T on (C.to_term_type_id=T.id);

</nowiki>

|}
;Unload-Datei:unl/lm_course_of_study.unl
==Unload-Job lm_unitrelation==
;Beschreibung:Pruefungsordnungsdaten
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_unitrelation
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>

SELECT R.id,
6 as sourcesystem,
R.parent_unit_id,
R.child_unit_id,
R.k_unitrelationtype_id,
R.recommended_semester,
R.bonus,
R.malus,
R.generation_weight,
--neu
G.type_of_grading,
R.sortorder,
R.k_compulsory_id,
R.alternative_recommended_semester
 FROM
 unitrelation R left outer join grading_type G
 on (R.grading_type_id = G.id)
 ;


</nowiki>

|}
;Unload-Datei:unl/lm_unitrelation.unl
==Unload-Job lm_examrelation==
;Beschreibung:Pruefungsdaten
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_examrelation
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>

SELECT R.id,
6 as sourcesystem,
R.parent_examplan_id,
R.child_examplan_id,
R.k_unitrelationtype_id,
null::integer as unit_id,
R.bonus,
R.malus,
R.k_workstatus_id,
R.credits_used_for_weighting,
(case when A.hiskey_id=1001 then 1::integer else 0::integer end) as is_approved,
R.k_internal_accreditationtype_id,
R.date_of_work,
'' || R.term_year || T.termnumber as sem_der_pruefung
 FROM
 examrelation R left outer join k_internal_accreditationtype A
 on (A.id=R.k_internal_accreditationtype_id)
 left outer join term_type T
 on (T.id = R.term_type_id)
  
    ;


</nowiki>

|}
;Unload-Datei:unl/lm_examrelation.unl
==Unload-Job lm_examination==
;Beschreibung:Pruefungsordnungsdaten
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_examination
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>

SELECT E.id,
6 as sourcesystem,
E.unit_id,
E.source_event_unit_id,
E.k_examform_id,
E.k_examination_type_id,
E.exam_written
 FROM
 examination E  
    ;


</nowiki>

|}
;Unload-Datei:unl/lm_examination.unl
==Unload-Job lm_examplan==
;Beschreibung:Pruefungsdaten
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_examplan
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>

SELECT S.registrationnumber,--TODO: Pseudonym
E.id,
6 as sourcesystem,
E.unit_id,
E.person_id,
E.planelement_id,
E.cancelation, --prueck
E.date_of_work, --pdatum
E.semesterhours,
E.k_examform_id, --pform
'' || E.term_year || T.termnumber,--psem,
E.term_segment, --ptermin
E.k_grade_assessment_status_id,
E.k_remark_on_exam_id, --pvermerk
E.default_examrelation_id,
E.cancelation_impossible,
E.additional_work,
G.grade, --pnote TODO: umrechung bei Staatsexamen Jura in Note
G.score,
null::integer as panerk,
G.attempt,
G.free_trial
FROM student S,   term_type T , unit U, k_elementtype K ,examplan E , examrelation R left outer join examresult G
on (G.examrelation_id=R.id)
where E.default_examrelation_id=R.id
and U.id=E.unit_id
and U.k_elementtype_id=K.id
and T.id = E.term_type_id
and S.person_id = E.person_id
  AND (
    U.uniquename != 'AP-EXT'
    OR U.uniquename IS NULL
  ) --ext.Pruefungnen ausschliessen
  AND (K.hiskey_id is null or K.hiskey_id not in (7,10)) --keine HZB-Leistungen, Einzureichende Unterlagen für STU #189067
  ;



</nowiki>

|}
;Unload-Datei:unl/lm_examplan.unl
==Unload-Job lm_exam_instructor==
;Beschreibung:Prüfernamen
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_exam_instructor
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>


select E.id,
6 as sourcesystem,
null as ordnr,
PE.surname,
PE.firstname,
PA.sortorder as ordnr2
from hisinone.examplan E, hisinone.planelement P, hisinone.planned_dates PD, hisinone.planable A, hisinone.person_planable PA, hisinone.person PE
where E.planelement_id=P.id
and A.id=P.id
and PD.planable_id=A.id
and A.id=PA.planable_id
and PA.abstract_person_id=PE.id
and '$LM_PRUEFER_NAME'='true'
union
select E.id,
6 as sourcesystem,
1 as ordnr,
PE.surname,
PE.firstname,
I.sortorder as ordnr2
from hisinone.examplan E, hisinone.planelement P, hisinone.planned_dates PD, hisinone.planable A, hisinone.instructor I, hisinone.k_instructortask IT, hisinone.person PE
where E.planelement_id=P.id
and A.id=P.id
and PD.planable_id=A.id
and PD.id=I.planned_dates_id
and I.k_instructortask_id=IT.id
and IT.hiskey_id =1 
and I.abstract_person_id=PE.id
and '$LM_PRUEFER_NAME'='true'
union
select E.id,
6 as sourcesystem,
2 as ordnr,
PE.surname,
PE.firstname,
I.sortorder as ordnr2
from hisinone.examplan E, hisinone.planelement P, hisinone.planned_dates PD, hisinone.planable A, hisinone.instructor I, hisinone.k_instructortask IT, hisinone.person PE
where E.planelement_id=P.id
and A.id=P.id
and PD.planable_id=A.id
and PD.id=I.planned_dates_id
and I.k_instructortask_id=IT.id
and IT.hiskey_id =2
and I.abstract_person_id=PE.id
and '$LM_PRUEFER_NAME'='true'
--Prüfungen ohne Veranstaltung, z.B. Abschlussarbeiten:
union
select E.id,
6 as sourcesystem,
IT.hiskey_id as ordnr,
P.surname,
P.firstname,
null as ordnr2
from hisinone.examplan E, hisinone.examrelation R, hisinone.examresult ER,hisinone.examvaluation V, hisinone.k_instructortask IT, hisinone.person P
where (E.default_examrelation_id=R.id or R.child_examplan_id=E.id)
and V.examresult_id=ER.id
and ER.examrelation_id=R.id
and IT.id=V.k_instructortask_id
and P.id=V.person_id
and '$LM_PRUEFER_NAME'='true'




</nowiki>

|}
;Unload-Datei:unl/lm_exam_instructor.unl
==Unload-Job lm_accreditation==
;Beschreibung:Anerkennungsdaten
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_accreditation
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>

SELECT A.id,
       A.examplan_id,
       null::char(1) as accreditation_person,
       A.accreditation_date,
       A.k_accreditationtype_id,
       6 as sourcesystem,
       R.origin_examplan_id
FROM accreditation A, accreditation_relation R
where A.examplan_id=R.accreditation_examplan_id
 ;


</nowiki>

|}
;Unload-Datei:unl/lm_accreditation.unl
==Unload-Job cifx==
;Beschreibung:Schlüsseltabelle cifx
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck cifx
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>


   SELECT
   9015,
-1,
   ('' || id)::varchar(255) as id,
   substring(shorttext from 1 for 10),
   substring(defaulttext from 1 for 100),
   substring(longtext from 1 for 150),
null::char(1),--astat,
null::char(1),--parent
uniquename,
null::char(1), --bund_apnr
substring('' || k_language_id from 1 for 3), --sprache,
null::char(1), --gueltig von
null::char(1), --gueltig bis
id , --sourcesystem_id
'' || hiskey_id,
null::char(1),  --struktur_c
null::char(1) as lid,
null::char(255) as parent_lid,
sortorder
   FROM k_unitrelationtype
   union
     SELECT
   9016,
-1,
   ('' || id)::varchar(255) as id,
   substring(shorttext from 1 for 10),
   substring(defaulttext from 1 for 100),
   substring(longtext from 1 for 150),
null::char(1),--astat,
null::char(1),--parent
uniquename,
null::char(1), --bund_apnr
substring('' || k_language_id from 1 for 3), --sprache,
null::char(1), --gueltig von
null::char(1), --gueltig bis
id , --sourcesystem_id
'' || hiskey_id,
null::char(1),  --struktur_c
null::char(1) as lid,
null::char(255) as parent_lid,
sortorder
   FROM k_accreditationtype
   union
     SELECT
   9017,
-1,
   ('' || id)::varchar(255) as id,
   substring(shorttext from 1 for 10),
   substring(defaulttext from 1 for 100),
   substring(longtext from 1 for 150),
null::char(1),--astat,
null::char(1),--parent
uniquename,
null::char(1), --bund_apnr
substring('' || k_language_id from 1 for 3), --sprache,
null::char(1), --gueltig von
null::char(1), --gueltig bis
id , --sourcesystem_id
'' || hiskey_id,
null::char(1),  --struktur_c
null::char(1) as lid,
null::char(255) as parent_lid,
sortorder
   FROM k_additional_examtext_type
     union
     SELECT
   9018,
-1,
   ('' || id)::varchar(255) as id,
   substring(shorttext from 1 for 10),
   substring(defaulttext from 1 for 100),
   substring(longtext from 1 for 150),
null::char(1),--astat,
null::char(1),--parent
uniquename,
null::char(1), --bund_apnr
substring('' || k_language_id from 1 for 3), --sprache,
null::char(1), --gueltig von
null::char(1), --gueltig bis
id , --sourcesystem_id
'' || hiskey_id,
null::char(1),  --struktur_c
null::char(1) as lid,
null::char(255) as parent_lid,
sortorder
   FROM k_compulsory
   union
     SELECT
   9019,
-1,
   ('' || id)::varchar(255) as id,
   substring(shorttext from 1 for 10),
   substring(defaulttext from 1 for 100),
   substring(longtext from 1 for 150),
null::char(1),--astat,
null::char(1),--parent
uniquename,
null::char(1), --bund_apnr
substring('' || k_language_id from 1 for 3), --sprache,
null::char(1), --gueltig von
null::char(1), --gueltig bis
id , --sourcesystem_id
'' || hiskey_id,
null::char(1),  --struktur_c
null::char(1) as lid,
null::char(255) as parent_lid,
sortorder
   FROM k_internal_accreditationtype
   
  ;

</nowiki>

|}
;Unload-Datei:unl/cifx.unl
==Unload-Job lm_stud_d==
;Beschreibung:
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_stud_d
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>
    
select S.registrationnumber,
P.nameprefix,
P.surname,
P.namesuffix,
P.firstname,
A.eaddress ,
PA.attributevalue
from
k_notificationcategory N, address_k_notificationcategory AN, address A, student S, eaddresstype EAT, k_addresstag AT, person P 
left outer join personattribute PA on (P.id=PA.person_id
and current_date between PA.valid_from and PA.valid_to
and PA.personattributetype_id = ($PERSONATTRIBUTE_LM_EMAIL)
) 
where N.id=AN.k_notificationcategory_id
and A.id=AN.address_id
and P.id=A.person_id
and P.id=S.person_id
and EAT.id=A.eaddresstype_id
and EAT.hiskey_id=10 --Email
and A.k_addresstag_id=AT.id
and $LM_ADRESSTAG_MAIL 
and N.hiskey_id=2 --Studium - Korrespondenz 


</nowiki>

|}
;Unload-Datei:unl/lm_stud_d.unl
==Unload-Job lm_unit_top==
;Beschreibung:
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_unit_top
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>
    

SELECT id,
       unit_id,
       top_unit_id,
       6
FROM unit_top;

</nowiki>

|}
;Unload-Datei:unl/lm_unit_top.unl
==Unload-Job lm_exam_written==
;Beschreibung:
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_exam_written
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>
    

SELECT id,
       examplan_id,
       date_of_application,
       startdate,
       planned_end,
       real_end,
       SUBSTRING (title, 1, 255),
       commentary,
       6
FROM exam_written
where 
	'$LM_EXAM_WRITTEN'='true'
;

</nowiki>

|}
;Unload-Datei:unl/lm_exam_written.unl
==Unload-Job lm_additional_examtext==
;Beschreibung:
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck lm_additional_examtext
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>
    

SELECT id,
       examplan_id,
       k_additional_examtext_type_id,
       additional_text,
       k_language_id,
       6
FROM additional_examtext
where 
	'$LM_PRUEFUNG_ZUSATZTEXT'='true'
;

</nowiki>

|}
;Unload-Datei:unl/lm_additional_examtext.unl
==Unload-Job finalize==
;Beschreibung:Beendigung
{| class="prettytable"  border="1" 
|+ style="padding-bottom:1em" | SQL-Ausdruck finalize
|-
! Quellsystem || Ausdruck

|-
|Quellsystem hisinone 
|<nowiki>



drop table tmp_lm_course_of_study;

</nowiki>

|}






<br clear="all">
<!--Standard-Footer-->
<!--Weitere Handlungsoptionen im "Siehe-auch-Bereich" -->
{{Siehe auch|[[Business-Intelligence-Dokumentation-Inhaltsverzeichnis|Business-Intelligence]]|[[Administration und Konfiguration - HISinOne-BI|Administration und Konfiguration ]]|[[Komponentenverwaltung_der_HISinOne-BI| HISinOne Komponentenverwaltung]]}}
<!-- Standard-Footer Ende-->



