IDEMPIERE-3052 Advanced Search on doctype on invoices or orders shows all the doctypes

This commit is contained in:
Carlos Ruiz 2016-03-21 23:41:04 +01:00
parent deb6883266
commit e51ad389e7
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- IDEMPIERE-3052 Advanced Search on doctype on invoices or orders shows all the doctypes
-- Mar 21, 2016 11:38:20 PM CET
UPDATE AD_Val_Rule SET Code='C_DocType.DocBaseType IN (''SOO'', ''POO'') AND C_DocType.IsSOTrx=''@IsSOTrx@'' AND COALESCE(C_DocType.DocSubTypeSO,'' '')<>''RM'' AND C_DocType.AD_Client_ID=@#AD_Client_ID@',Updated=TO_DATE('2016-03-21 23:38:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=133
;
SELECT register_migration_script('201603212338_IDEMPIERE-3052.sql') FROM dual
;

View File

@ -0,0 +1,8 @@
-- IDEMPIERE-3052 Advanced Search on doctype on invoices or orders shows all the doctypes
-- Mar 21, 2016 11:38:20 PM CET
UPDATE AD_Val_Rule SET Code='C_DocType.DocBaseType IN (''SOO'', ''POO'') AND C_DocType.IsSOTrx=''@IsSOTrx@'' AND COALESCE(C_DocType.DocSubTypeSO,'' '')<>''RM'' AND C_DocType.AD_Client_ID=@#AD_Client_ID@',Updated=TO_TIMESTAMP('2016-03-21 23:38:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=133
;
SELECT register_migration_script('201603212338_IDEMPIERE-3052.sql') FROM dual
;