C1-ASOPCKTD

This algorithm is invoked when you click the Activate and Runout buttons in the Policy screen. On clicking the Activate button, it checks whether the To Do created for the Pending status is completed. If the To Do created for the Pending status is not completed, it completes the To Do and then changes the status of the self-funded policy from Pending to In Force/Active.

Similarly, on clicking the Runout button, it checks whether the To Do created for the In Force/Active status is completed. If the To Do created for the In Force/Active status is not completed, it completes the To Do and then changes the status of the self-funded policy from In Force/Active to Runout.

It also validates the following:

  • The status of the policy is not changed from Pending to In Force/Active until the system date is later than or equal to the policy start date.

  • The status of the policy is not changed from In Force/Active to Runout when the runout end date is not specified.

  • The status of the policy is not changed from In Force/Active to Runout until the system date is later than the policy end date.

  • The status of the policy is not changed to Runout if it is renewed.

In addition, it also changes the status of the base policies to Runout when the status of the latest renewed policy is changed to Runout.