IDEMPIERE-4851 Tenant Admin can deactivate his own client. (#749)

This commit is contained in:
Carlos Ruiz 2021-06-30 11:14:41 +02:00 committed by GitHub
parent 10812c486d
commit 3af91f69c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,15 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- IDEMPIERE-4851 Tenant Admin can deactivate his own client.
-- Jun 29, 2021, 4:39:25 PM CEST
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_DATE('2021-06-29 16:39:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=319
;
-- Jun 29, 2021, 4:40:25 PM CEST
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_DATE('2021-06-29 16:40:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=204272
;
SELECT register_migration_script('202106291641_IDEMPIERE-4851.sql') FROM dual
;

View File

@ -0,0 +1,12 @@
-- IDEMPIERE-4851 Tenant Admin can deactivate his own client.
-- Jun 29, 2021, 4:39:25 PM CEST
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_TIMESTAMP('2021-06-29 16:39:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=319
;
-- Jun 29, 2021, 4:40:25 PM CEST
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_TIMESTAMP('2021-06-29 16:40:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=204272
;
SELECT register_migration_script('202106291641_IDEMPIERE-4851.sql') FROM dual
;