Business rules
Let us create our first server-side script-a business rule. A business rule is a JavaScript code that is associated with a table, runs on the server, and is executed before, after, or asynchronously when a record is inserted, updated, deleted, or retrieved in the specified table.
The following business rule new record form has many fields and tabs available when the advanced checkbox is checked:
When to runActionsAdvanced(this tab is available only when the Advanced checkbox is checked)

- The business rule can execute based on the kind of database operations selected. One or more of the following different operations can be selected:
InsertUpdateDelete(Only available when theAdvancedfield is checked)Query(Only available when theAdvancedfield is checked and cannot be aborted)
When: TheWhenproperty is only available when theAdvancedfield is selected. When theAdvancedfield is unchecked, theWhenproperty defaults to. TheBeforeWhenproperty of the business rule can be...