Browse Source

Maske xcubes verwalten, Bearbeitungsformulare #2

xcube0.1
Daniel Quathamer 2 years ago
parent
commit
83beb3447f
  1. 268
      src-modules/module/xcube/conf/xcube.xml
  2. 6
      src-modules/module/xcube/masken/21030_felderinfo.unl
  3. 1
      src-modules/module/xcube/masken/21030_maske_system_bez.unl
  4. 5
      src-modules/module/xcube/masken/21030_masken_felder_bez.unl
  5. 44
      src-modules/module/xcube/masken/21030_maskeninfo.unl
  6. 1
      src-modules/module/xcube/masken/21030_sachgeb_maske_bez.unl
  7. 2
      src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql

268
src-modules/module/xcube/conf/xcube.xml

@ -4,54 +4,54 @@
<database name="superx" version="2.1" system="superx"> <database name="superx" version="2.1" system="superx">
<table name="xcube"> <table name="xcube">
<columns> <columns>
<column name="tid" type ="SERIAL" size ="" default ="" notnull ="true" isKey="true" description="Primärschlüssel"/> <column name="tid" type ="SERIAL" size ="" default ="" notnull ="true" isKey="true" description=""><comment>Primärschlüssel</comment></column>
<column name="uniquename" type ="VARCHAR" size ="255" default ="" notnull ="false" description="nur nachrichtlicher Schlüssel für den Würfel"/> <column name="uniquename" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Schlüssel"><comment>nur nachrichtlicher Schlüssel für den Würfel</comment></column>
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" descprition="Bezeichnung des Würfels"/> <column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Name"><comment>Bezeichnung des Würfels</comment></column>
<column name="sachgebiet" type ="INTEGER" size ="" default ="" notnull ="true" description="Sachgebietszuordnung"/> <column name="sachgebiet" type ="INTEGER" size ="" default ="" notnull ="true" description=""><comment>Sachgebietszuordnung</comment></column>
<column name="table_name" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Faktentabelle"/> <column name="table_name" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Faktentabelle"><comment>Faktentabelle</comment></column>
<column name="maskeninfo_id" type ="INTEGER" size ="10" default ="" notnull ="true" description="tid der Würfelmaske"/> <column name="maskeninfo_id" type ="INTEGER" size ="10" default ="" notnull ="true" description="Maske"><comment>tid der Würfelmaske</comment></column>
<column name="restriction" type ="TEXT" size ="" default ="" notnull ="false" description="Einschränkung (where-Bedingung) des Würfels"/> <column name="restriction" type ="TEXT" size ="" default ="" notnull ="false" description="Einschränkung"><comment> (where-Bedingung) des Würfels</comment></column>
</columns> </columns>
</table> </table>
<table name="xcube_kennzahl"> <table name="xcube_kennzahl">
<columns> <columns>
<column name="tid" type ="SERIAL" size ="" default ="" notnull ="true" isKey="true" description="Primärschlüssel"/> <column name="tid" type ="SERIAL" size ="" default ="" notnull ="true" isKey="true" description=""><comment>Primärschlüssel</comment></column>
<column name="maskeninfo_id" type ="INTEGER" size ="10" default ="" notnull ="true" description="tid der Würfelmaske"/> <column name="maskeninfo_id" type ="INTEGER" size ="10" default ="" notnull ="true" description="Maske"><comment>tid der Würfelmaske</comment></column>
<column name="apnr" type ="VARCHAR" size ="255" default ="" notnull ="true" description="Schlüssel"/> <column name="apnr" type ="VARCHAR" size ="255" default ="" notnull ="true" description="Schlüssel"><comment>Schlüssel</comment></column>
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="true" description="Bezeichnung"/> <column name="name" type ="VARCHAR" size ="255" default ="" notnull ="true" description="Name"><comment>Bezeichnung</comment></column>
<column name="aggrfunction" type ="TEXT" size ="" default ="" notnull ="true" description="Aggregationsfunktion wie sum(summe) oder count(*)"/> <column name="aggrfunction" type ="TEXT" size ="" default ="" notnull ="true" description="Aggregationsfunktion"><comment> wie sum(summe) oder count(*)</comment></column>
<column name="restriction" type ="TEXT" size ="" default ="" notnull ="false" description="Optional zusätzliche Einschränkung (where-Bedingung)"/> <column name="restriction" type ="TEXT" size ="" default ="" notnull ="false" description="Einschränkung"><comment>Optional zusätzliche Einschränkung (where-Bedingung)</comment></column>
<column name="datatype" type ="VARCHAR" size ="255" default ="" notnull ="false" description="optional Datentyp falls nicht decimal"/> <column name="datatype" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Datentyp"><comment>optional Datentyp falls nicht decimal</comment></column>
<column name="is_default" type ="SMALLINT" size ="5" default ="" notnull ="false" description="Soll die Kennzahl default bei der Auswahl sein"/> <column name="is_default" type ="SMALLINT" size ="5" default ="" notnull ="false" description="Kennzahl default"><comment>Soll die Kennzahl default bei der Auswahl sein</comment></column>
<column name="sortnr" type ="SMALLINT" size ="5" default ="" notnull ="false" description="Sortierung für das Auswahlfeld Kennzahl"/> <column name="sortnr" type ="SMALLINT" size ="5" default ="" notnull ="false" description="Sortiernr."><comment>Sortierung für das Auswahlfeld Kennzahl</comment></column>
</columns> </columns>
</table> </table>
<table name="xcube_dimconfig"> <table name="xcube_dimconfig">
<columns> <columns>
<column name="tid" type ="SERIAL" size ="" default ="" notnull ="true" isKey="true" description="Primärschlüssel"/> <column name="tid" type ="SERIAL" size ="" default ="" notnull ="true" isKey="true" description=""><comment>Primärschlüssel</comment></column>
<column name="maskeninfo_id" type ="INTEGER" size ="10" default ="" notnull ="true" description="Nummer der Würfelmaske"/> <column name="maskeninfo_id" type ="INTEGER" size ="10" default ="" notnull ="true" description="Maske"><comment>Nummer der Würfelmaske</comment></column>
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="true" description="Name der Spalte in der Faktentabelle"/> <column name="name" type ="VARCHAR" size ="255" default ="" notnull ="true" description="Name"><comment>Name der Spalte in der Faktentabelle</comment></column>
<column name="caption" type ="VARCHAR" size ="255" default ="" notnull ="true" description="Label für die Dimension in der Darstellung, bei Sichten-Dimensionen muss Feldnamen auf der Maske entsprechen"/> <column name="caption" type ="VARCHAR" size ="255" default ="" notnull ="true" description="Beschriftung"><comment>Label für die Dimension in der Darstellung, bei Sichten-Dimensionen muss Feldnamen auf der Maske entsprechen</comment></column>
<!-- <column name="generic_dimension" type ="VARCHAR" size ="255" default ="" notnull ="false" /> --> <!-- <column name="generic_dimension" type ="VARCHAR" size ="255" default ="" notnull ="false" /> -->
<column name="is_sicht" type ="SMALLINT" size ="5" default ="0" notnull ="true" description="Ist die Dimension ein SuperX-Sicht Feld"/> <column name="is_sicht" type ="SMALLINT" size ="5" default ="0" notnull ="true" description="Sicht"><comment>Ist die Dimension ein SuperX-Sicht Feld</comment></column>
<column name="calc_gesamt" type ="SMALLINT" size ="5" default ="1" notnull ="true" description="Soll eine Gesamtwert dargestellt werden?"/> <column name="calc_gesamt" type ="SMALLINT" size ="5" default ="1" notnull ="true" description="Gesamtwert"><comment>Soll eine Gesamtwert dargestellt werden?</comment></column>
<column name="is_rowdim" type ="SMALLINT" size ="5" default ="1" notnull ="true" description="Soll die Dimension in den Zeilen darstellbar sein"/> <column name="is_rowdim" type ="SMALLINT" size ="5" default ="1" notnull ="true" description="Zeilendimension"><comment>Soll die Dimension in den Zeilen darstellbar sein</comment></column>
<column name="is_secondrowdim" type ="SMALLINT" size ="5" default ="1" notnull ="true" description="Soll die Dimension als 2.Dim in den Zeilen darstellbar sein"/> <column name="is_secondrowdim" type ="SMALLINT" size ="5" default ="1" notnull ="true" description="Zweite Zeilendimension"><comment>Soll die Dimension als 2.Dim in den Zeilen darstellbar sein</comment></column>
<column name="is_rowdefault" type ="SMALLINT" size ="5" default ="0" notnull ="true" description="Soll die Dimension als Zeilen-default auf der Maske ausgewählt sein" /> <column name="is_rowdefault" type ="SMALLINT" size ="5" default ="0" notnull ="true" description="Zeilen-default"><comment>Soll die Dimension als Zeilen-default auf der Maske ausgewählt sein</comment></column>
<column name="is_coldim" type ="SMALLINT" size ="5" default ="1" notnull ="true" description="Soll die Dimension in den Spalten darstellbar sein"/> <column name="is_coldim" type ="SMALLINT" size ="5" default ="1" notnull ="true" description="Spaltendimension"><comment>Soll die Dimension in den Spalten darstellbar sein</comment></column>
<column name="is_secondcoldim" type ="SMALLINT" size ="5" default ="1" notnull ="true" description="Soll die Dimension als 2.Dim in den Spalten darstellbar sein"/> <column name="is_secondcoldim" type ="SMALLINT" size ="5" default ="1" notnull ="true" description="Zweite Spaltendimension"><comment>Soll die Dimension als 2.Dim in den Spalten darstellbar sein</comment></column>
<column name="is_coldefault" type ="SMALLINT" size ="5" default ="0" notnull ="true" description="Soll die Dimension als Spalten-default auf der Maske ausgewählt sein" /> <column name="is_coldefault" type ="SMALLINT" size ="5" default ="0" notnull ="true" description="Spalten-default"><comment>Soll die Dimension als Spalten-default auf der Maske ausgewählt sein</comment></column>
<column name="attrib_nachbearbeitung" type ="TEXT" size ="" default ="" notnull ="false" description="Nachbearbeiten eines Attributs"/> <column name="attrib_nachbearbeitung" type ="TEXT" size ="" default ="" notnull ="false" description="Nachbearbeiten eines Attributs"><comment></comment></column>
<!-- <column name="specific_restriction" type ="VARCHAR" size ="255" default ="" notnull ="false" /> <!-- <column name="specific_restriction" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="specific_2ndcol_restriction" type ="VARCHAR" size ="255" default ="" notnull ="false" />--> <column name="specific_2ndcol_restriction" type ="VARCHAR" size ="255" default ="" notnull ="false" />-->
<column name="is_virtual" type ="SMALLINT" size ="" default ="0" notnull ="true" description="Ist es eine virtuelle Spalte, die selbst in der Faktentabelle nicht vorhanden ist"/> <column name="is_virtual" type ="SMALLINT" size ="" default ="0" notnull ="true" description="Virtuell"><comment>Ist es eine virtuelle Spalte, die selbst in der Faktentabelle nicht vorhanden ist</comment></column>
<column name="vcsql" type ="TEXT" size ="" default ="" notnull ="false" description="SQL zum Setzen der virtuellen Spalte"/> <column name="vcsql" type ="TEXT" size ="" default ="" notnull ="false" description="SQL"><comment>SQL zum Setzen der virtuellen Spalte</comment></column>
<column name="foreignkey_tab" type="VARCHAR" size="255" default="" notnull="false" description="Fremdschlüssel Tabelle" /> <column name="foreignkey_tab" type="VARCHAR" size="255" default="" notnull="false" description="Fremdschlüssel Tabelle"><comment></comment></column>
<column name="foreignkey_col" type="VARCHAR" size="255" default="" notnull="false" description="Fremdschlüssel Feld (Schlüssel)" /> <column name="foreignkey_col" type="VARCHAR" size="255" default="" notnull="false" description="Fremdschlüssel Feld (Schlüssel)" ><comment></comment></column>
<column name="foreignkey_cap" type="VARCHAR" size="255" default="" notnull="false" description="Fremdschlüssel Feld (Bezeichnung)" /> <column name="foreignkey_cap" type="VARCHAR" size="255" default="" notnull="false" description="Fremdschlüssel Feld (Bezeichnung)"><comment></comment></column>
<column name="foreignkey_cond" type="VARCHAR" size="255" default="" notnull="false" description="Zusätzliche Bedingung für Fremdschlüssel" /> <column name="foreignkey_cond" type="VARCHAR" size="255" default="" notnull="false" description="Zusätzliche Bedingung"><comment> für Fremdschlüssel</comment></column>
<column name="foreignkey_func" type="VARCHAR" size="255" default="" notnull="false" description="Zusätzliche Funktion für Fremdschlüssel" /> <column name="foreignkey_func" type="VARCHAR" size="255" default="" notnull="false" description="Zusätzliche Funktion"><comment> für Fremdschlüssel</comment></column>
<column name="sortfield" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Name des Sortierfelds für Nicht-Sichten"/> <column name="sortfield" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Sortierfeld"><comment>Name des Sortierfelds für Nicht-Sichten</comment></column>
</columns> </columns>
<indexes> <indexes>
<index name="ix_xc_dc"> <index name="ix_xc_dc">
@ -69,13 +69,13 @@
<table name="xcube_dims"> <table name="xcube_dims">
<columns> <columns>
<column name="id" type ="VARCHAR" size ="255" default ="" notnull ="false" description="ID für die Art der Dimension"/> <column name="id" type ="VARCHAR" size ="255" default ="" notnull ="false" description=""><comment>ID für die Art der Dimension</comment></column>
<column name="apnr" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Einzelner Schlüssel"/> <column name="apnr" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Schlüssel"><comment>Einzelner Schlüssel</comment></column>
<column name="parent" type ="VARCHAR" size ="255" default ="" notnull ="false" description="optional parent"/> <column name="parent" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Parent"><comment>optional parent</comment></column>
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Bezeichnung des Eintrags"/> <column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Name"><comment>Bezeichnung des Eintrags</comment></column>
<column name="strukturstr" type ="VARCHAR" size ="2000" default ="" notnull ="false" /> <column name="strukturstr" type ="VARCHAR" size ="2000" default ="" notnull ="false" description="Strukturmerkmal (String)"/>
<column name="strukturint" type ="INTEGER" size ="" default ="" notnull ="false" /> <column name="strukturint" type ="INTEGER" size ="" default ="" notnull ="false" description="Strukturmerkmal (INT)"/>
<column name="sort1" type ="INTEGER" size ="10" default ="" notnull ="false" description="Sortierfeld"/> <column name="sort1" type ="INTEGER" size ="10" default ="" notnull ="false" description="Sortierfeld"><comment></comment></column>
</columns> </columns>
<indexes> <indexes>
<index name="ix_xc_dim11"> <index name="ix_xc_dim11">
@ -97,9 +97,17 @@
</views> </views>
<themen> <themen>
<thema name="xCubes" parent="Abfragen"></thema> <thema name="Administration xCubes"
parent="xCubes">Abfragen zur Administration von xCubes </thema>
</themen> </themen>
<masken> <masken>
<maske tid="21030" name="Datenwürfel verwalten" thema="Administration xCubes">
<src>
<path>$XCUBE_PFAD/masken</path>
</src>
</maske>
<maske tid="21000" name="Studierendenwürfel" thema="xCubes"> <maske tid="21000" name="Studierendenwürfel" thema="xCubes">
<src> <src>
<path>$XCUBE_PFAD/masken</path> <path>$XCUBE_PFAD/masken</path>
@ -113,6 +121,33 @@
</src> </src>
</maske> </maske>
</masken> </masken>
<data-integrity>
<!--xcube-->
<relation from="sachgebiete" to="xcube" delete="FALSE"
displayType="select" visibleFields="name" format="%s">
<relation-column from="tid" to="sachgebiet" />
</relation>
<relation from="maskeninfo" to="xcube" delete="FALSE"
displayType="select" visibleFields="name" format="%s">
<relation-column from="tid" to="maskeninfo_id" />
</relation>
<!--xcube_dimconfig-->
<relation from="maskeninfo" to="xcube_dimconfig" delete="FALSE"
displayType="select" visibleFields="name" format="%s">
<relation-column from="tid" to="maskeninfo_id" />
</relation>
<!--xcube_kennzahl-->
<relation from="maskeninfo" to="xcube_kennzahl" delete="FALSE"
displayType="select" visibleFields="name" format="%s">
<relation-column from="tid" to="maskeninfo_id" />
</relation>
</data-integrity>
</database> </database>
<install> <install>
<install-step> <install-step>
@ -143,4 +178,147 @@
</action> </action>
</etl-step> </etl-step>
</etl> </etl>
<dbforms>
<form name="xcube_list"
table="xcube"
path="/edit/xcube/xcube_list.jsp"
followUp=""
caption="Würfel verwalten"
orderBy="name"
gotoHt=""
helpfile=""
maxRows="*"
mode="full">
<description>In diesem Formular können Sie Würfel verwalten. Im Details-Formular können Sie Eigenschaften zuordnen.</description>
<filters>
</filters>
<field-selection complete="false" />
<customfield name="tid" nullFieldValue="" />
<customfield name="name" nullFieldValue="" visibleSize="30" />
<customfield name="uniquename" nullFieldValue="" visibleSize="30" />
<customfield type="link" name="Details" path="/superx/edit/xcube/xcube_edit.jsp" linkid="tid"/>
</form>
<form name="xcube_edit"
table="xcube"
path="/edit/xcube/xcube_edit.jsp"
followUp=""
caption="Würfel bearbeiten"
orderBy="name"
gotoHt=""
helpfile=""
maxRows="1"
mode="full">
<description>In diesem Formular können Sie Würfel verwalten.</description>
<filters>
<filter mandatory="true" type="equals">tid</filter>
</filters>
<field-selection complete="false" />
<customfield name="tid" />
<customfield name="name" visibleSize="50" nullFieldValue="" />
<customfield name="uniquename" visibleSize="20" nullFieldValue="" />
<customfield name="table_name" visibleSize="20" nullFieldValue="" />
<customfield name="maskeninfo_id" visibleSize="10" nullFieldValue="" />
<customfield name="sachgebiet" visibleSize="80" nullFieldValue="" />
<customfield name="restriction" visibleSize="80" nullFieldValue="" />
</form>
<form name="xcube_dims_list"
table="xcube_dims"
path="/edit/xcube/xcube_dims_list.jsp"
followUp=""
caption="Dimensionsinhalte verwalten"
orderBy="name"
gotoHt=""
helpfile=""
maxRows="*"
mode="full">
<description>In diesem Formular können Sie Dimensionsinhalte verwalten. Im Details-Formular können Sie Eigenschaften zuordnen.</description>
<filters>
<filter mandatory="true" type="equals">id</filter>
</filters>
<field-selection complete="false" />
<customfield name="name" nullFieldValue="" visibleSize="30" />
<customfield name="apnr" nullFieldValue="" visibleSize="30" />
<customfield name="parent" nullFieldValue="" visibleSize="30" />
<customfield name="strukturstr" nullFieldValue="" visibleSize="30" />
<customfield name="strukturint" nullFieldValue="" visibleSize="30" />
<customfield name="sort1" nullFieldValue="" visibleSize="30" />
</form>
<form name="xcube_dimconfig_list"
table="xcube_dimconfig"
path="/edit/xcube/xcube_dimconfig_list.jsp"
followUp=""
caption="Dimensionen verwalten"
orderBy="name"
gotoHt=""
helpfile=""
maxRows="*"
mode="full">
<description>In diesem Formular können Sie Dimensionen verwalten. Im Details-Formular können Sie Eigenschaften zuordnen.</description>
<filters>
</filters>
<field-selection complete="false" />
<customfield name="tid" nullFieldValue="" />
<customfield name="name" nullFieldValue="" visibleSize="30" />
<customfield name="caption" nullFieldValue="" visibleSize="30" />
<customfield type="link" name="Details" path="/superx/edit/xcube/xcube_dimconfig_edit.jsp" linkid="tid"/>
</form>
<form name="xcube_dimconfig_edit"
table="xcube_dimconfig"
path="/edit/xcube/xcube_dimconfig_edit.jsp"
followUp=""
caption="Dimensionen bearbeiten"
orderBy="name"
gotoHt=""
helpfile=""
maxRows="1"
mode="full">
<description>In diesem Formular können Sie Dimensionen verwalten.</description>
<filters>
<filter mandatory="true" type="equals">tid</filter>
</filters>
<field-selection complete="true" />
</form>
<form name="xcube_kennzahl_list"
table="xcube_kennzahl"
path="/edit/xcube/xcube_kennzahl_list.jsp"
followUp=""
caption="Kennzahlen verwalten"
orderBy="name"
gotoHt=""
helpfile=""
maxRows="*"
mode="full">
<description>In diesem Formular können Sie Kennzahlen verwalten. Im Details-Formular können Sie Eigenschaften zuordnen.</description>
<filters>
</filters>
<field-selection complete="false" />
<customfield name="tid" nullFieldValue="" />
<customfield name="name" nullFieldValue="" visibleSize="30" />
<customfield name="apnr" nullFieldValue="" visibleSize="30" />
<customfield type="link" name="Details" path="/superx/edit/xcube/xcube_kennzahl_edit.jsp" linkid="tid"/>
</form>
<form name="xcube_kennzahl_edit"
table="xcube_kennzahl"
path="/edit/xcube/xcube_kennzahl_edit.jsp"
followUp=""
caption="Kennzahlen bearbeiten"
orderBy="name"
gotoHt=""
helpfile=""
maxRows="1"
mode="full">
<description>In diesem Formular können Sie Kennzahlen verwalten.</description>
<filters>
<filter mandatory="true" type="equals">tid</filter>
</filters>
<field-selection complete="true" />
</form>
</dbforms>
</module> </module>

