//Get MainAccountId from LedgerDimension
LedgerDimensionFacade::getMainAccountFromLedgerDimension(LedgerDimension).MainAccountId;
or
MainAccount::findByLedgerDimension(ledgerDimension).MainAccountId;
//Get Name of MainAccountId from LedgerDimension
LedgerDimensionFacade::getMainAccountFromLedgerDimension(LedgerDimension).Name;
Keep Daxing!!
No comments:
Post a Comment