Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Zero balance is not coming in the trial balance

$
0
0

HI Crispin,

As you said i wrote the logic in LedgerTrialBalanceDP class, in new method  for zero balance accounts condition. Later automatically came in Trial balance list page

while select _mainaccount where _mainaccount.type == DimensionLedgerAccountType::ProfitAndLoss

   {

           balanceAMT = balance.getAccountingCurrencyBalance();

           if(balanceAMT==0)

           {

               ledgerTrialBalanceTmp.PrimaryFocusDescription = _mainaccount.Name;

               ledgerTrialBalanceTmp.PrimaryFocus =_mainaccount.MainAccountId;

               ledgerTrialBalanceTmp.EndingBalance = balanceAMT;

               ledgerTrialBalanceTmp.insert();

          }

    }


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>