static CurrenciesRulesChart() { var list = AccountsChartData.GetAccountsCurrenciesRules() .GroupBy(x => x.StandardAccountId); foreach (var item in list) { _currenciesRules.Insert(item.Key.ToString(), item.ToList().ToFixedList()); } }
protected override void OnLoad() { base.OnLoad(); if (!this.IsEmptyInstance) { this.MasterData = new AccountsChartMasterData(this, this.ExtendedDataField); _accounts = new Lazy <EmpiriaHashTable <Account> >(() => AccountsChartData.GetAccounts(this)); } else { this.MasterData = new AccountsChartMasterData(this); _accounts = new Lazy <EmpiriaHashTable <Account> >(() => new EmpiriaHashTable <Account>()); } }
private FixedList <Ledger> GetLedgers() { return(AccountsChartData.GetAccountChartLedgers(this.AccountsChart)); }
private Account GetStandardAccount() { return(AccountsChartData.GetCurrentAccountWithStandardAccountId(this.StandardAccountId)); }
public FixedList <Account> Search(string filter) { return(AccountsChartData.SearchAccounts(this, filter)); }
public FixedList <Account> GetAccountHistory(string accountNumber) { return(AccountsChartData.GetAccountHistory(this, accountNumber)); }