public ActionResult LoadPurchaseOrder(string StoreId, string SupplierId, string PONo) { ReceiptNoteModels model = new ReceiptNoteModels(); //List<string> ListPONo = new List<string>(); //foreach (var PONumber in PONo.Split(',')) //{ // if (!PONumber.Equals("")) // { // ListPONo.Add(PONumber); // } //} model.ListPurchaseOrder = _POfactory.LoadPOForRN(StoreId, SupplierId, null, PONo); return(PartialView("_ListPO", model)); }