Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Concepts

The rules for the formal sector Formal Sector can be complex and evolving therefore . Therefore, the "formal sectorFormal Sector" solution should bring flexibility to avoid complete redesign and databases change when a parameter to define the contribution value is changed.
To bring that flexibility, the solution described in that document use a "calculation module". This module will create a framework to design calculations and to manage their activation and version on openIMIS. The calculation rule themselves will be in the form of other modules, dependent on the "Calculation" module. This solution will deliver a calculation module that takes the income (on the level of the contribution collection details) and a rate (on the level of the contribution plan) as parameters.
The value of the parameters will be saved as a JSON string in the json_ext field.
Later, this module could be used as a framework to create event-based actions

...