Skip to main content

Window: Validation Rules

[Created: 21/05/1999 - Updated: 02/01/2000 ]
Description: Maintain dynamic Validation Rules for columns and fields
Help: The Validation Rules Window defines all dynamic rules used when entering and maintaining columns and fields. This window is for System Admin use only.

Tab: Validation

[Created: 21/05/1999 - Updated: 24/08/2022 ]
Description: Validation Rules
Help: The Validation Rules Tab defines all dynamic rules used when entering and maintaining columns and fields.
Tab Level: 0

Table 10: Validation - Fields

Table: Report Parameters

NameDescriptionHelpTechnical Info
TenantTenant for this installation.A Tenant is a company or a legal entity. You cannot share data between Tenants.ad_val_rule.AD_Client_ID numeric(10)
Table Direct
OrganizationOrganizational entity within tenantAn organization is a unit of your tenant or legal entity - examples are store, department. You can share data between organizations.ad_val_rule.AD_Org_ID numeric(10)
Table Direct
NameAlphanumeric identifier of the entityThe name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.ad_val_rule.Name character varying(60)
String
DescriptionOptional short description of the recordA description is limited to 255 characters.ad_val_rule.Description character varying(255)
String
ActiveThe record is active in the systemThere are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.There are two reasons for de-activating and not deleting records:(1) The system requires the record for audit purposes.(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.ad_val_rule.IsActive character(1)
Yes-No
Entity TypeDictionary Entity Type; Determines ownership and synchronizationThe Entity Types "Dictionary", "iDempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten. For customizations, copy the entity and select "User"!ad_val_rule.EntityType character varying(40)
Table
TypeType of Validation (SQL, Java Script, Java Language)The Type indicates the type of validation that will occur. This can be SQL, Java Script or Java Language.ad_val_rule.Type character(1)
List
Validation codeValidation CodeThe Validation Code displays the date, time and message of the error.ad_val_rule.Code character varying(4000)
String

Tab: Used in Column

[Created: 27/10/2005 - Updated: 27/10/2005 ]
Description: Used in Column
Help:
Tab Level: 1

Table 20: Used in Column - Fields

Table: Report Parameters

NameDescriptionHelpTechnical Info
TenantTenant for this installation.A Tenant is a company or a legal entity. You cannot share data between Tenants.ad_column.AD_Client_ID numeric(10)
Table Direct
OrganizationOrganizational entity within tenantAn organization is a unit of your tenant or legal entity - examples are store, department. You can share data between organizations.ad_column.AD_Org_ID numeric(10)
Table Direct
TableDatabase Table informationThe Database Table provides the information of the table definitionad_column.AD_Table_ID numeric(10)
Table Direct
DB Column NameName of the column in the databaseThe Column Name indicates the name of a column on a table as defined in the database.ad_column.ColumnName character varying(63)
String
System ElementSystem Element enables the central maintenance of column description and help.The System Element allows for the central maintenance of help, descriptions and terminology for a database column.ad_column.AD_Element_ID numeric(10)
Search
NameAlphanumeric identifier of the entityThe name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.ad_column.Name character varying(60)
String
DescriptionOptional short description of the recordA description is limited to 255 characters.ad_column.Description character varying(255)
String
Comment/HelpComment or HintThe Help field contains a hint, comment or help about the use of this item.ad_column.Help character varying(2000)
Text
ActiveThe record is active in the systemThere are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.There are two reasons for de-activating and not deleting records:(1) The system requires the record for audit purposes.(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.ad_column.IsActive character(1)
Yes-No
LengthLength of the column in the databaseThe Length indicates the length of a column as defined in the database.ad_column.FieldLength numeric(10)
Integer
ReferenceSystem Reference and ValidationThe Reference could be a display type, list or table validation.ad_column.AD_Reference_ID numeric(10)
Table
Reference KeyRequired to specify, if data type is Table or ListThe Reference Value indicates where the reference values are stored. It must be specified if the data type is Table or List.ad_column.AD_Reference_Value_ID numeric(10)
Table
Dynamic ValidationDynamic Validation RuleThese rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.ad_column.AD_Val_Rule_ID numeric(10)
Table Direct

Tab: Used in Column (Lookup)

[Created: 22/06/2019 - Updated: 24/02/2022 ]
Description: Used in Column (Lookup)
Help:
Tab Level: 1

Table 30: Used in Column (Lookup) - Fields

Table: Report Parameters

NameDescriptionHelpTechnical Info
TableDatabase Table informationThe Database Table provides the information of the table definitionad_column.AD_Table_ID numeric(10)
Table Direct
ColumnColumn in the tableLink to the database column of the tablead_column.AD_Column_ID numeric(10)
ID
DB Column NameName of the column in the databaseThe Column Name indicates the name of a column on a table as defined in the database.ad_column.ColumnName character varying(63)
String