Concepts
Rule set : a container with a code and a name (page Business Rules). It holds one or more rules and is switched on with Enable.
Rule (rule line) : one line of a rule set (Rule Details). Its card (Rule Detail, opened with Details) says when the rule runs - Trigger OnInsert, Trigger OnModify, Trigger OnDelete (each Before or After the database change) and the Trigger Field - and holds its scenarios, conditions and actions. A rule line has its own Enable.
Placeholder
: a reference to a field, written [table no.:field no.], for example [37:15] = Sales Line, Quantity. The
Available Placeholders FactBox on the rule card lists the fields of the trigger table with their placeholders.
Placeholders also work in message texts: [37:3] shows the document number.
Scenario and condition
: lines on the rule card. A scenario narrows down which records the rule looks at; a condition is the test whose
result runs the actions. Both have a Validate Field (a placeholder) and a Condition written as a Business
Central filter, for example <=0, >100, Released.
Action : what happens when a condition is met: Error Message, Message, Confirmation, Notification, Email, Assign, URL, Custom Action, Power Automate Flows or Insert. Each action points to an action record (for example the error message ERR-QTY) that holds the text.
Rule group : decides for whom rule sets run (Rule Group Card: users and rule sets). A rule set runs only when it is listed in an enabled rule group; the group ALL applies to every user.
Rule Log : the list of actions the rules ran, with result, table, trigger, user and time (page Rule Log).
