From f692c933da25708605c782aa699fd289b36a0751 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 13 May 2022 04:14:11 +0200 Subject: [PATCH] IDEMPIERE-5287 Minor issue in 'sql where' from Window 'User Preference' (impact Report function) - thanks to Ken Longnan (#1328) IDEMPIERE-5287 #resolve --- .../i9/oracle/202205121340_IDEMPIERE-5287.sql | 18 ++++++++++++++++++ .../postgresql/202205121340_IDEMPIERE-5287.sql | 15 +++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 migration/i9/oracle/202205121340_IDEMPIERE-5287.sql create mode 100644 migration/i9/postgresql/202205121340_IDEMPIERE-5287.sql diff --git a/migration/i9/oracle/202205121340_IDEMPIERE-5287.sql b/migration/i9/oracle/202205121340_IDEMPIERE-5287.sql new file mode 100644 index 0000000000..4e5ef5e632 --- /dev/null +++ b/migration/i9/oracle/202205121340_IDEMPIERE-5287.sql @@ -0,0 +1,18 @@ +-- IDEMPIERE-5287 Minor issue in 'sql where' from Window 'User Preference' (impact Report function) +SELECT register_migration_script('202205121340_IDEMPIERE-5287.sql') FROM dual; + +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- May 12, 2022, 1:40:51 PM CEST +UPDATE AD_Tab SET WhereClause='AD_UserPreference.AD_User_ID=@#AD_User_ID@ AND AD_UserPreference.AD_Client_ID=@#AD_Client_ID@',Updated=TO_TIMESTAMP('2022-05-12 13:40:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200189 +; + +-- May 12, 2022, 1:41:37 PM CEST +UPDATE AD_Tab SET WhereClause='C_City.C_Region_ID IS NULL AND C_City.C_Country_ID = @C_Country_ID@',Updated=TO_TIMESTAMP('2022-05-12 13:41:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200095 +; + +-- May 12, 2022, 1:42:09 PM CEST +UPDATE AD_Tab SET WhereClause='AD_CtxHelpSuggestion.Processed=''N''',Updated=TO_TIMESTAMP('2022-05-12 13:42:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200216 +; + diff --git a/migration/i9/postgresql/202205121340_IDEMPIERE-5287.sql b/migration/i9/postgresql/202205121340_IDEMPIERE-5287.sql new file mode 100644 index 0000000000..6a120f0a34 --- /dev/null +++ b/migration/i9/postgresql/202205121340_IDEMPIERE-5287.sql @@ -0,0 +1,15 @@ +-- IDEMPIERE-5287 Minor issue in 'sql where' from Window 'User Preference' (impact Report function) +SELECT register_migration_script('202205121340_IDEMPIERE-5287.sql') FROM dual; + +-- May 12, 2022, 1:40:51 PM CEST +UPDATE AD_Tab SET WhereClause='AD_UserPreference.AD_User_ID=@#AD_User_ID@ AND AD_UserPreference.AD_Client_ID=@#AD_Client_ID@',Updated=TO_TIMESTAMP('2022-05-12 13:40:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200189 +; + +-- May 12, 2022, 1:41:37 PM CEST +UPDATE AD_Tab SET WhereClause='C_City.C_Region_ID IS NULL AND C_City.C_Country_ID = @C_Country_ID@',Updated=TO_TIMESTAMP('2022-05-12 13:41:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200095 +; + +-- May 12, 2022, 1:42:09 PM CEST +UPDATE AD_Tab SET WhereClause='AD_CtxHelpSuggestion.Processed=''N''',Updated=TO_TIMESTAMP('2022-05-12 13:42:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200216 +; +