-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
3 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
69 changes: 69 additions & 0 deletions
69
...resql/system/10-de.metas.adempiere/5505980_sys_gh4664_Create_And_Link_Anhang_Elements.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
-- 2018-11-08T12:59:22.422 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,575861,0,TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),100,'Y','Anhang','Anhang',TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.426 | ||
-- 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=575861 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) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.472 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ select update_ad_element_trl_from_ad_tab_trl(575861, 541375) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.496 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
UPDATE AD_Tab SET CommitWarning=NULL, Help=NULL, Name='Anhang', Description=NULL, AD_Element_ID=575861,Updated=TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=541375 | ||
; | ||
|
||
-- 2018-11-08T12:59:22.711 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,575862,0,TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),100,'Y','Anhang','Anhang',TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.714 | ||
-- 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=575862 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) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.724 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ select update_ad_element_trl_from_ad_window_trl(575862, 540532) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.732 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
UPDATE AD_Window SET AD_Element_ID=575862,Updated=TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=540532 | ||
; | ||
|
||
-- 2018-11-08T12:59:22.734 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ select update_window_translation_from_ad_element(575862) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.842 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,Created,CreatedBy,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,575863,0,TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),100,'Y','Anhang','Anhang',TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.847 | ||
-- 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=575863 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) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.857 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ select update_ad_element_trl_from_ad_menu_trl(575863, 541162) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.863 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
UPDATE AD_Menu SET AD_Element_ID=575863,Updated=TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=541162 | ||
; | ||
|
||
-- 2018-11-08T12:59:22.866 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ select update_menu_translation_from_ad_element(575863) | ||
; |
20 changes: 20 additions & 0 deletions
20
...postgresql/system/10-de.metas.adempiere/5505990_sys_gh4664_AD_Element_Mandatory_Again.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
-- 2018-11-08T12:59:22.876 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=563262 | ||
; | ||
|
||
|
||
|
||
-- 2018-11-08T12:59:22.928 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=563263 | ||
; | ||
|
||
|
||
|
||
|
||
-- 2018-11-08T12:59:22.961 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2018-11-08 12:59:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=563264 | ||
; |
33 changes: 33 additions & 0 deletions
33
...gresql/system/10-de.metas.adempiere/5506000_sys_gh4664_AD_Element_Mandatory_Again_DDL.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
|
||
-- 2018-11-08T12:59:22.915 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO t_alter_column values('ad_tab','AD_Element_ID','NUMERIC(10)',null,null) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.920 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO t_alter_column values('ad_tab','AD_Element_ID',null,'NOT NULL',null) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.949 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO t_alter_column values('ad_window','AD_Element_ID','NUMERIC(10)',null,null) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.953 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO t_alter_column values('ad_window','AD_Element_ID',null,'NOT NULL',null) | ||
; | ||
|
||
|
||
-- 2018-11-08T12:59:22.979 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO t_alter_column values('ad_menu','AD_Element_ID','NUMERIC(10)',null,null) | ||
; | ||
|
||
-- 2018-11-08T12:59:22.983 | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO t_alter_column values('ad_menu','AD_Element_ID',null,'NOT NULL',null) | ||
; | ||
|