"attrib_nachbearbeitung":"update <<tmp_table>> set <<col>>='99' where <<col>>::integer > 2;",
"foreignkey_cond":"apnr in ('1','2')",
"sortfield":"apnr"},
{"maskeninfo_id":21000,
"name":"tid_stg",
@ -216,7 +216,7 @@
@@ -216,7 +216,7 @@
"foreignkey_tab":"sos_k_geschl",
"foreignkey_col":"apnr::varchar(255)",
"foreignkey_cap":"druck",
"attrib_nachbearbeitung":"update <<tmp_table>> set <<col>>='99' where <<col>>::integer > 2;",
"foreignkey_cond":"apnr in ('1','2')",
"sortfield":"apnr"},
{"maskeninfo_id":21100,
"name":"tid_stg",
@ -268,6 +268,48 @@
@@ -268,6 +268,48 @@
"name":"note",
"caption":"Note",
"is_sicht":2},
{"maskeninfo_id":21100,
"name":"stg",
"caption":"Fach",
"is_virtual":1,
"is_coldim":0,
"vcsql":"update tmp_rohdaten set stg=(select stg from dim_studiengang where tid=tid_stg)",
"foreignkey_tab":"k_stg",
"foreignkey_col":"stg",
"foreignkey_cap":"ltxt",
"sortfield":"ltxt"},
{"maskeninfo_id":21100,
"name":"fb",
"caption":"Fachbereich/Fakultät",
"is_virtual":1,
"vcsql":"update tmp_rohdaten set fb=(select fb from dim_studiengang where tid=tid_stg)",
"foreignkey_tab":"cifx",
"foreignkey_col":"apnr::varchar(255)",
"foreignkey_cap":"druck",
"foreignkey_cond":"key=90",
"sortfield":"druck"},
{"maskeninfo_id":21100,
"name":"lehr",
"caption":"Lehreinheit",
"is_virtual":1,
"vcsql":"update tmp_rohdaten set lehr=(select lehr from dim_studiengang where tid=tid_stg)",
"foreignkey_tab":"xcube_dims",
"foreignkey_col":"apnr",
"foreignkey_cap":"name",
"foreignkey_cond":"id='lehr'",
"sortfield":"name"},
{"maskeninfo_id":21100,
"name":"dauer_rsz",
"caption":"Stud.Dauer im Verhältnis zur RSZ",
"is_virtual":1,
"vcsql":"update tmp_rohdaten set dauer_rsz= nvl(fach_sem_zahl -(select regel from dim_studiengang where tid=tid_stg),0)",
"foreignkey_tab":"xcube_dims",
"foreignkey_col":"apnr",
"foreignkey_cap":"name",
"foreignkey_cond":"id='dauer_rsz'",
"attrib_nachbearbeitung":"update <<tmp_table>> set <<col>>='-1' where <<col>>::numeric(5,2) <0.00;update <<tmp_table>> set <<col>>=<<col>>::numeric(5,2)::integer::varchar(10) where <<col>>::numeric(5,2) >=0.00 and <<col>>::numeric(5,2)< 2.00;update <<tmp_table>> set <<col>>='2' where <<col>>::numeric(5,2) >=2.00",