public ActionResult RenderReceivingLogEditor(int poItemId)
        {
            PurchaseOrderItem poItem = poItemRepo.Find(poItemId);

            ViewBag.POItemId = poItemId;

            PurchaseOrder po = poRepo.GetById(poItem.PurchaseOrderId);

            if (po.RRNo == null)
            {
                ViewBag.ReNumber = "Receiving Number" + poRepo.GenerateReNumber(DateTime.Now);
            }
            else
            {
                ViewBag.ReNumber = "Receiving Number" + po.RRNo;
            }

            ViewBag.ItemDescription = poItem.Item.Description;
            ViewBag.ItemQuantity    = poItem.Quantity;

            IEnumerable <Receiving> lstReceiving = receivingRepo.ListByPurchaseOrderItemId(poItemId);

            return(PartialView("_ReceivingLogEditor", lstReceiving));
        }