Browse Source

Hinzufügen von weiteren Dimensionen aus dim_studiengang

xcube0.1
Marlies Winterstein 2 years ago
parent
commit
3a1d760420
  1. 58
      src-modules/module/xcube/schluesseltabellen/xcube_install.sql

58
src-modules/module/xcube/schluesseltabellen/xcube_install.sql

@ -61,6 +61,7 @@
"foreignkey_tab":"sos_k_geschl", "foreignkey_tab":"sos_k_geschl",
"foreignkey_col":"apnr::varchar(255)", "foreignkey_col":"apnr::varchar(255)",
"foreignkey_cap":"druck", "foreignkey_cap":"druck",
"attrib_nachbearbeitung": "update <<tmp_table>> set <<col>>='99' where <<col>>::integer > 2;",
"sortfield":"apnr"}, "sortfield":"apnr"},
{"maskeninfo_id":21000, {"maskeninfo_id":21000,
"name":"tid_stg", "name":"tid_stg",
@ -139,6 +140,62 @@
"name":"hzbnote", "name":"hzbnote",
"caption":"HZB-Note", "caption":"HZB-Note",
"is_sicht":2}, "is_sicht":2},
{"maskeninfo_id":21000,
"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":21000,
"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":21000,
"name":"stort",
"caption":"Standort",
"is_virtual":1,
"vcsql":"update tmp_rohdaten set stort=(select stort from dim_studiengang where tid=tid_stg)",
"foreignkey_tab":"cifx",
"foreignkey_col":"apnr::varchar(255)",
"foreignkey_cap":"druck",
"foreignkey_cond":"key=306",
"sortfield":"druck"},
{"maskeninfo_id":21000,
"name":"stutyp",
"caption":"Studientyp",
"foreignkey_tab":"cifx",
"foreignkey_col":"apnr::varchar(255)",
"foreignkey_cap":"druck",
"foreignkey_cond":"key=40",
"sortfield":"druck"},
{"maskeninfo_id":21000,
"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":21000,
"name":"kz_rueck_beur_ein",
"caption":"Status",
"foreignkey_tab":"cifx",
"foreignkey_col":"hiskey_id::varchar(255)",
"foreignkey_cap":"druck",
"foreignkey_cond":"key=9001",
"sortfield":"druck"},
<#-- Primärbuchungswürfel --> <#-- Primärbuchungswürfel -->
{"maskeninfo_id":21500, {"maskeninfo_id":21500,
@ -175,6 +232,7 @@
"name":"projnr", "name":"projnr",
"caption":"Kostenträger", "caption":"Kostenträger",
"is_sicht":1 } "is_sicht":1 }
] /> ] />

Loading…
Cancel
Save