R37243 Access key - Set Fields Values

Code R37243
Entity Systems.Security.AccessKeys Entity
Name SetFieldsValues
Attribute Code, Name, EntityName
Layer Back-End
Events Commit
Priority Normal
Modify YES
Action

Set the AccessKey fields as follows:

  1. Field: EntityName
    EntityName = current entity name (e.g., Stores)

  2. Field: Name
    - If the respective entity has a name field (Name Data Member) -> then Name = current Entity.Name
    - If the respective entity does not have a name field (Name Data Member) -> then Name = current Entity.DisplayText

  3. Field: Code
    - If the respective entity has a code field (Code Data Member) -> then Code = current Entity.Code
    - If the respective entity does not have a code field (Code Data Member) -> then Code = Null
Description This rule ensures that when creating a private key from the Access Permissions panel, the| Entity Name, Name, and Code fields in the Access keys entity are automatically filled.
Message -
Version Introduced: v.25
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.