Versions Compared

Key

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

Ticket

Jira Legacy
serverSystem JIRA
serverId97d38f4a-4cd9-3563-900d-60c9290b47f4
keyOMT-328

Legacy stored procedure

uspSSRSPremiumDistribution

Comments about the report

Note

The legacy report had a region and a district picker that were simply used to filter out the list of products. They were not used in the report, so they were removed.

How it works

For each selected month, this report fetches all Premium data linked to a given Product, and dispatches the amounts into 3 categories:

  • Collected: the total amount that was collected

  • Not allocated: the amount that was collected during a given month for a policy that will start after the given month

  • Allocated: the amount that was collected and proportionally assigned to the given month (e.g. if you pay $1200 for a year, each month will have $100 allocated)