Calculating whether to schedule an inspection
You can direct Infor Operations and Regulations to calculate whether an inspection can be scheduled using a schedule condition formula. For example, you could write a formula that classifies an inspection type as unable to be scheduled in licenses at the Issued milestone.
Schedule condition formulas use the oTradeLicense
object (an instance of the Hansen.CDR.TradeLicense.iTradeLicense
class) and the oInspection
object (an instance of the Hansen.CDR.TradeLicense.iInspection
class) to set InspectionScheduleCondition
to either True or False. If the formula returns True, the inspection can be scheduled. If the formula returns False, Infor Operations and Regulations doesn't update the inspection schedule information. For more information about this object and for sample code, click the Information tab in the Formula Editor.