DimensionHierarchy::getAccountStructure Method
Gets the record ID of the DimensionHierarchy record that allows for the specified main account.
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 public static DimensionHierarchyId getAccountStructure(RecId _mainAccountRecId, [LedgerRecId _ledgerRecId])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static DimensionHierarchyId getAccountStructure(RecId _mainAccountRecId, [LedgerRecId _ledgerRecId])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static RecId getAccountStructure(RecId _mainAccountRecId)
Microsoft Dynamics AX 2012 (FPK)
client server public static RecId getAccountStructure(RecId _mainAccountRecId)
Microsoft Dynamics AX 2012 (SYS)
client server public static RecId getAccountStructure(RecId _mainAccountRecId)
Run On
Called
Parameters
- _mainAccountRecId
Type: RecId Extended Data Type
The record ID of the MainAccount record to find a valid account structure for.
- _ledgerRecId
Type: LedgerRecId Extended Data Type
The record ID of the Ledger record to find a valid account structure for; optional.
Return Value
Type: DimensionHierarchyId Extended Data Type
The record ID of the hierarchy.