<columnname="st_studiengang_nr_msg"type ="INTEGER"size ="8"default =""notnull ="false"description="Studiengang (ID) des MSG"><comment>nur bei TSG</comment></column>
<columnname="statustyp"type ="CHAR"size ="10"default =""notnull ="false"description="Studienstatus"><comment>ESG oder, bei TSG, der Status des MSG</comment></column>
<columnname="st_studiengang_nr_msg"type ="INTEGER"size ="8"default =""notnull ="false"description="Studiengang (ID) des MSG"><comment>nur bei TSG</comment></column>
@ -1275,6 +1282,11 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
@@ -1275,6 +1282,11 @@ parent="CO Basisdaten">Abfragen zu Prüfungen und Leistungen</thema>
@ -58,26 +62,49 @@ and L.leistungsstatus_nr in (4,2) --Letztgültig/Final/gültige Leistung
@@ -58,26 +62,49 @@ and L.leistungsstatus_nr in (4,2) --Letztgültig/Final/gültige Leistung
@ -7,7 +7,10 @@ order by 1^ ^^
@@ -7,7 +7,10 @@ order by 1^ ^^
43081^Seit Semester^3^0^0^140^80^1^integer^30^0^1^<<SQL>> select semester_tid, semester_bezeichnung from costage_st_semester order by 1 DESC;^ ^<<SQL>> select semester_tid, semester_bezeichnung from costage_st_semester where today()-365 between date(semester_anfang) and date(semester_ende);^
43083^Staatsangehörigkeit^36^0^0^130^150^10^sql^30^0^1^<<SQL>> SELECT st_land_nr, name from costage_st_laender order by 2;^^^
43084^Prüfungsstatus^14^350^-1^140^180^1^char^30^0^1^<<SQL>> select apnr,druck from cifx where key=622 order by 2^^ ^
43085^Studienabschnitt^10^330^-1^130^150^1^integer^4^0^13^<<SQL>> select tid, eintrag from studienabschnitt where tid <= 2;^^<<SQL>> select tid, eintrag from studienabschnitt where tid = 2;^
43085^Auswertungsebene Prüfungen^25^330^-1^130^150^1^char^4^0^1^<<SQL>> select 'G','Gesamtabschluss' from xdummy\
union select 'F','Absolvent*innenfachfälle' from xdummy\
union select 'T','Teilstudienabschluss' from xdummy\
select name,string_not_null(caption) || ' - ' || name from sx_tables where name in ('costage_st_studierendenstammdaten','costage_st_studiengaenge')\
@ -15,8 +18,8 @@ select name,string_not_null(caption) || ' - ' || name from sx_tables where name
@@ -15,8 +18,8 @@ select name,string_not_null(caption) || ' - ' || name from sx_tables where name
and name in (select distinct tablename from stylesheet_field where stylesheet_id in (select tid from sx_stylesheets where filename=<<tablestylesheet>>)) \
</#if>\
order by 2^^^
43087^Leistungsdetailtyp^35^350^-1^140^100^10^integer^30^0^1^<<SQL>> select leistungsdetailtyp_kb,name_de from costage_leistungen_detail_typen\
where leistungsdetailtyp_kb in (select distinct leistungsdetailtyp_kb from costage_st_pruef_aggr);^^^
43087^Leistungsdetailtyp^20^350^-1^140^100^10^char^30^0^1^<<SQL>> select leistungsdetailtyp_kb,name_de from costage_leistungen_detail_typen\
where leistungsdetailtyp_kb in (select distinct leistungsdetailtyp_kb from costage_st_pruef_aggr);^^^
43089^Bis Semester^4^350^-1^140^80^1^integer^30^0^1^<<SQL>> select semester_tid, semester_bezeichnung from costage_st_semester order by 1 DESC;^ ^<<SQL>> select semester_tid, semester_bezeichnung from costage_st_semester where today() between date(semester_anfang) and date(semester_ende);^
/* AND leistungsdetailtyp_kb in (<<Leistungsdetailtyp>>) */\
/* and leistungsstatus_map_kb in(<<Prüfungsstatus>>) */\
/* and costage_st_pruef_aggr.st_studiengang_nr in (select G.st_studiengang_nr from costage_st_studiengaenge G where G.abschluss in (<<Abschluss>>)) */\
/* and costage_st_pruef_aggr.st_studiengang_nr in (select G.st_studiengang_nr from costage_st_studiengaenge G where G.stg in (<<Fach>>)) */\
/* and studiengang_nr =<<Studiengang-Nr.>> */\
/* and fach_nr =<<Fach-Nr.>> */\
/* and costage_st_pruef_aggr.st_studstamm_nr in (select S.st_studstamm_nr from costage_st_studierendenstammdaten S where S.st_land1_nr in (<<Staatsangehörigkeit>>) ) */\
/* <#assign fach_filter="costage_st_pruef_aggr.st_studiengang_nr in (select G.st_studiengang_nr from costage_st_studiengaenge G where G.stg in (<<Fach>>)) "/> \
*/\
\
\
\
<#assign ldt_filter="1=1" />\
/*<#if <<Auswertungsebene Prüfungen>>=="G">\
<#assign ldt_filter="leistungsdetailtyp_kb in ('BAKN', 'MAGN', 'STEX', 'ERGAB')" />\
<#assign semester_feld="semester_msg" />\
/* <#assign fach_filter="costage_st_pruef_aggr.st_studiengang_nr in \
(select M.st_studiengang_nr_msg from costage_st_studiengaenge G , costage_st_studiengaenge_mtsg M\
where M.st_studiengang_nr_tsg=G.st_studiengang_nr\
and G.stg in (<<Fach>>)) "/> \
*/\
\
\
</#if> */\
/*<#if <<Auswertungsebene Prüfungen>>=="F">\
<#assign ldt_filter="leistungsdetailtyp_kb in ('TSAB')" />\
<#assign semester_feld="semester_msg" />\
</#if> */\
/*<#if <<Auswertungsebene Prüfungen>>=="T">\
<#assign ldt_filter="leistungsdetailtyp_kb in ('TSAB')" />\
FROM costage_st_studiengaenge G, costage_st_studien_aggr F, superx_sos S
WHERE F.matrikelnummer = S.mtknr
and G.st_studiengang_nr=F.st_studiengang_nr
@ -2506,8 +2507,8 @@ on (C.id=L.course_of_study_id)
@@ -2506,8 +2507,8 @@ on (C.id=L.course_of_study_id)
<![CDATA[
SELECT
P.matrikelnummer,
null::integer as studiengang_nr,
null::integer as fach_nr,
P.studiengang_nr,
P.fach_nr,
G.abschluss,
P.semester,
P.leistungsdatum,
@ -2546,7 +2547,14 @@ null::integer as pstatkennz,
@@ -2546,7 +2547,14 @@ null::integer as pstatkennz,
null::integer as ppunkte,
null::CHAR(1), --stuart
G.stufrm,
null::CHAR(1) --stutyp
null::CHAR(1), --stutyp
st_studium_nr as degree_program_id,
null::char(1) as k_elementtype_id,
null::char(1) as ut_top_unit_id,
null::char(1) as ut_top_k_elementtype_id,
null::char(1) as child_ut_top_unit_id,
null::char(1) as child_ut_top_unit_stat,
null::char(1) as k_unit_purpose_id
FROM costage_st_pruef_aggr P, costage_st_studiengaenge G
where G.st_studiengang_nr=P.st_studiengang_nr
AND P.semester >= $start_pruef_sem
@ -3151,7 +3159,13 @@ WHERE CURRENT_DATE BETWEEN ou.valid_from AND ou.valid_to AND
@@ -3151,7 +3159,13 @@ WHERE CURRENT_DATE BETWEEN ou.valid_from AND ou.valid_to AND