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); }
public static Task <List <dynamic> > GetRawByfTaxonomyTerms(this ByfClient1 client) => client.GetViewsList(VIEWS_ID);
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()); }
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()); }
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);