Rule

From ADempiere ERP Wiki

Revision as of 04:56, 22 December 2010 by Sarafudheen (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Table of Contents | Rule | Validation Rule

Rules are business rules coded in scripts. Different types of scripting are are supported. You can create rules to be executed for some event occurs such as a field in the window changes (Callouts), a table record change ModelValidator Table Event, user logge in event ModelValidator Login Event, a document is processed ModelValidator Table Event or a process is triggered.

You can create the rule from ADempiere menu: Application Dictionary >> Rule. Once you create the rule, you can use this rule when you define a Callout, Model Validator or Process.

Script editing tool will help you to write desired script.

Sample Rule and its Script

File:01_ScriptModelValidator.png

See Also

Personal tools