Skip to main content

Posts

Showing posts with the label How to get dimension value from ledger dimension

How to get dimension value from ledger dimension in axapta 2012

DimensionAttribute dimensionAttribute1; DimensionAttributeValueGroupStatus dimAttrValueGroupStatus1; DimensionAttributeValueGroupCombination dimAttrValueGroupCombo1; DimensionAttributeValueGroup dimAttrValueGroup1; DimensionAttributeLevelValue dimAttrLevelValue1; DimensionAttributeValue dimAttrValue1; DimensionAttrValueCOAOverride dimAttrValueCOAOverride1; DimensionAttrValueLedgerOverride dimAttrValueLedgerOverride1; DimensionFinancialTag dimensionFinancialTag1; InventPosting inventPosting1; DimensionValue Dim1, Dim2, Dim3; MainAccountNum LedgerAc; RecId LedgerRecId, dimCombinationId; dimCombinationId = 65656776; // for example here i gave a valid ledgerdimension // find MainAccountId from LedgerDimension LedgerAc = MainAccount::findByLedgerDimension(dimCombinationId).MainAccountId; LedgerRecId = Ledger...