.. include:: /Includes.rst.txt .. _feature-1791347019: ============================================ Feature: Pay employees per employment period ============================================ Description =========== An employment period carries an optional ``compensation``: ``basis`` (``monthly``, ``annual``, ``hourly``), ``amount`` in minor units of the company currency and ``payFrequency`` (``monthly``, ``semiMonthly``, ``biWeekly``, ``weekly``). A fraction of a minor unit is refused, never rounded. A raise is a new period from its day and is announced like every change of the employment. The compensation is personal data: the employee and HR read it, managers never. Admins change the currency of the company with ``updateCompany`` until an amount is stored; then it is refused with 409. Packages that store amounts tell the core through ``CurrencyUsage``. Impact ====== None. .. index:: API, Database, package:adsum-core