IDEMPIERE-5395 : Validation Rules at Client level (#1451)

This commit is contained in:
Nicolas Micoud 2022-08-30 13:25:01 +02:00 committed by GitHub
parent e528c6f8cb
commit 79d9efb8f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 6 deletions

View File

@ -0,0 +1,14 @@
-- IDEMPIERE-5395
SELECT register_migration_script('202208241153_IDEMPIERE-5395.sql') FROM dual;
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Aug 24, 2022, 11:53:49 AM CEST
UPDATE AD_Table SET AccessLevel='6',Updated=TO_TIMESTAMP('2022-08-24 11:53:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=108
;
-- Aug 24, 2022, 11:54:34 AM CEST
UPDATE AD_Tab SET IsAdvancedTab='Y',Updated=TO_TIMESTAMP('2022-08-24 11:54:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=108
;

View File

@ -0,0 +1,11 @@
-- IDEMPIERE-5395
SELECT register_migration_script('202208241153_IDEMPIERE-5395.sql') FROM dual;
-- Aug 24, 2022, 11:53:49 AM CEST
UPDATE AD_Table SET AccessLevel='6',Updated=TO_TIMESTAMP('2022-08-24 11:53:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=108
;
-- Aug 24, 2022, 11:54:34 AM CEST
UPDATE AD_Tab SET IsAdvancedTab='Y',Updated=TO_TIMESTAMP('2022-08-24 11:54:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=108
;

View File

@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
/** Generated Interface for AD_Val_Rule
* @author iDempiere (generated)
* @version Release 9
* @version Release 10
*/
public interface I_AD_Val_Rule
{
@ -35,9 +35,9 @@ public interface I_AD_Val_Rule
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 4 - System
/** AccessLevel = 6 - System - Client
*/
BigDecimal accessLevel = BigDecimal.valueOf(4);
BigDecimal accessLevel = BigDecimal.valueOf(6);
/** Load Meta Data */

View File

@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair;
/** Generated Model for AD_Val_Rule
* @author iDempiere (generated)
* @version Release 9 - $Id$ */
* @version Release 10 - $Id$ */
@org.adempiere.base.Model(table="AD_Val_Rule")
public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent
{
@ -31,7 +31,7 @@ public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent
/**
*
*/
private static final long serialVersionUID = 20220116L;
private static final long serialVersionUID = 20220824L;
/** Standard Constructor */
public X_AD_Val_Rule (Properties ctx, int AD_Val_Rule_ID, String trxName)
@ -68,7 +68,7 @@ public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent
}
/** AccessLevel
* @return 4 - System
* @return 6 - System - Client
*/
protected int get_AccessLevel()
{