C1-VALMEMBO
This algorithm validates a membership. It checks the following:
-
Whether the membership end date is not earlier than the membership start date.
-
Whether the membership start date is not earlier than the policy plan start date or later than policy plan end date.
-
Whether the membership end date is not earlier than the policy plan start date or later than policy plan end date.
-
Whether the policy plan for which you want to define the membership is specified.
-
Whether the person who is the main subscriber is added to the membership.
-
Whether the relationship type is specified while adding a person to the membership.