web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Get Budget plan Ledger dimension from value

Muhammad Afsar Khan Profile Picture Muhammad Afsar Khan 2,676
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));





This was originally posted here.

Comments

*This post is locked for comments