From c433ed742fa3be52c0018bf53fa8cecd37cb79f9 Mon Sep 17 00:00:00 2001 From: Fernando Saavedra Date: Tue, 5 Nov 2013 17:29:26 -0500 Subject: [PATCH 1/3] IDEMPIERE-1494 Cant Import Account Default --- .../src/org/compiere/process/ImportAccount.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base.process/src/org/compiere/process/ImportAccount.java b/org.adempiere.base.process/src/org/compiere/process/ImportAccount.java index 46d8023ea7..235334c58c 100644 --- a/org.adempiere.base.process/src/org/compiere/process/ImportAccount.java +++ b/org.adempiere.base.process/src/org/compiere/process/ImportAccount.java @@ -512,7 +512,7 @@ public class ImportAccount extends SvrProcess .append("FROM I_ElementValue i") .append(" INNER JOIN AD_Column c ON (i.AD_Column_ID=c.AD_Column_ID)") .append(" INNER JOIN AD_Table t ON (c.AD_Table_ID=t.AD_Table_ID) ") - .append("WHERE i.I_IsImported='Y' AND Processing='Y'") + .append("WHERE i.I_IsImported='Y' AND i.Processing='Y'") .append(" AND i.C_ElementValue_ID IS NOT NULL AND C_Element_ID=?"); PreparedStatement pstmt = null; ResultSet rs = null; From e15433daa1f68f83a1de1c1919b3e402c7baebd3 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 6 Nov 2013 15:27:00 -0500 Subject: [PATCH 2/3] IDEMPIERE-1184 Register browser information available on AD_Session / fix UI to show properly the field --- .../i2.0/oracle/201311061521_IDEMPIERE-1184.sql | 15 +++++++++++++++ .../postgresql/201311061521_IDEMPIERE-1184.sql | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 migration/i2.0/oracle/201311061521_IDEMPIERE-1184.sql create mode 100644 migration/i2.0/postgresql/201311061521_IDEMPIERE-1184.sql diff --git a/migration/i2.0/oracle/201311061521_IDEMPIERE-1184.sql b/migration/i2.0/oracle/201311061521_IDEMPIERE-1184.sql new file mode 100644 index 0000000000..22970a7e41 --- /dev/null +++ b/migration/i2.0/oracle/201311061521_IDEMPIERE-1184.sql @@ -0,0 +1,15 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Nov 6, 2013 3:18:14 PM COT +-- IDEMPIERE-1184 Register browser information available on AD_Session +UPDATE AD_Column SET AD_Reference_ID=14,Updated=TO_DATE('2013-11-06 15:18:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54349 +; + +-- Nov 6, 2013 3:18:29 PM COT +UPDATE AD_Field SET NumLines=8,Updated=TO_DATE('2013-11-06 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54393 +; + +SELECT register_migration_script('201311061521_IDEMPIERE-1184.sql') FROM dual +; + diff --git a/migration/i2.0/postgresql/201311061521_IDEMPIERE-1184.sql b/migration/i2.0/postgresql/201311061521_IDEMPIERE-1184.sql new file mode 100644 index 0000000000..4c3a338cfb --- /dev/null +++ b/migration/i2.0/postgresql/201311061521_IDEMPIERE-1184.sql @@ -0,0 +1,12 @@ +-- Nov 6, 2013 3:18:14 PM COT +-- IDEMPIERE-1184 Register browser information available on AD_Session +UPDATE AD_Column SET AD_Reference_ID=14,Updated=TO_TIMESTAMP('2013-11-06 15:18:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54349 +; + +-- Nov 6, 2013 3:18:29 PM COT +UPDATE AD_Field SET NumLines=8,Updated=TO_TIMESTAMP('2013-11-06 15:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54393 +; + +SELECT register_migration_script('201311061521_IDEMPIERE-1184.sql') FROM dual +; + From 3575597cf686f6f156ee64383c381bfe7a61770d Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 7 Nov 2013 11:14:31 -0500 Subject: [PATCH 3/3] IDEMPIERE-1362 Implement support to register/unregister available dashboard content --- .../oracle/201311061531_IDEMPIERE-1362.sql | 35 +++++++++++++++++++ .../201311061531_IDEMPIERE-1362.sql | 32 +++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 migration/i2.0/oracle/201311061531_IDEMPIERE-1362.sql create mode 100644 migration/i2.0/postgresql/201311061531_IDEMPIERE-1362.sql diff --git a/migration/i2.0/oracle/201311061531_IDEMPIERE-1362.sql b/migration/i2.0/oracle/201311061531_IDEMPIERE-1362.sql new file mode 100644 index 0000000000..8ad3198f3f --- /dev/null +++ b/migration/i2.0/oracle/201311061531_IDEMPIERE-1362.sql @@ -0,0 +1,35 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Nov 6, 2013 3:30:58 PM COT +-- IDEMPIERE-1362 Implement support to register/unregister available dashboard content +UPDATE AD_Element SET Name='Show on Login', PrintName='Show on Login',Updated=TO_DATE('2013-11-06 15:30:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=202569 +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_Column SET ColumnName='IsShowinLogin', Name='Show on Login', Description=NULL, Help=NULL WHERE AD_Element_ID=202569 +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_Process_Para SET ColumnName='IsShowinLogin', Name='Show on Login', Description=NULL, Help=NULL, AD_Element_ID=202569 WHERE UPPER(ColumnName)='ISSHOWINLOGIN' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_Process_Para SET ColumnName='IsShowinLogin', Name='Show on Login', Description=NULL, Help=NULL WHERE AD_Element_ID=202569 AND IsCentrallyMaintained='Y' +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_InfoColumn SET ColumnName='IsShowinLogin', Name='Show on Login', Description=NULL, Help=NULL WHERE AD_Element_ID=202569 AND IsCentrallyMaintained='Y' +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_Field SET Name='Show on Login', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=202569) AND IsCentrallyMaintained='Y' +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_PrintFormatItem SET PrintName='Show on Login', Name='Show on Login' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=202569) +; + +SELECT register_migration_script('201311061531_IDEMPIERE-1362.sql') FROM dual +; + diff --git a/migration/i2.0/postgresql/201311061531_IDEMPIERE-1362.sql b/migration/i2.0/postgresql/201311061531_IDEMPIERE-1362.sql new file mode 100644 index 0000000000..564c13ed29 --- /dev/null +++ b/migration/i2.0/postgresql/201311061531_IDEMPIERE-1362.sql @@ -0,0 +1,32 @@ +-- Nov 6, 2013 3:30:58 PM COT +-- IDEMPIERE-1362 Implement support to register/unregister available dashboard content +UPDATE AD_Element SET Name='Show on Login', PrintName='Show on Login',Updated=TO_TIMESTAMP('2013-11-06 15:30:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=202569 +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_Column SET ColumnName='IsShowinLogin', Name='Show on Login', Description=NULL, Help=NULL WHERE AD_Element_ID=202569 +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_Process_Para SET ColumnName='IsShowinLogin', Name='Show on Login', Description=NULL, Help=NULL, AD_Element_ID=202569 WHERE UPPER(ColumnName)='ISSHOWINLOGIN' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_Process_Para SET ColumnName='IsShowinLogin', Name='Show on Login', Description=NULL, Help=NULL WHERE AD_Element_ID=202569 AND IsCentrallyMaintained='Y' +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_InfoColumn SET ColumnName='IsShowinLogin', Name='Show on Login', Description=NULL, Help=NULL WHERE AD_Element_ID=202569 AND IsCentrallyMaintained='Y' +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_Field SET Name='Show on Login', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=202569) AND IsCentrallyMaintained='Y' +; + +-- Nov 6, 2013 3:30:59 PM COT +UPDATE AD_PrintFormatItem SET PrintName='Show on Login', Name='Show on Login' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=202569) +; + +SELECT register_migration_script('201311061531_IDEMPIERE-1362.sql') FROM dual +; +