-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Window Distribution Order enhancements
refs: #6713
- Loading branch information
1 parent
40859de
commit 649bcdc
Showing
10 changed files
with
656 additions
and
36 deletions.
There are no files selected for viewing
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
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
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
130 changes: 130 additions & 0 deletions
130
...e/src/main/sql/postgresql/system/5559900_sys_gh_add_warehouse_from_and_to_on_DD_Order.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,130 @@ | ||
-- 2020-05-25T08:07:21.440Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,577736,0,'M_Warehouse_From_ID',TO_TIMESTAMP('2020-05-25 11:07:21','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Warehouse from','Warehouse from',TO_TIMESTAMP('2020-05-25 11:07:21','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2020-05-25T08:07:21.459Z | ||
-- 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=577736 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) | ||
; | ||
|
||
-- 2020-05-25T08:09:58.846Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,577737,0,'M_Warehouse_To_ID',TO_TIMESTAMP('2020-05-25 11:09:58','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Warehouse to','Warehouse to',TO_TIMESTAMP('2020-05-25 11:09:58','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2020-05-25T08:09:58.847Z | ||
-- 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=577737 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) | ||
; | ||
|
||
-- 2020-05-25T08:11:45.967Z | ||
-- 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_Reference_Value_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,IsRangeFilter,IsSelectionColumn,IsShowFilterIncrementButtons,IsStaleable,IsSyncDatabase,IsTranslated,IsUpdateable,IsUseDocSequence,MaxFacetsToFetch,Name,SelectionColumnSeqNo,SeqNo,Updated,UpdatedBy,Version) VALUES (0,570819,577736,0,30,540420,53037,'M_Warehouse_From_ID',TO_TIMESTAMP('2020-05-25 11:11:45','YYYY-MM-DD HH24:MI:SS'),100,'N','540008','EE01',0,10,'Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','N','N','Y','N',0,'Warehouse from',0,0,TO_TIMESTAMP('2020-05-25 11:11:45','YYYY-MM-DD HH24:MI:SS'),100,0) | ||
; | ||
|
||
-- 2020-05-25T08:11:45.979Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N') AND t.AD_Column_ID=570819 AND NOT EXISTS (SELECT 1 FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) | ||
; | ||
|
||
-- 2020-05-25T08:11:46.128Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ select update_Column_Translation_From_AD_Element(577736) | ||
; | ||
|
||
-- 2020-05-25T08:11:58.930Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ SELECT public.db_alter_table('DD_Order','ALTER TABLE public.DD_Order ADD COLUMN M_Warehouse_From_ID NUMERIC(10) DEFAULT 540008 NOT NULL') | ||
; | ||
|
||
-- 2020-05-25T08:11:59.850Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
ALTER TABLE DD_Order ADD CONSTRAINT MWarehouseFrom_DDOrder FOREIGN KEY (M_Warehouse_From_ID) REFERENCES public.M_Warehouse DEFERRABLE INITIALLY DEFERRED | ||
; | ||
|
||
-- 2020-05-25T08:13:04.894Z | ||
-- 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_Reference_Value_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,IsRangeFilter,IsSelectionColumn,IsShowFilterIncrementButtons,IsStaleable,IsSyncDatabase,IsTranslated,IsUpdateable,IsUseDocSequence,MaxFacetsToFetch,Name,ReadOnlyLogic,SelectionColumnSeqNo,SeqNo,Updated,UpdatedBy,Version) VALUES (0,570820,577737,0,30,540420,53037,'M_Warehouse_To_ID',TO_TIMESTAMP('2020-05-25 11:13:04','YYYY-MM-DD HH24:MI:SS'),100,'N','540005','EE01',0,10,'Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','N','N','Y','N',0,'Warehouse to','',0,0,TO_TIMESTAMP('2020-05-25 11:13:04','YYYY-MM-DD HH24:MI:SS'),100,0) | ||
; | ||
|
||
-- 2020-05-25T08:13:04.897Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N') AND t.AD_Column_ID=570820 AND NOT EXISTS (SELECT 1 FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) | ||
; | ||
|
||
-- 2020-05-25T08:13:04.899Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ select update_Column_Translation_From_AD_Element(577737) | ||
; | ||
|
||
-- 2020-05-25T08:13:29.659Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ SELECT public.db_alter_table('DD_Order','ALTER TABLE public.DD_Order ADD COLUMN M_Warehouse_To_ID NUMERIC(10) DEFAULT 540005 NOT NULL') | ||
; | ||
|
||
-- 2020-05-25T08:13:30.175Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
ALTER TABLE DD_Order ADD CONSTRAINT MWarehouseTo_DDOrder FOREIGN KEY (M_Warehouse_To_ID) REFERENCES public.M_Warehouse DEFERRABLE INITIALLY DEFERRED | ||
; | ||
|
||
-- 2020-05-26T21:29:17.677Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,ColumnDisplayLength,Created,CreatedBy,DisplayLength,EntityType,IncludedTabHeight,IsActive,IsDisplayed,IsDisplayedGrid,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SeqNoGrid,SortNo,SpanX,SpanY,Updated,UpdatedBy) VALUES (0,570819,613898,0,53055,0,TO_TIMESTAMP('2020-05-27 00:29:15','YYYY-MM-DD HH24:MI:SS'),100,0,'EE01',0,'Y','Y','Y','N','N','N','N','N','Warehouse from',450,440,0,1,1,TO_TIMESTAMP('2020-05-27 00:29:15','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2020-05-26T21:29:18.309Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N') AND t.AD_Field_ID=613898 AND NOT EXISTS (SELECT 1 FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) | ||
; | ||
|
||
-- 2020-05-26T21:29:18.409Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ select update_FieldTranslation_From_AD_Name_Element(577736) | ||
; | ||
|
||
-- 2020-05-26T21:29:18.484Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
DELETE FROM AD_Element_Link WHERE AD_Field_ID=613898 | ||
; | ||
|
||
-- 2020-05-26T21:29:18.533Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ select AD_Element_Link_Create_Missing_Field(613898) | ||
; | ||
|
||
-- 2020-05-26T21:29:59.153Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,ColumnDisplayLength,Created,CreatedBy,DisplayLength,EntityType,IncludedTabHeight,IsActive,IsDisplayed,IsDisplayedGrid,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SeqNoGrid,SortNo,SpanX,SpanY,Updated,UpdatedBy) VALUES (0,570820,613899,0,53055,0,TO_TIMESTAMP('2020-05-27 00:29:58','YYYY-MM-DD HH24:MI:SS'),100,0,'EE01',0,'Y','Y','Y','N','N','N','N','N','Warehouse to',460,450,0,1,1,TO_TIMESTAMP('2020-05-27 00:29:58','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2020-05-26T21:29:59.296Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N') AND t.AD_Field_ID=613899 AND NOT EXISTS (SELECT 1 FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) | ||
; | ||
|
||
-- 2020-05-26T21:29:59.343Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ select update_FieldTranslation_From_AD_Name_Element(577737) | ||
; | ||
|
||
-- 2020-05-26T21:29:59.393Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
DELETE FROM AD_Element_Link WHERE AD_Field_ID=613899 | ||
; | ||
|
||
-- 2020-05-26T21:29:59.442Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
/* DDL */ select AD_Element_Link_Create_Missing_Field(613899) | ||
; | ||
|
||
-- 2020-05-26T21:31:01.644Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,IsMultiLine,MultiLine_LinesCount,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,613898,0,53055,540423,569848,'F',TO_TIMESTAMP('2020-05-27 00:31:01','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','N','Y','N','N','N',0,'Warehouse from',420,0,0,TO_TIMESTAMP('2020-05-27 00:31:01','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2020-05-26T21:31:24.090Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,IsMultiLine,MultiLine_LinesCount,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,613899,0,53055,540423,569849,'F',TO_TIMESTAMP('2020-05-27 00:31:23','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','N','Y','N','N','N',0,'Warehouse to',430,0,0,TO_TIMESTAMP('2020-05-27 00:31:23','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
Oops, something went wrong.