Attribute Rules
An attribute rule is a business rule of a table: a condition that the data must meet, or an action to perform on an event. The rules of a table are listed under the table as "Attribute Rules", in their sorting order. How rules are written and when they run is explained in Attribute Rule.
The attribute rules of the table of applications of Invantive Producer:

A rule with "Create" switched off is not generated; such a row documents a rule written by hand in the hook package of the table.
The properties of an attribute rule, shown on the right of the main window:

Fields
The details of an attribute rule show these fields:
- "Application Code": Unique alphanumeric code of the application.
- "Table Code": Unique alphanumeric code.
- "Code": Unique alphanumeric code.
- "Sort Order": Numeric value that determines the ordering of the records in this table in a drop-down box.
- "Event Category": When the rule applies:
Iinsert,Uupdate,Ddelete,Minsert and update,Aall events. - "Action Category": What the rule does:
Echeck a condition and raise an error,Aperform an action. - "Action Moment Category": For an action, when it runs:
Bbefore the row is written,Aafter. - "Create": Whether the attribute rule will be created.
- "Constraint Specification": The condition, referring to the row as
:new,:old,:lastand:event. - "Action Specification": The statement executed by an action.
- "User Message": The message shown when the condition is not met, written as a resource code.
- "Documentation": Documentation on the attribute rule.
- "Message Parameter 1": Expression for the first parameter of the user message.
- "Message Parameter 2": Expression for the second parameter of the user message.
- "Message Parameter 3": Expression for the third parameter of the user message.
- "Message Parameter 4": Expression for the fourth parameter of the user message.
- "Message Parameter 5": Expression for the fifth parameter of the user message.
Tabs
The summary window of an attribute rule shows its related rows on these tabs: