public static async Task <Dictionary <int, int> > GetBankAcctsByGLAcctDict(this ByfClient1 client)
        {
            var dict     = new Dictionary <int, int>();
            var dynamics = await client.GetViewsList(BankAccountConverter2.VIEWS_ID);

            foreach (var byf in dynamics)
            {
                var glAcctId = As.ID(byf.glaccountnid);
                var bankAcct = As.ID(byf.nid);
                dict.Add(glAcctId, bankAcct);
            }
            return(dict);
        }
Exemple #2
0
 public static Task <List <dynamic> > GetRawByfTaxonomyTerms(this ByfClient1 client)
 => client.GetViewsList(VIEWS_ID);
Exemple #3
0
        public static async Task <List <dynamic> > GetRawByfAmbulantColxns(this ByfClient1 client, DateTime date)
        {
            var list = await client.GetViewsList(PUBLISHED_AMBULANT_COLXNS, date);

            return(list.Where(_ => IsCompositeRemarks(_)).ToList());
        }
        public static async Task <List <dynamic> > GetRawByfOtherColxns(this ByfClient1 client, DateTime date)
        {
            var list = await client.GetViewsList(PUBLISHED_OTHER_COLXNS, date);

            return(list.Where(_ => !IsAmbulantColxn(_)).ToList());
        }
Exemple #5
0
 public static Task <List <dynamic> > GetRawByfLeaseColxns(this ByfClient1 client, DateTime date)
 => client.GetViewsList(PUBLISHED_LEASE_COLXNS, date);
        public static async Task <List <dynamic> > GetRawByfCashierColxns(this ByfClient1 client, DateTime date)
        {
            var list = await client.GetViewsList(PUBLISHED_CASHIER_COLXNS, date);

            return(list.Where(_ => As.ID(_.memotype) == 1).ToList());
        }
Exemple #7
0
 public static Task <List <dynamic> > GetRawByfBankDeposits(this ByfClient1 client, DateTime date)
 => client.GetViewsList(PUBLISHED_BANK_DEPS, date);
 public static Task <List <dynamic> > GetRawByfPayees(this ByfClient1 client)
 => client.GetViewsList(VIEWS_ID);