diff --git a/updates/36/36012/utils/dml.sql b/updates/36/36012/utils/dml.sql index 8823cc0ec9..82538aed04 100644 --- a/updates/36/36012/utils/dml.sql +++ b/updates/36/36012/utils/dml.sql @@ -360,3 +360,47 @@ update om_visit set sector_id = 0 where sector_id is null; -- 02/09/2024 INSERT INTO config_form_tabs (formname, tabname, "label", tooltip, sys_role, tabfunction, tabactions, orderby, device) VALUES ('visit_arc_leak', 'tab_data', 'Data', 'Data', 'role_om', '{"name":"gwGetVisit", "parameters":{"form":{"tabData":{"active":true}, "tabFiles":{"active":false}}}}'::json, '[{"actionName":"actionAddFile", "actionFunction":"gwSetFileInsert", "actionTooltip":"Add file", "disabled":false}]'::json, 1, '{5}'); + +INSERT INTO config_typevalue +(typevalue, id, idval, camelstyle, addparam) +VALUES('layout_name_typevalue', 'lyt_main_1', 'lyt_main_1', 'layoutMain1', NULL); + +INSERT INTO config_typevalue +(typevalue, id, idval, camelstyle, addparam) +VALUES('layout_name_typevalue', 'lyt_main_2', 'lyt_main_2', 'layoutMain2', NULL); + +INSERT INTO config_typevalue +(typevalue, id, idval, camelstyle, addparam) +VALUES('layout_name_typevalue', 'lyt_main_3', 'lyt_main_3', 'layoutMain3', NULL); + + + +-- feature_type +INSERT INTO config_form_fields +(formname, formtype, tabname, columnname, layoutname, layoutorder, "datatype", widgettype, "label", tooltip, placeholder, ismandatory, isparent, iseditable, isautoupdate, isfilter, dv_querytext, dv_orderby_id, dv_isnullvalue, dv_parent_id, dv_querytext_filterc, stylesheet, widgetcontrols, widgetfunction, linkedobject, hidden, web_layoutorder) +VALUES('featuretype_change', 'form_generic', 'tab_none', 'feature_type', 'lyt_main_1', 1, 'string', 'text', 'Current feature type', 'Current feature type', NULL, false, false, true, false, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, NULL); + +-- feature_type_new +INSERT INTO config_form_fields +(formname, formtype, tabname, columnname, layoutname, layoutorder, "datatype", widgettype, "label", tooltip, placeholder, ismandatory, isparent, iseditable, isautoupdate, isfilter, dv_querytext, dv_orderby_id, dv_isnullvalue, dv_parent_id, dv_querytext_filterc, stylesheet, widgetcontrols, widgetfunction, linkedobject, hidden, web_layoutorder) +VALUES('featuretype_change', 'form_generic', 'tab_none', 'feature_type_new', 'lyt_main_2', 2, 'string', 'combo', 'New feature type', 'New feature type', NULL, false,false, true, false, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL,NULL, false, NULL); + +-- featurecat_id +INSERT INTO config_form_fields +(formname, formtype, tabname, columnname, layoutname, layoutorder, "datatype", widgettype, "label", tooltip, placeholder, ismandatory, isparent, iseditable, isautoupdate, isfilter, dv_querytext, dv_orderby_id, dv_isnullvalue, dv_parent_id, dv_querytext_filterc, stylesheet, widgetcontrols, widgetfunction, linkedobject, hidden, web_layoutorder) VALUES( +'featuretype_change', 'form_generic', 'tab_none', 'featurecat_id', 'lyt_main_3', 3, 'string', 'combo', 'Catalog id', 'Catalog id', NULL,false,false, true, false, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL,NULL, false, NULL); + +-- btn_catalog +INSERT INTO config_form_fields +(formname, formtype, tabname, columnname, layoutname, layoutorder, "datatype", widgettype, "label", tooltip, placeholder, ismandatory, isparent, iseditable, isautoupdate, isfilter, dv_querytext, dv_orderby_id, dv_isnullvalue, dv_parent_id, dv_querytext_filterc, stylesheet, widgetcontrols, widgetfunction, linkedobject, hidden, web_layoutorder) +VALUES('featuretype_change', 'form_generic', 'tab_none', 'btn_catalog', 'lyt_main_3', 3,null, 'button', null, null, NULL,false,false, true, false, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL,NULL, false, NULL); + +-- btn_accept +INSERT INTO config_form_fields +(formname, formtype, tabname, columnname, layoutname, layoutorder, "datatype", widgettype, "label", tooltip, placeholder, ismandatory, isparent, iseditable, isautoupdate, isfilter, dv_querytext, dv_orderby_id, dv_isnullvalue, dv_parent_id, dv_querytext_filterc, stylesheet, widgetcontrols, widgetfunction, linkedobject, hidden, web_layoutorder) +VALUES('featuretype_change', 'form_generic', 'tab_none', 'btn_accept', 'lyt_buttons', 4,null, 'button', null, null, NULL,false,false, true, false, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL,NULL, false, NULL); + +-- btn_cancel +INSERT INTO config_form_fields +(formname, formtype, tabname, columnname, layoutname, layoutorder, "datatype", widgettype, "label", tooltip, placeholder, ismandatory, isparent, iseditable, isautoupdate, isfilter, dv_querytext, dv_orderby_id, dv_isnullvalue, dv_parent_id, dv_querytext_filterc, stylesheet, widgetcontrols, widgetfunction, linkedobject, hidden, web_layoutorder) +VALUES('featuretype_change', 'form_generic', 'tab_none', 'btn_cancel', 'lyt_buttons', 4,null, 'button', null, null, NULL,false,false, true, false, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL,NULL, false, NULL);