,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,579171,0,'IsIVTherapy',TO_TIMESTAMP('2021-05-17 17:28:47','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','IV Therapy','IV Therapy',TO_TIMESTAMP('2021-05-17 17:28:47','YYYY-MM-DD HH24:MI:SS'),100)
;

-- 2021-05-17T14:28:47.620Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, CommitWarning,Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName,WEBUI_NameBrowse,WEBUI_NameNew,WEBUI_NameNewBreadcrumb, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Element_ID, t.CommitWarning,t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName,t.WEBUI_NameBrowse,t.WEBUI_NameNew,t.WEBUI_NameNewBreadcrumb, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' OR l.IsBaseLanguage='Y') AND t.AD_Element_ID=579171 AND NOT EXISTS (SELECT 1 FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;

-- 2021-05-17T14:29:04.507Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Name='IV-Therapie', PrintName='IV-Therapie',Updated=TO_TIMESTAMP('2021-05-17 17:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=579171 AND AD_Language='de_CH'
;

-- 2021-05-17T14:29:04.507Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */  select update_TRL_Tables_On_AD_Element_TRL_Update(579171,'de_CH') 
;

-- 2021-05-17T14:29:09.342Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Name='IV-Therapie', PrintName='IV-Therapie',Updated=TO_TIMESTAMP('2021-05-17 17:29:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=579171 AND AD_Language='de_DE'
;

-- 2021-05-17T14:29:09.343Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */  select update_TRL_Tables_On_AD_Element_TRL_Update(579171,'de_DE') 
;

-- 2021-05-17T14:29:09.353Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */  select update_ad_element_on_ad_element_trl_update(579171,'de_DE') 
;

-- 2021-05-17T14:29:09.354Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET ColumnName='IsIVTherapy', Name='IV-Therapie', Description=NULL, Help=NULL WHERE AD_Element_ID=579171
;

-- 2021-05-17T14:29:09.355Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Process_Para SET ColumnName='IsIVTherapy', Name='IV-Therapie', Description=NULL, Help=NULL, AD_Element_ID=579171 WHERE UPPER(ColumnName)='ISIVTHERAPY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;

-- 2021-05-17T14:29:09.356Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Process_Para SET ColumnName='IsIVTherapy', Name='IV-Therapie', Description=NULL, Help=NULL WHERE AD_Element_ID=579171 AND IsCentrallyMaintained='Y'
;

-- 2021-05-17T14:29:09.357Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Field SET Name='IV-Therapie', Description=NULL, Help=NULL WHERE (AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=579171) AND AD_Name_ID IS NULL ) OR (AD_Name_ID = 579171)
;

-- 2021-05-17T14:29:09.373Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_PrintFormatItem pi SET PrintName='IV-Therapie', Name='IV-Therapie' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c  WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=579171)
;

-- 2021-05-17T14:29:09.374Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Tab SET Name='IV-Therapie', Description=NULL, Help=NULL, CommitWarning = NULL WHERE AD_Element_ID = 579171
;

-- 2021-05-17T14:29:09.375Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_WINDOW SET Name='IV-Therapie', Description=NULL, Help=NULL WHERE AD_Element_ID = 579171
;

-- 2021-05-17T14:29:09.376Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Menu SET   Name = 'IV-Therapie', Description = NULL, WEBUI_NameBrowse = NULL, WEBUI_NameNew = NULL, WEBUI_NameNewBreadcrumb = NULL WHERE AD_Element_ID = 579171
;

-- 2021-05-17T14:29:37.927Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DDL_NoForeignKey,DefaultValue,EntityType,FacetFilterSeqNo,FieldLength,IsActive,IsAdvancedText,IsAllowLogging,IsAlwaysUpdateable,IsAutoApplyValidationRule,IsAutocomplete,IsCalculated,IsDimension,IsDLMPartitionBoundary,IsEncrypted,IsFacetFilter,IsForceIncludeInGeneratedModel,IsGenericZoomKeyColumn,IsGenericZoomOrigin,IsIdentifier,IsKey,IsLazyLoading,IsMandatory,IsParent,IsSelectionColumn,IsShowFilterIncrementButtons,IsShowFilterInline,IsStaleable,IsSyncDatabase,IsTranslated,IsUpdateable,IsUseDocSequence,MaxFacetsToFetch,Name,SelectionColumnSeqNo,SeqNo,Updated,UpdatedBy,Version) VALUES (0,573888,579171,0,20,541644,'IsIVTherapy',TO_TIMESTAMP('2021-05-17 17:29:37','YYYY-MM-DD HH24:MI:SS'),100,'N','','de.metas.vertical.healthcare.alberta',0,1,'Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N