We can use following code to get Budget plan ledger dimension.
Container offsetAccount;
RefRecId ledgerDimension;
// offsetAccount = ['Account structure display value','Account structure', 'No of dimension', 'MainAccount','MainAccount value','Dimension 1', 'value', 'Dimension 2', 'value'];
offsetAccount = ['SCUS - Exp & Rev','SCUS - Exp & Rev', '3', 'MainAccount','1101','Fund', '1', 'Department', '0010'];
ledgerDimension = AxdDimensionUtil::getBudgetPlanningAccountId(offsetAccount);
info(strFmt("%1", ledgerDimension));
No comments:
Post a Comment