Browse Source

Erweiterung fuer Kennzeichen storniert und zurückgezogen bei Bewerbungen #381809

master
Imo John 4 days ago
parent
commit
ced8535b0c
  1. 2
      src-modules/module/costage/conf/costage.xml
  2. 10
      src-modules/module/costage/hilfstabellen/costage_bw_antr_aggr_fuellen.sql
  3. 2
      src-modules/module/costage/rohdaten/costage_unload.xml
  4. 4
      src-modules/module/costage/rohdaten_zul/zul_costage_unload.xml

2
src-modules/module/costage/conf/costage.xml

@ -830,6 +830,8 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[CO]" /> @@ -830,6 +830,8 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[CO]" />
</column>
<column name="summe" type ="INTEGER" size ="4" default ="" notnull ="false" description="Summe" />
<column name="zurueckgezogen_kz" type ="VARCHAR" size ="10" default ="" notnull ="false" description="Kennzeichen Zurückgezogen" />
<column name="storniert_kz" type ="VARCHAR" size ="10" default ="" notnull ="false" description="Kennzeichen Storniert" />
</columns>
</table>
<table name="costage_st_lv_aggr" thema="Lehre" caption="Lehrveranstaltsteilnahme (CO)" typ="Hilfstabelle" releaseUnload="empty">

10
src-modules/module/costage/hilfstabellen/costage_bw_antr_aggr_fuellen.sql

@ -61,6 +61,8 @@ null::char(10) as bew_kz, @@ -61,6 +61,8 @@ null::char(10) as bew_kz,
null::char(10) as zul_kz,
null::char(10) as annahme_kz,
null::char(10) as einschreib_kz,
null::char(10) as zurueckgezogen_kz, -- where zurueckgezogen_am is not null
null::char(10) as storniert_kz, -- where storniert_am is not null
null::CHAR(10) as hzb_art ,
null::DATE as hzb_datum ,
null::FLOAT as hzb_note ,
@ -195,6 +197,8 @@ update tmp_bew set einschreib_kz='J' where status_evs='J' @@ -195,6 +197,8 @@ update tmp_bew set einschreib_kz='J' where status_evs='J'
;
</#if>
update tmp_bew set zurueckgezogen_kz='J' where zurueckgezogen_am is not null;
update tmp_bew set storniert_kz='J' where storniert_am is not null;
--TODO:
update tmp_bew
@ -237,6 +241,8 @@ bew_kz, @@ -237,6 +241,8 @@ bew_kz,
zul_kz,
annahme_kz,
einschreib_kz,
zurueckgezogen_kz,
storniert_kz,
hzb_art,
hzb_datum,
hzb_note,
@ -266,6 +272,8 @@ bew_kz, @@ -266,6 +272,8 @@ bew_kz,
zul_kz,
annahme_kz,
einschreib_kz,
zurueckgezogen_kz,
storniert_kz,
hzb_art,
hzb_datum,
hzb_note,
@ -273,7 +281,7 @@ hzb_ort, @@ -273,7 +281,7 @@ hzb_ort,
hzb_staat,
count(*)
from tmp_bew
group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31;
group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33;
drop table tmp_bew;

2
src-modules/module/costage/rohdaten/costage_unload.xml

@ -413,7 +413,7 @@ and to_number('20' || replace(replace(S.semester_id,'S','1'),'W','2')) >= $COSTA @@ -413,7 +413,7 @@ and to_number('20' || replace(replace(S.semester_id,'S','1'),'W','2')) >= $COSTA
and current_date+365 > S.semester_anfang
and extract(year from S.semester_anfang) > 2000
and B.abgeschickt_datum is not null --TUG: abgeschickt_datum = Null sind zu filtern. Diese wurden dann nie an die Hochschule übermittelt.
and B.zurueckgezogen_am is null
--and B.zurueckgezogen_am is null
;
]]>

4
src-modules/module/costage/rohdaten_zul/zul_costage_unload.xml

@ -277,7 +277,9 @@ A.nr as satzid, @@ -277,7 +277,9 @@ A.nr as satzid,
null, -- pversion
null, --zvs_ekritpaket_01,
null , --zvs_ekritpaket_02
null --updated_admission_relevant_data_at
null --updated_admission_relevant_data_at,
A.zurueckgezogen_kz,
A.storniert_kz
FROM costage_bw_antr_aggr A, costage_st_studiengaenge G
where A.st_studiengang_nr=G.st_studiengang_nr
and A.bw_typ_kb !='MBW'

Loading…
Cancel
Save