Exemplo n.º 1
0
        public void CalculatePeriodAccountsBalance(FiscalYear period)
        {
            if (period.IsPostClosingEntriesLedger)
            {
                return;
            }

            period.PreparePeriodAccountBalance(organization.ChartOfAccount.GetAccountsList());
            period.ResetPeriodAccountsBalance();
            this.UpdatePeriodBalances(period);
            period.UpdateProfit();
            this.SaveChanges();
        }