Example #1
0
 public static LazyListModel <Invoice> GetAllReceived(DataQuery dataQuery, bool getPurchaseTotal = false)
 {
     Operation.AddPartnerLocationFilters(ref dataQuery);
     return(BusinessDomain.DataAccessProvider.GetAllDocuments <Invoice> (dataQuery,
                                                                         Data.DocumentType.Invoice, getPurchaseTotal, Data.OperationType.Purchase));
 }