Calculating whether to add a periodic inspection schedule
You can use an AddOnCondition formula to calculate whether a periodic inspection schedule is added to a license. For example, you could write a formula that adds a schedule for a biannual health inspection for a restaurant.
AddOnCondition formulas use the oTradeLicense
object (an instance of the Hansen.CDR.TradeLicense.iTradeLicense
class) to set AddOnCondition
to either True or
False. For more information,
and for sample code, click the Information tab in the Formula Editor.