.. include:: /Includes.rst.txt .. _feature-1791877272: ============================================== Feature: Custom field definitions and sections ============================================== Description =========== HR defines the fields a company records beyond what adsum knows: on the personal data and the work data of employees, and together with administrators on departments, job positions and locations. A field has a label and help text in English and German, a type (text, long text, whole number, decimal number, date, yes/no, single or multiple choice, web address, e-mail address, file), a data category that decides who reads it, and may be required or edited by the person. Its key comes from the English label and never changes. Fields are grouped in sections; a repeatable section, such as education, holds a list of entries. A field is archived with its values and restored with them; it is deleted only with its values, each removal recorded in the record's change history. The database schema never changes, and another company sees none of it. Impact ====== The API offers ``listCustomFieldRecordTypes``, ``listCustomFieldDefinitions``, ``createCustomFieldDefinition``, ``getCustomFieldDefinition``, ``updateCustomFieldDefinition``, ``archiveCustomFieldDefinition``, ``restoreCustomFieldDefinition``, ``deleteCustomFieldDefinition``, ``listCustomFieldSections``, ``createCustomFieldSection`` and ``updateCustomFieldSection``. An administrator without HR is refused the fields of personal and work data. The values follow in the employee record. .. index:: API, Database, package:adsum-core