DimensionController::validateUsedDimensionAttributeValue Method [AX 2012]
Validates the specified dimension attribute value.
Syntax
client server public static void validateUsedDimensionAttributeValue(
FormSegmentedEntryControl _control,
DimensionAttributeValue _dimAttributeValue,
str _value,
int _segmentIndex,
[boolean _validateTotal,
date _currentDate,
boolean _skipSuspendedAndActiveDateValidation])
Run On
Called
Parameters
- _control
Type: FormSegmentedEntryControl Class
The control in which the value is entered.
- _dimAttributeValue
Type: DimensionAttributeValue Table
The record ID of the dimension attribute value to validate.
- _value
Type: str
The value of the specified dimension attribute.
- _segmentIndex
Type: int
The index of the segment in the control where the specified dimension attribute value is used.
- _validateTotal
Type: boolean
A Boolean value that indicates whether the value to validate is not a total.
- _currentDate
Type: date
The date to validate with; otherwise, nullNothingnullptrunita null reference (Nothing in Visual Basic).
- _skipSuspendedAndActiveDateValidation
Type: boolean