6
src-modules/module/xcube/masken/21030_felderinfo.unl

@ -0,0 +1,6 @@
21032^Dimensionen verwalten^100^0^0^150^300^1^char^30^0^18^^^<<SQL>> select '../edit/xcube/xcube_dimconfig_list.jsp' from xdummy;^
21033^Tabellenname^20^0^0^150^150^1^sql^50^0^0^^^^
21034^Sachgebiet^1^0^0^150^200^1^integer^200^0^1^<<SQL>> select tid,name from sachgebiete order by 2;^ ^^
21035^Kennzahlen verwalten^200^0^0^150^300^1^char^30^0^18^^^<<SQL>> select '../edit/xcube/xcube_kennzahl_list.jsp' from xdummy;^
21036^Maske^5^0^0^150^200^1^integer^200^0^1^<<SQL>> select M.tid,M.name from maskeninfo M where 1=1 /* and M.tid in (select S.maskeninfo_id from sachgeb_maske_bez S\
where S.sachgebiete_id=<<Sachgebiet>> ) */ order by 2;^^^

1
src-modules/module/xcube/masken/21030_maske_system_bez.unl

@ -0,0 +1 @@
21030^1000^

5
src-modules/module/xcube/masken/21030_masken_felder_bez.unl

@ -0,0 +1,5 @@
21030^21032^
21030^21033^
21030^21034^
21030^21035^
21030^21036^

