Creating Code Attribute


Creating code and alternate code attribute is only available for the lookup entity

To create code / alternate code attribute:

  1. Make sure that the “Attributes” tab is active.

  2. Click the “Add Attribute” button located in the list of attributes of the current lookup entity.

  3. In the list that opens, select “Code attribute” or “Alternate code attribute”.

  4. Fill in the required attribute fields:

    • Name”: unique system name of the attribute. Once saved, the name cannot be changed.

    • Attribute display name “: name of the attribute that will be displayed in the system interface.

    • Attribute type”: defines a type of attribute. Depending on the selected type, the type parameters will become available. The attribute type cannot be changed after saving the lookup entity.

  5. Configure the attribute properties. A code attribute is always unique, required, searchable, and displayed, and cannot be selected as hidden or read-only.

    • Description”: text that is output to the data operator when the mouse cursor hovers over the attribute.

    • Displayed” parameter: automatically set to “Yes”. Cannot be changed.

    • Main displayed” parameter: if the “Yes” value is selected, the attribute will be shown and highlighted in the search results (font type: bold). The parameter defines the attribute as the main one and displays it in the search results and in the name of the tab in the workspace. If the value is “Yes”, then the “Read-only”, “Hidden” parameters will take the value “No”; the “Required” parameter will take the value “Yes”. After that, you will not be able to change the listed parameters.

    • Required” parameter: set to “Yes”, if this attribute is required.

    • Search” parameter: automatically set to “Yes”. Cannot be changed.

    • Hidden” parameter: automatically set to “No”. Cannot be changed.

    • Read-only” parameter: automatically set to “No”. Cannot be changed.

    • Unique” parameter: automatically set to “Yes”. Cannot be changed.

    • Custom properties”: list of parameters (the “Name” – “Value” pair) that contain additional text information. Parameters can be referenced by custom extensions, and parameters can also contain non-standard information from external systems.

  6. If necessary, select a foreign key generation strategy.

  7. Save changes. Click “Save” in the upper-right corner of the screen. If filling errors are detected during saving, a corresponding message will be displayed on the screen. All changes in the lookup entity will be saved.

Features of Code Attributes

  • You can create multiple code attributes for a single lookup entity. The “Unique” parameter can be set for several code attributes of the lookup entity.

  • If you create two or more code attributes, the second and all subsequent code attributes will be marked as “alternative”. Subsequently, the values of the main and alternative attributes can be imported from two different information systems.

  • After saving the record card, the required code attribute cannot be changed. An alternative code attribute can be edited.