From 70a011b59b58227d2c9bbc82747900e7cb629ec2 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 31 Oct 2013 18:58:12 -0500 Subject: [PATCH] IDEMPIERE-1157 Adding functionality to add charts on the standard windows. / QA migration script --- .../oracle/201307101823_IDEMPIERE-1157.sql | 20 ----------------- .../201310311828_ReleaseQA_IDEMPIERE-1157.sql | 13 +++++++++++ .../201307101823_IDEMPIERE-1157.sql | 22 +------------------ .../201310311828_ReleaseQA_IDEMPIERE-1157.sql | 13 +++++++++++ 4 files changed, 27 insertions(+), 41 deletions(-) create mode 100644 migration/i1.0z/oracle/201310311828_ReleaseQA_IDEMPIERE-1157.sql create mode 100644 migration/i1.0z/postgresql/201310311828_ReleaseQA_IDEMPIERE-1157.sql diff --git a/migration/i1.0z/oracle/201307101823_IDEMPIERE-1157.sql b/migration/i1.0z/oracle/201307101823_IDEMPIERE-1157.sql index 0c354a523e..32a10a75e7 100644 --- a/migration/i1.0z/oracle/201307101823_IDEMPIERE-1157.sql +++ b/migration/i1.0z/oracle/201307101823_IDEMPIERE-1157.sql @@ -2167,26 +2167,6 @@ UPDATE AD_Column SET AD_Reference_ID=11,Updated=TO_DATE('2010-10-06 12:14:02','Y ALTER TABLE AD_Chart MODIFY TimeScope NUMBER(10) DEFAULT NULL ; --- 06/10/2010 3:35:56 PM --- Chart -UPDATE AD_Chart SET WinHeight=200,Updated=TO_DATE('2010-10-06 15:35:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Chart_ID=1000001 -; - --- 06/10/2010 4:28:42 PM --- Chart -UPDATE AD_Chart SET DomainLabel='Month', TimeUnit='M',Updated=TO_DATE('2010-10-06 16:28:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Chart_ID=1000001 -; - --- 06/10/2010 4:29:40 PM --- Chart -UPDATE AD_Chart SET TimeScope=50,Updated=TO_DATE('2010-10-06 16:29:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Chart_ID=1000001 -; - --- 06/10/2010 4:55:49 PM --- Chart -UPDATE AD_Chart SET ChartType='LC',Updated=TO_DATE('2010-10-06 16:55:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Chart_ID=1000001 -; - -- Jul 10, 2013 5:41:15 PM PDT -- Adaxa Charts INSERT INTO AD_Element (ColumnName,AD_Element_ID,Name,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,EntityType,AD_Client_ID) VALUES ('SeriesColumn',202566,'Series Column','Series Column','fd079cd3-7e36-4808-8158-ecb7ad70af2b',TO_DATE('2013-07-10 17:41:13','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2013-07-10 17:41:13','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y','U',0) diff --git a/migration/i1.0z/oracle/201310311828_ReleaseQA_IDEMPIERE-1157.sql b/migration/i1.0z/oracle/201310311828_ReleaseQA_IDEMPIERE-1157.sql new file mode 100644 index 0000000000..5b9311a8f9 --- /dev/null +++ b/migration/i1.0z/oracle/201310311828_ReleaseQA_IDEMPIERE-1157.sql @@ -0,0 +1,13 @@ +-- fix wrong entity types +update ad_column set entitytype='D' where ad_column_id in (210647,210648,210649,210849) +; + +update ad_field set entitytype='D' where ad_field_id in (202285,202479,202478) +; + +update ad_element set entitytype='D' where ad_element_id in (202566,202567,202568) +; + +SELECT register_migration_script('201310311828_ReleaseQA_IDEMPIERE-1157.sql') FROM dual +; + diff --git a/migration/i1.0z/postgresql/201307101823_IDEMPIERE-1157.sql b/migration/i1.0z/postgresql/201307101823_IDEMPIERE-1157.sql index e40e095404..a6ce68d91d 100644 --- a/migration/i1.0z/postgresql/201307101823_IDEMPIERE-1157.sql +++ b/migration/i1.0z/postgresql/201307101823_IDEMPIERE-1157.sql @@ -2164,26 +2164,6 @@ UPDATE AD_Column SET AD_Reference_ID=11,Updated=TO_TIMESTAMP('2010-10-06 12:14:0 INSERT INTO t_alter_column values('ad_chart','TimeScope','NUMERIC(10)',null,'NULL') ; --- 06/10/2010 3:35:56 PM --- Chart -UPDATE AD_Chart SET WinHeight=200,Updated=TO_TIMESTAMP('2010-10-06 15:35:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Chart_ID=1000001 -; - --- 06/10/2010 4:28:42 PM --- Chart -UPDATE AD_Chart SET DomainLabel='Month', TimeUnit='M',Updated=TO_TIMESTAMP('2010-10-06 16:28:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Chart_ID=1000001 -; - --- 06/10/2010 4:29:40 PM --- Chart -UPDATE AD_Chart SET TimeScope=50,Updated=TO_TIMESTAMP('2010-10-06 16:29:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Chart_ID=1000001 -; - --- 06/10/2010 4:55:49 PM --- Chart -UPDATE AD_Chart SET ChartType='LC',Updated=TO_TIMESTAMP('2010-10-06 16:55:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Chart_ID=1000001 -; - -- Jul 10, 2013 5:41:15 PM PDT -- Adaxa Charts INSERT INTO AD_Element (ColumnName,AD_Element_ID,Name,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,EntityType,AD_Client_ID) VALUES ('SeriesColumn',202566,'Series Column','Series Column','fd079cd3-7e36-4808-8158-ecb7ad70af2b',TO_TIMESTAMP('2013-07-10 17:41:13','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2013-07-10 17:41:13','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y','U',0) @@ -2315,4 +2295,4 @@ ALTER TABLE AD_ChartDatasource ADD CONSTRAINT AD_ChartDatasource_UU_idx UNIQUE ( ; SELECT register_migration_script('201307101823_IDEMPIERE-1157.sql') FROM dual -; \ No newline at end of file +; diff --git a/migration/i1.0z/postgresql/201310311828_ReleaseQA_IDEMPIERE-1157.sql b/migration/i1.0z/postgresql/201310311828_ReleaseQA_IDEMPIERE-1157.sql new file mode 100644 index 0000000000..5b9311a8f9 --- /dev/null +++ b/migration/i1.0z/postgresql/201310311828_ReleaseQA_IDEMPIERE-1157.sql @@ -0,0 +1,13 @@ +-- fix wrong entity types +update ad_column set entitytype='D' where ad_column_id in (210647,210648,210649,210849) +; + +update ad_field set entitytype='D' where ad_field_id in (202285,202479,202478) +; + +update ad_element set entitytype='D' where ad_element_id in (202566,202567,202568) +; + +SELECT register_migration_script('201310311828_ReleaseQA_IDEMPIERE-1157.sql') FROM dual +; +