DimensionTree::isMainAccountOverlapping Method [AX 2012]
Check if main account is overlapping within a specified ledger.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server private static boolean isMainAccountOverlapping(
RecId _treeId,
str _accountStructureName,
RecId _excludedHierarchyId,
LedgerRecId _ledgerRecId,
Map _accountStructureToCriteria,
CLRObject _mainAccountCriteria)
Microsoft Dynamics AX 2012 R2 (SYS)
client server private static boolean isMainAccountOverlapping(
RecId _treeId,
str _accountStructureName,
RecId _excludedHierarchyId,
LedgerRecId _ledgerRecId,
Map _accountStructureToCriteria,
CLRObject _mainAccountCriteria)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server private static boolean isMainAccountOverlapping(
RecId _treeId,
str _accountStructureName,
RecId _excludedHierarchyId,
RecId _ledgerChartOfAccounts,
Map _accountStructureToCriteria,
CLRObject _mainAccountCriteria)
Microsoft Dynamics AX 2012 (FPK)
client server private static boolean isMainAccountOverlapping(
RecId _treeId,
str _accountStructureName,
RecId _excludedHierarchyId,
RecId _ledgerChartOfAccounts,
Map _accountStructureToCriteria,
CLRObject _mainAccountCriteria)
Microsoft Dynamics AX 2012 (SYS)
client server private static boolean isMainAccountOverlapping(
RecId _treeId,
str _accountStructureName,
RecId _excludedHierarchyId,
RecId _ledgerChartOfAccounts,
Map _accountStructureToCriteria,
CLRObject _mainAccountCriteria)
Run On
Called
Parameters
- _treeId
Type: RecId Extended Data Type
The ID of the DimensionConstraintTree record of the tree being activated or assigned to a ledger.
- _accountStructureName
Type: str
The name of the tree being activated or assigned to a ledger.
- _excludedHierarchyId
Type: RecId Extended Data Type
The ID of the DimensionHierarchy record within the ledger that will be ignored.
- _ledgerRecId
Type: LedgerRecId Extended Data Type
The ID of the Ledger record that specifies the ledger.
- _accountStructureToCriteria
Type: Map Class
A Map that tracks the overlap result for each account structure that is checked.
- _mainAccountCriteria
Type: CLRObject Class
An instance of CriteriaList representing all of the main account criteria of the specified tree.
Return Value
Type: boolean
true if the main account criteria overlap; otherwise, false.
Remarks
_excludedHierarchyId is 0 when assigning to a ledger. It is non-zero when activing an draft tree.