Skip to content

Select active prepay frequencies

PrepayFrequencyExtensions.ActiveAsOf(Target, inAsOfDate) (clsPrepayFrequencyCollection.vb:426-431)

Field Value
Operation ID OP-013
Trigger Presenting the prepay options available on a given date
Inputs A sequence of clsPrepayFrequency, a date
Outputs Filtered sequence
Primary components `PrepayFrequencyExtensions.ActiveAsOf(Target, inAsOfDate) (clsPrepayFrequencyCollection.vb:426-431)`
Entry point Business\SAIF.Business.Policy.Rating\clsPrepayFrequencyCollection.vb

Steps

  1. Keep only frequencies for which DiscountFactor(inAsOfDate) is not Nothing — that is, a
  2. Use the related data-access statements and tables for this operation: SQL-029, SQL-030, SQL-031, PREPAY_DISCOUNT_FACTOR, PREPAY_FREQUENCY_CODE.

Process flow

The following diagram visualizes this operation's control flow.

flowchart TD
  Start([Trigger: presenting prepay options for a date]) --> D1{DiscountFactor inAsOfDate is not Nothing?}
  D1 -->|Yes| S1[Keep frequency in result]
  D1 -->|No| S2[Exclude frequency]
  S1 --> Done([Filtered active prepay frequencies])
  S2 --> Done

Failure and edge-case behavior

  • Review the linked business rules and SQL documents for the validation or data-access conditions that can block this operation.

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.Policy.Rating\clsPrepayFrequencyCollection.vb