Create ledger dimension from main account
From Bank account :
offsetLedgerDim = DimensionStorage::getDynamicAccount(‘USMF',LedgerJournalACType::Bank);
From Main account :
DimensionDynamicAccount DimensionDynamicAccount;
DimensionDynamicAccount = LedgerDynamicAccountHelper::getDynamicAccountFromAccountNumber("000103",LedgerJournalACType::Ledger);
Likewise the second parameter can be changed to get the ledger dimension from the different account types.
Comments
Post a Comment