Installation settings
-
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- Building applications
Installation settings are global business rules with calculated names. Installation settings are calculated just before a record is displayed and facilitate dynamic determination of access and roles. Installation Settings permit the programmatic determination of a setting.
Installation settings controlling access to fields and records are:
- CanRead()
- CanWrite()
- CanCreate()
- CanDelete()
Functions can return true if access is permitted, false if not. No return value uses the permission calculated using roles. The function has access to the current record through the variable current code.
The name of the function checking the permission on a record is formed by prefixing the
setting name with the record name:
Similarly,
the permission on a field in a record is formed by prefixing the function name with the record
name, underscore, and field
name: Naming
examples: This
sample business rule restricts the writing of the name field in the sys_dictionary file when
the entry
exists: