Feature: Custom fields on the employee record 

Description 

The employee record carries the company's custom fields in customFields, keyed by field key, in the employee, the own record, the rows of the employee list and the directory. Everyone reads only the fields of the data categories they read anyway: colleagues the directory fields, managers also work data, HR everything. HR sets values when creating or editing an employee; people change their self-service fields on their own record. Every value is checked by its type, every change is recorded in the record's change history with the field's category, and a required field must hold a value whenever the record is saved. HR is notified when a field becomes required while employees still lack a value, and finds them in the employee list with cfMissing. The list filters and counts by choice, yes/no, date and whole-number fields (cf:<key>).

Impact 

createEmployee, updateEmployee and updateMyEmployee accept customFields; the employee resources, listEmployees and listDirectoryEntries return it. The notification type customField.requiredAdded and the message CustomFieldRequiredAdded are new.