From 8344eff275004e72c03e6965ee30b71d5e090f9f Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 27 Jan 2014 12:48:28 +0800 Subject: [PATCH] IDEMPIERE-1461 1003688 'Order' link opening a wrong window. --- .../oracle/201401270442_IDEMPIERE-1461.sql | 19 +++++++++++++++++++ .../201401270442_IDEMPIERE-1461.sql | 16 ++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 migration/i2.0z/oracle/201401270442_IDEMPIERE-1461.sql create mode 100644 migration/i2.0z/postgresql/201401270442_IDEMPIERE-1461.sql diff --git a/migration/i2.0z/oracle/201401270442_IDEMPIERE-1461.sql b/migration/i2.0z/oracle/201401270442_IDEMPIERE-1461.sql new file mode 100644 index 0000000000..4a1f78634a --- /dev/null +++ b/migration/i2.0z/oracle/201401270442_IDEMPIERE-1461.sql @@ -0,0 +1,19 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Jan 27, 2014 11:46:20 AM MYT +-- IDEMPIERE-1461 Zoom Condition doesn't work on empty fields +INSERT INTO AD_ZoomCondition (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AD_ZoomCondition_ID,AD_ZoomCondition_UU,Created,CreatedBy,IsActive,Name,SeqNo,Updated,UpdatedBy,WhereClause,ZoomLogic) VALUES (0,0,259,143,200005,'2f15e1d6-73d3-417b-abc9-ef38c730cc4e',TO_DATE('2014-01-27 11:46:18','YYYY-MM-DD HH24:MI:SS'),100,'Y','Sales Order',10,TO_DATE('2014-01-27 11:46:18','YYYY-MM-DD HH24:MI:SS'),100,'''SOO'' = (SELECT DocBaseType FROM C_DocType WHERE C_DocType_ID=C_Order.C_DocTypeTarget_ID AND AD_Client_ID = C_Order.AD_Client_ID)','@IsSOTrx@=Y') +; + +-- Jan 27, 2014 11:47:09 AM MYT +INSERT INTO AD_ZoomCondition (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AD_ZoomCondition_ID,AD_ZoomCondition_UU,Created,CreatedBy,IsActive,Name,SeqNo,Updated,UpdatedBy,WhereClause,ZoomLogic) VALUES (0,0,259,181,200006,'5b6bd15a-f074-47a0-822c-3b8a2ea39239',TO_DATE('2014-01-27 11:47:07','YYYY-MM-DD HH24:MI:SS'),100,'Y','Purchase Order',20,TO_DATE('2014-01-27 11:47:07','YYYY-MM-DD HH24:MI:SS'),100,'''POO'' = (SELECT DocBaseType FROM C_DocType WHERE C_DocType_ID=C_Order.C_DocTypeTarget_ID AND AD_Client_ID = C_Order.AD_Client_ID)','@IsSOTrx@=N') +; + +-- Jan 27, 2014 11:53:11 AM MYT +UPDATE AD_Field SET DefaultValue='N',Updated=TO_DATE('2014-01-27 11:53:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3499 +; + +SELECT register_migration_script('201401270442_IDEMPIERE-1461.sql') FROM dual +; + diff --git a/migration/i2.0z/postgresql/201401270442_IDEMPIERE-1461.sql b/migration/i2.0z/postgresql/201401270442_IDEMPIERE-1461.sql new file mode 100644 index 0000000000..f66666c04a --- /dev/null +++ b/migration/i2.0z/postgresql/201401270442_IDEMPIERE-1461.sql @@ -0,0 +1,16 @@ +-- Jan 27, 2014 11:46:20 AM MYT +-- IDEMPIERE-1461 Zoom Condition doesn't work on empty fields +INSERT INTO AD_ZoomCondition (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AD_ZoomCondition_ID,AD_ZoomCondition_UU,Created,CreatedBy,IsActive,Name,SeqNo,Updated,UpdatedBy,WhereClause,ZoomLogic) VALUES (0,0,259,143,200005,'2f15e1d6-73d3-417b-abc9-ef38c730cc4e',TO_TIMESTAMP('2014-01-27 11:46:18','YYYY-MM-DD HH24:MI:SS'),100,'Y','Sales Order',10,TO_TIMESTAMP('2014-01-27 11:46:18','YYYY-MM-DD HH24:MI:SS'),100,'''SOO'' = (SELECT DocBaseType FROM C_DocType WHERE C_DocType_ID=C_Order.C_DocTypeTarget_ID AND AD_Client_ID = C_Order.AD_Client_ID)','@IsSOTrx@=Y') +; + +-- Jan 27, 2014 11:47:09 AM MYT +INSERT INTO AD_ZoomCondition (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AD_ZoomCondition_ID,AD_ZoomCondition_UU,Created,CreatedBy,IsActive,Name,SeqNo,Updated,UpdatedBy,WhereClause,ZoomLogic) VALUES (0,0,259,181,200006,'5b6bd15a-f074-47a0-822c-3b8a2ea39239',TO_TIMESTAMP('2014-01-27 11:47:07','YYYY-MM-DD HH24:MI:SS'),100,'Y','Purchase Order',20,TO_TIMESTAMP('2014-01-27 11:47:07','YYYY-MM-DD HH24:MI:SS'),100,'''POO'' = (SELECT DocBaseType FROM C_DocType WHERE C_DocType_ID=C_Order.C_DocTypeTarget_ID AND AD_Client_ID = C_Order.AD_Client_ID)','@IsSOTrx@=N') +; + +-- Jan 27, 2014 11:53:11 AM MYT +UPDATE AD_Field SET DefaultValue='N',Updated=TO_TIMESTAMP('2014-01-27 11:53:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3499 +; + +SELECT register_migration_script('201401270442_IDEMPIERE-1461.sql') FROM dual +; +