DimensionDefaultingControllerBase.setNonActiveValueTolerance Method [AX 2012]
Specifies the action to perform when the dimension attribute value is entered that is non-active based on the isSuspended field or the range of values in the ActiveFrom and ActiveTo field and the specified date.
Syntax
public void setNonActiveValueTolerance(ErrorTolerance _nonActiveValueErrorTolerance, [date _valueFilterDate])
Run On
Called
Parameters
- _nonActiveValueErrorTolerance
Type: ErrorTolerance Enumeration
The action to perform when a non-active value is entered.
- _valueFilterDate
Type: date
The date to use to validate the date values in the ActiveFrom and ActiveTo fields to determine the active state of a value.
Exceptions
Exception | Condition |
---|---|
Error | A _valueFilterDate parameter cannot be entered if all values are accepted. |