create ledgerdimension from mainaccount in ax2012
in AX 2012 only whereas d365fo ,we have ledgerdimensionfacade is there //SIG_22435_BudgetsInAXByCostCentre - 19- Sep -2023 - Hreddy public LedgerDimensionDefaultAccount getDefaultAccountFromMainAccountRecId(MainAccountRecId _mainAccountRecId) { recId dimAttributeId; DimensionAttributeValue dimAttributeValue; int segmentIndex; str newValue; /*DimensionAttributeValue mainAcctDimAttrValue; DimensionStorage dimStorage; MainAccount mainAccount; container result; DimAttributeMainAccount attrMainAcc; ...