private LoanReciptPlan GetLoanReciptPlan(LoanReciptPlanViewModel loanReciptPlanViewModel)
        {
            var loanReciptPlan = new LoanReciptPlan()
            {
                ProgramID             = loanReciptPlanViewModel.ProgramID,
                CommodityID           = loanReciptPlanViewModel.CommodityID,
                CommoditySourceID     = 2,    //only for loan
                ShippingInstructionID = _commonService.GetShippingInstruction(loanReciptPlanViewModel.SiNumber),
                LoanSource            = loanReciptPlanViewModel.LoanSource.ToString(),
                //HubID = loanReciptPlanViewModel.HubID,
                ProjectCode     = loanReciptPlanViewModel.ProjectCode,
                ReferenceNumber = loanReciptPlanViewModel.RefeenceNumber,
                Quantity        = loanReciptPlanViewModel.Quantity,
                CreatedDate     = DateTime.Today,
                StatusID        = (int)LocalPurchaseStatus.Draft,
                IsFalseGRN      = loanReciptPlanViewModel.IsFalseGRN
            };

            return(loanReciptPlan);
        }