LeanRuleData.validityPeriodCheck Method [AX 2012]
Validates that a given period overlaps with the validity period of the current LeanRuleData object.
Syntax
public boolean validityPeriodCheck(TransDateTime _fromDateTime, TransDateTime _toDateTime)
Run On
Called
Parameters
- _fromDateTime
Type: TransDateTime Extended Data Type
A from date and a time temporal value.
- _toDateTime
Type: TransDateTime Extended Data Type
A to date and a time temporal value.
Return Value
Type: boolean
true if the periods overlap; otherwise, false.