Exemplo n.º 1
0
 public FF_BL_VM SaveFF_BL_VM(FF_BL_VM FQV)
 {
     if (!FQV.EditFlag)
     {
         FQV.FF_BL001_CODE = _CodeRep.GetCodeNew(FQV.CMPYCODE, FQV.FNMBRANCH_CODE, "FF_BL001", "INVJV", "I");
     }
     return(_FF_BLRepo.SaveFF_BL_VM(FQV));
 }
Exemplo n.º 2
0
        public ActionResult saveFFM_BL(FF_BL_VM FBV)
        {
            List <SessionListnew> list = Session["SesDet"] as List <SessionListnew>;

            if (list == null)
            {
                return(Redirect("Login/InLogin"));
            }
            else
            {
                FBV.CMPYCODE = list[0].CmpyCode;
                FBV.UserName = list[0].user_name;
                return(Json(_BLService.SaveFF_BL_VM(FBV), JsonRequestBehavior.AllowGet));
            }
        }