DimensionEvaluation::isDimZeroDueToMainAccountOnlyHierarchy Method [AX 2012]
Evaluates the dimension data to determine whether its default dimension is 0 (zero) and whether its DimensionHierarchy record is only the main account.
Syntax
client server public static boolean isDimZeroDueToMainAccountOnlyHierarchy(
AccountingDistributionRecId _accountingDistributionRecId,
[DimensionDefault _dimensionDefault,
boolean _dimensionDefaultProvided])
Run On
Called
Parameters
- _accountingDistributionRecId
Type: AccountingDistributionRecId Extended Data Type
The accounting distribution to evaluate the dimension data on.
- _dimensionDefault
Type: DimensionDefault Extended Data Type
The default dimension of accounting distributions.
- _dimensionDefaultProvided
Type: boolean
A value that indicates whether the calling method has already determined the default dimension and has provided it for use by this method.
Return Value
Type: boolean
true if the dimension is 0 (zero) and is the only main account; otherwise, false.