Override Maps - TOU Data Creation Algorithm

The classic TOU map creation algorithm needs to know the correct classic TOU map template to use to generate TOU data when the interruption occurs. Our algorithm assumes that the classic TOU map template is defined as a characteristic on the service agreement.

This algorithm performs the following:

  • It should define a parameter of Contract Option Type to indicate the type of contract options whose events should trigger an override interruption classic TOU map. It should also define a parameter of Char Type that indicates the characteristic type used for classic TOU map templates.
  • It looks for frozen contract option events for the input Contract Option Type effective during the creation time period.
  • It also looks for canceled contract option events and attempt to undo their effect.
  • It finds a characteristic on the service agreement, whose type matches the input Char Type parameter. It verifies that this is a valid classic TOU map template.
  • It generates a new data set for the classic TOU map for the time period defined by the contract option events using the classic TOU map template.