44
src-modules/module/xcube/masken/21030_maskeninfo.unl

@ -0,0 +1,44 @@
21030^Datenwürfel verwalten^--freemarker template\
\
SELECT --X.tid,\
X.name,\
X.uniquename,\
S.name as sachgebiet,\
X.table_name,\
M.name as maskenname,\
X.maskeninfo_id as maskennummer,\
--X.restriction,\
'../edit/xcube/xcube_edit.jsp|tid=' || X.tid as nextedit\
FROM sachgebiete S,xcube X left outer join maskeninfo M\
on (M.tid=X.maskeninfo_id)\
where S.tid=X.sachgebiet\
/* and X.maskeninfo_id=<<Maske>> */\
/* and S.tid=<<Sachgebiet>> */\
/* and X.table_name like '%<<Tabellenname>>%'\
order by 1,2\
;^XIL List\
drop_and_delete movable_columns sizable_columns horizontal_scrolling\
white_space_color=COLOR_WHITE fixed_columns=2\
min_heading_height=35\
Column CID=0 heading_text="Name" center_heading\
row_selectable col_selectable heading_platform readonly\
width=50 text_size=100\
Column CID=0 heading_text="Schlüssel" center_heading\
row_selectable col_selectable heading_platform readonly\
width=5 text_size=100\
Column CID=0 heading_text="Sachgebiet" center_heading\
row_selectable col_selectable heading_platform readonly\
width=10 text_size=100\
Column CID=0 heading_text="Tabelle" center_heading\
row_selectable col_selectable heading_platform readonly\
width=10 text_size=100\
Column CID=0 heading_text="Maske Name" center_heading\
row_selectable col_selectable heading_platform readonly\
width=50 text_size=100\
Column CID=0 heading_text="Maske Nummer" center_heading\
row_selectable col_selectable heading_platform readonly\
width=5 text_size=100\
Column CID=0 heading_text="Bearbeiten" center_heading\
row_selectable col_selectable heading_platform readonly\
width=5 text_size=100\
@@@^^^Dimensionen und Datenwürfel (xCubes) verwalten^ ^^1^440^360^0^1^^

1
src-modules/module/xcube/masken/21030_sachgeb_maske_bez.unl

@ -0,0 +1 @@
0^21030^

2
src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql

@ -50,7 +50,7 @@ select distinct 'fssemzahl',fach_sem_zahl::varchar(10),fach_sem_zahl||'.FS',fach
</#if> </#if>
<#if TableFieldExists('sos_stg_aggr','hssem')> <#if TableFieldExists('sos_stg_aggr','hssem')>
delete from xcube_dims where id='fssemzahl'; delete from xcube_dims where id='hssem';
INSERT INTO xcube_dims (id,apnr,name,sort1) INSERT INTO xcube_dims (id,apnr,name,sort1)
select distinct 'hssemzahl',hssem::varchar(10),hssem||'.HS',hssem from sos_stg_aggr; select distinct 'hssemzahl',hssem::varchar(10),hssem||'.HS',hssem from sos_stg_aggr;
</#if> </#if>

Loading…
Cancel
Save