So now your calculation algorithm has a single "bottleneck" left: checking whether the calculation register data is up-to-date.

Up to this point, you have used the utility Recalculation report to determine whether the calculation register data is up-to-date (the report is empty) or requires recalculation.

Let us create a procedure that checks whether calculation register data requires recalculation and performs the recalculation if needed.

Since the only way to get totals for employee accruals in your configuration is the EmployeeAccruals report, in order to call the procedure you will create the report form and add the Recalculate button to the form command bar. This button will run the recalculation of register data.

Add comment