C1_​AGEBDELG

This algorithm returns a list of eligible members for a membership for age based pricing rule type. It uses the relation matrix to identify the main subscriber , spouse and children, after which the main subscriber and spouse are added to the eligible list while the eligible children to be added are identified based on max age of dependent, max number of dependents and order priority i.e. whether to consider the eldest or the youngest children if the max number of dependents exceeds. And if one of the dependent is a new born and the gift days is applicable then after retrieving the no of gift days, the start date is pushed back by the no of gift days.

  • For Group Membership - The required values will be be fetched from the Characteristics attached on the Pricing Rule Type.

  • For Individual Membership

    1. The required values like MAX_​NUM_​OF_​DEP, MAX_​AGE_​LIMIT_​OF_​DEP, DEP_​ORDER_​PRIORITY_​FLG etc. will be fetched from C1_​BUS_​RULE_​PRC table for that business rule id.

    2. The new born related values like GIFT_​DAYS_​APPL_​SW, GIFT_​DAYS will be fetched from C1_​BUS_​RULE_​NEW_​BORN table for that business rule id.