Calculating whether to add a periodic inspection schedule

You can use an AddOnCondition formula to calculate whether a periodic inspection schedule is added to an application. For example, you could write a formula that adds a schedule for an annual elevator inspection if the elevator is being used in an industrial setting.

AddOnCondition formulas use the oUseApp object (an instance of the Hansen.CDR.Use.iUseApplication class) to set AddOnCondition to either True or False. For more information, and for sample code, click the Information tab in the Formula Editor.