Ledger Dimension AX2012 & D365FO
In AX -2012 We use DimensionStorage class and method getDynamicAccount to get the Ledger dimension of the following accounts.
For Instance
DimensionStorage::getDynamicAccount("ABC",LedgerJournalACType::Ledger);
- Ledger
- Cust
- Vend
- Project
- FixedAssets
- Bank
In D365FO DimensionStorage is removed and the new class introduces LedgerDynamicAccountHelper to get the Ledger dimension of the following accounts.
For Instance
LedgerDynamicAccountHelper::getDynamicAccountFromAccountNumber("Project-001",LedgerJournalACType::Project);