LedgerTransferOpening.getLedgerDimensionForMainAcount Method [AX 2012]
Retrieves or creates a new ledger dimension based on a main account and dimension segments.
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
private LedgerDimensionAccount getLedgerDimensionForMainAcount(
DimensionStorageSegment _mainAccountSegment,
LedgerDimensionAccount _ledgerDimension,
[RefRecId _accountStructureId])
Microsoft Dynamics AX 2012 R2 (SYS)
private LedgerDimensionAccount getLedgerDimensionForMainAcount(
DimensionStorageSegment _mainAccountSegment,
LedgerDimensionAccount _ledgerDimension,
[RefRecId _accountStructureId])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
private LedgerDimensionAccount getLedgerDimensionForMainAcount(
DimensionStorageSegment _mainAccountSegment,
LedgerDimensionAccount _ledgerDimension,
[RefRecId _accountStructureId])
Microsoft Dynamics AX 2012 (FPK)
private LedgerDimensionAccount getLedgerDimensionForMainAcount(DimensionStorageSegment _mainAccountSegment, LedgerDimensionAccount _ledgerDimension)
Microsoft Dynamics AX 2012 (SYS)
private LedgerDimensionAccount getLedgerDimensionForMainAcount(DimensionStorageSegment _mainAccountSegment, LedgerDimensionAccount _ledgerDimension)
Run On
Called
Parameters
- _mainAccountSegment
Type: DimensionStorageSegment Class
The main account segment of the new ledger dimension.
- _ledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The _ledgerDimension parameter contains the dimensions of the new ledger dimension.
- _accountStructureId
Type: RefRecId Extended Data Type
The account structure to use for the new ledger dimension.
Return Value
Type: LedgerDimensionAccount Extended Data Type
The ID of the ledger dimension.