ESNZ - Logics guide

Detailed of all existing logic for ESNZ memberships and horse registration

 

1. Price logic

  • prices (upgrade/downgrade):

    • during the season

    • during the renewal period

    • max price filter

2. Renewal period

  • renewal period logic:

    • before group expires

    • after group expires

3. Valid From and valid to dates logic

  • valid_from dates:

    • during renewal period,

    • after the current group expired during renewal period
      There should be no 30-day window following the expiry date. If a horse’s registration (or membership) has expired and is renewed at any point after the expiry date, the ‘valid from’ date should be the date of purchase. There should be no backdating function on any equine registrations or person memberships for ESNZ.

    • after current group expired and renewal period is over

4. Lifetime members

  • Lifetime Member
  • Honorary Lifetime Member
  • Official Lifetime Member
  • Coach Lifetime Member

5. Horse activation and Discipline start 

  • If a horse activation is renewed WITHIN THE RENEWAL PERIOD and current activation is active, the new activation valid_from date should equal to the current activation valid_to date

  • If a horse activation is renewed AFTER the current activation has expired, the new activation _valid_from_date should equal the purchase date

  • The Discipline Start dates should always be equal to the activation dates:

    • Before renewal period, the DS dates will match the current activation valid_from and valid_to dates

    • During renewal period, the DS dates will match the new activation valid_from and valid_to dates. A DS can’t be purchased without an activation

    • After an activation expires, the DS dates will match the new activation valid_from and valid_to dates. A DS can’t be purchased without an activation

Interpodia note