If you wish to specify a pre-determined date in the future for a change to occur, or keep a history of past versions, you may create a new version of the formula. You may want to create multiple versions of formulas to create a pre-defined sequence of rule changes.
IDIOM allows you to create a new version of a formula by date-stamping a formula with an effective date, which is defined as the date at which a particular formula will come into effect.
At runtime, IDIOM checks for start and end dates when it locates a reference to a formula (see Formula References) and selects the most recent date that is earlier than or equal to the run date and that has not yet ended. The run date is the effective date of the transaction - it is usually the current date, but it may be any date supplied by the host application or any date set using the EffectiveDate operator (see Using effective dates to upgrade formulas).
After selecting the Formula Reference according to start and end dates, IDIOM looks for the most recent version of the formula. The same start date criteria are used but formula versions cannot be ended, they can only be replaced. This constraint is deliberate as it avoids gaps in formula sequencing. By creating a new version of a formula with a different effective date, you can specify when that version of the formula will be executed by IDIOM, allowing you to easily upgrade existing formulas (see Using effective dates to upgrade formulas).
Effective dates can also be applied to Formula References and to Table Contents (see Add Table Content Data)