Validation Rules (Window ID-103)

From iDempiere en

Table of Contents

Window: Validation Rules

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

Description: Validation Rules

Help: The Validation Rules Tab defines all dynamic rules used when entering and maintaining columns and fields.

Validation Rules - Validation - Window (iDempiere 1.0.0).png

Fields
Name Description Help Technical Data
Client Client/Tenant for this installation. A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client. AD_Val_Rule.AD_Client_ID
numeric(10)
Table Direct
Organization Organizational entity within client An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. AD_Val_Rule.AD_Org_ID
numeric(10)
Table Direct
Name Alphanumeric identifier of the entity The 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
Description Optional short description of the record A description is limited to 255 characters. AD_Val_Rule.Description
character varying(255)
String
Active The record is active in the system There 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 Type Dictionary Entity Type; Determines ownership and synchronization The 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
Type Type 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 code Validation Code The Validation Code displays the date, time and message of the error. AD_Val_Rule.Code
character varying(2000)
Text

Tab: Used in Column

Description: Used in Column

Help:

Validation Rules - Used in Column - Window (iDempiere 1.0.0).png

Fields
Name Description Help Technical Data
Client Client/Tenant for this installation. A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client. AD_Column.AD_Client_ID
numeric(10)
Table Direct
Organization Organizational entity within client An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. AD_Column.AD_Org_ID
numeric(10)
Table Direct
Table Database Table information The Database Table provides the information of the table definition AD_Column.AD_Table_ID
numeric(10)
Table Direct
DB Column Name Name of the column in the database The Column Name indicates the name of a column on a table as defined in the database. AD_Column.ColumnName
character varying(30)
String
System Element System 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
Name Alphanumeric identifier of the entity The 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
Description Optional short description of the record A description is limited to 255 characters. AD_Column.Description
character varying(255)
String
Comment/Help Comment or Hint The Help field contains a hint, comment or help about the use of this item. AD_Column.Help
character varying(2000)
Text
Active The record is active in the system There 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
Length Length of the column in the database The Length indicates the length of a column as defined in the database. AD_Column.FieldLength
numeric(10)
Integer
Reference System Reference and Validation The Reference could be a display type, list or table validation. AD_Column.AD_Reference_ID
numeric(10)
Table
Reference Key Required to specify, if data type is Table or List The 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 Validation Dynamic Validation Rule These 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)

Description: Used in Column (Lookup)

Help:

File:Validation Rules - Used in Column (Lookup) - Window (iDempiere 1.0.0).png

Fields
Name Description Help Technical Data
Table Database Table information The Database Table provides the information of the table definition AD_Column.AD_Table_ID
numeric(10)
Table Direct
Column Column in the table Link to the database column of the table AD_Column.AD_Column_ID
numeric(10)
ID
DB Column Name Name of the column in the database The Column Name indicates the name of a column on a table as defined in the database. AD_Column.ColumnName
character varying(30)
String


Contributions / Posts

Cookies help us deliver our services. By using our services, you agree to our use of cookies.