Checks if M4.ApplicationModel.Permit is to be applied. Permit is discarded if the method MeetsCondition returns false.
Key | CustomCondition |
---|---|
Defined In |
M4.ApplicationModel.ConditionParameterField Implementation is optional. |
Interface |
M4.ApplicationModel.ICustomCondition
MeetsCondition(M4.ApplicationModel.ConditionParameterField, M4.EmployModel.EmployRow, M4.EmployModel.EmployField) Boolean If defined, this method is called instead of the default MeetsCondition method. Return false to discard the Permit. Condition rules are typically based on record data but may also apply data independent logic. |
Standard Implementations | None |
Example |
M4CustomLibrary.Conditions.AfternoonCondition Returns true after noon until midnight and false in the morning. |