IDEMPIERE-2853: Fixing bug of usage of isSortTab flag on display logic (#1139)

* IDEMPIERE-2853: Fixing bug of usage of isSortTab flag on display logic

* Update 202201190848_IDEMPIERE-2853.sql

* Update 202201190848_IDEMPIERE-2853.sql

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
This commit is contained in:
Deepak Pansheriya 2022-01-19 17:47:41 +05:30 committed by GitHub
parent d3b9d99e81
commit 16d06fb1b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,26 @@
-- IDEMPIERE-2853 Panel tab as a factory
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Jan 18, 2022, 9:01:14 PM IST
UPDATE AD_Field SET DisplayLogic='@AD_TabType@=SORT', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2022-01-18 21:01:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5709
;
-- Jan 19, 2022, 8:58:22 AM IST
UPDATE AD_Field SET DisplayLogic='@AD_TabType@=SORT', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2022-01-19 08:58:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5708
;
-- Jan 19, 2022, 8:59:04 AM IST
UPDATE AD_Field SET DisplayLogic='@AD_TabType@!SORT', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2022-01-19 08:59:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1546
;
-- Jan 19, 2022, 8:59:21 AM IST
UPDATE AD_Field SET DisplayLogic='@AD_TabType@!SORT', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2022-01-19 08:59:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2575
;
-- Jan 19, 2022, 1:11:36 PM CET
UPDATE AD_ToolBarButton SET DisplayLogic='@AD_TabType@!SORT & @IsActive@=Y',Updated=TO_DATE('2022-01-19 13:11:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_ToolBarButton_ID=200068
;
SELECT register_migration_script('202201190848_IDEMPIERE-2853.sql') FROM dual
;

View File

@ -0,0 +1,23 @@
-- IDEMPIERE-2853 Panel tab as a factory
-- Jan 18, 2022, 9:01:14 PM IST
UPDATE AD_Field SET DisplayLogic='@AD_TabType@=SORT', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2022-01-18 21:01:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5709
;
-- Jan 19, 2022, 8:58:22 AM IST
UPDATE AD_Field SET DisplayLogic='@AD_TabType@=SORT', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2022-01-19 08:58:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5708
;
-- Jan 19, 2022, 8:59:04 AM IST
UPDATE AD_Field SET DisplayLogic='@AD_TabType@!SORT', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2022-01-19 08:59:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1546
;
-- Jan 19, 2022, 8:59:21 AM IST
UPDATE AD_Field SET DisplayLogic='@AD_TabType@!SORT', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2022-01-19 08:59:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2575
;
-- Jan 19, 2022, 1:11:36 PM CET
UPDATE AD_ToolBarButton SET DisplayLogic='@AD_TabType@!SORT & @IsActive@=Y',Updated=TO_TIMESTAMP('2022-01-19 13:11:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_ToolBarButton_ID=200068
;
SELECT register_migration_script('202201190848_IDEMPIERE-2853.sql') FROM dual
;