public Dictionary <long, IList <ReceiptReport> > GetReceiptReportListWithPagingAndCriteria(int?page, int?pageSize, string sortby, string sortType, Dictionary <string, object> criteria, Dictionary <string, object> likeCriteria)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         return(inventoryBC.GetReceiptReportListWithPagingAndCriteria(page, pageSize, sortby, sortType, criteria, likeCriteria));
     }
     catch (Exception)
     {
         throw;
     }
 }
 public Inventory_PurchaseOrder GetPurchaseOrderbyPurchaseOrderId(long PurchOrderId)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         return(inventoryBC.GetPurchaseOrderbyPurchaseOrderId(PurchOrderId));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public Dictionary <long, IList <Inventory_PurchaseOrderItem_vw> > GetPurchaseOrderItemListWithPagingAndCriteria(int?page, int?pageSize, string sortby, string sortType, Dictionary <string, object> criteria)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         return(inventoryBC.GetPurchaseOrderItemListWithPagingAndCriteria(page, pageSize, sortby, sortType, criteria));
     }
     catch (Exception)
     {
         throw;
     }
 }
 public IList <Inventory_PurchaseOrderInvoiceMapping> GetPurchaseOrderInvoiceMappingListByPOInvoiceId(long POInvoiceId)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         return(inventoryBC.GetPurchaseOrderInvoiceMappingListByPOInvoiceId(POInvoiceId));
     }
     catch (Exception)
     {
         throw;
     }
 }
 public Inventory_PurchaseOrderInvoice GetInvoiceByPOInvoiceId(long POInvoiceId)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         return(inventoryBC.GetInvoiceByPOInvoiceId(POInvoiceId));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public bool SaveOrUpdatepoInvoiceMappingList(IList <Inventory_PurchaseOrderInvoiceMapping> poInvoicelist)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         return(inventoryBC.SaveOrUpdatepoInvoiceMappingList(poInvoicelist));
     }
     catch (Exception)
     {
         throw;
     }
 }
 public Inventory_PurchaseOrderInvoiceItem GetPurchaseOrderInvoiceItemsById(long POInvoiceItemId)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         return(inventoryBC.GetPurchaseOrderInvoiceItemsById(POInvoiceItemId));
     }
     catch (Exception)
     {
         throw;
     }
 }
 public bool SaveOrUpdateInvoiceItemList(IList <Inventory_PurchaseOrderInvoiceItem> invoiceItemlist)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         return(inventoryBC.SaveOrUpdateInvoiceItemList(invoiceItemlist));
     }
     catch (Exception)
     {
         throw;
     }
 }
 public long SaveOrUpdatePurchaseOrder(Inventory_PurchaseOrder purchaseOrder)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         return(inventoryBC.SaveOrUpdatePurchaseOrder(purchaseOrder));
     }
     catch (Exception)
     {
         throw;
     }
 }
 public long SaveOrUpdatePurchaseOrderInvoiceItems(Inventory_PurchaseOrderInvoiceItem podInvoiceitems)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         return(inventoryBC.SaveOrUpdatePurchaseOrderInvoiceItems(podInvoiceitems));
     }
     catch (Exception)
     {
         throw;
     }
 }
 public Inventory_PurchaseOrderInvoice GetInvoiceByInvoiceNumber(string InvoiceNumber)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         return(inventoryBC.GetInvoiceByInvoiceNumber(InvoiceNumber));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public void InsertorUpdatePOReceiptReportDetailsByRequestId_sp(long RequestId)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         inventoryBC.InsertorUpdatePOReceiptReportDetailsByRequestId_sp(RequestId);
     }
     catch (Exception)
     {
         throw;
     }
 }
 public void InsertPOMasterDetailsByRequestId_sp(long RequestId)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         inventoryBC.InsertPOMasterDetailsByRequestId_sp(RequestId);
     }
     catch (Exception)
     {
         throw;
     }
 }
 public void DeleteInventory_PurchaseOrderInvoiceMappingById(long POInvoiceId, string PurchOrderId)
 {
     try
     {
         InventoryManagementBC inventoryBC = new InventoryManagementBC();
         inventoryBC.DeleteInventory_PurchaseOrderInvoiceMappingById(POInvoiceId, PurchOrderId);
     }
     catch (Exception ex)
     {
         throw ex;
     }
     finally { }
 }