public static string Save(string CWOR, string CWDE, string ITEM, string OQTY, string UNIT, string RQTY)
        {
            string         strError  = string.Empty;
            Ent_ttwhcol030 twhcol130 = new Ent_ttwhcol030();

            twhcol130.CWOR = CWOR.ToUpper();
            twhcol130.CWDE = CWDE.ToUpper();
            twhcol130.ITEM = ITEM.ToUpper();
            twhcol130.QTDL = OQTY.ToUpper();
            twhcol130.RCNO = RQTY.ToUpper();
            twhcol130.CUNI = UNIT;
            twhcol130.USER = HttpContext.Current.Session["user"].ToString();
            if (Itwhcol030.InsertTwhcol030(twhcol130, ref strError))
            {
                twhcol130.Error = false;
                twhcol130.Msg   = "Save successfull";
            }
            else
            {
                twhcol130.Error = true;
                twhcol130.Msg   = "Save error";
            }
            return(JsonConvert.SerializeObject(twhcol130));;
        }
 public bool InsertTwhcol030(Ent_ttwhcol030 ObjTwhcol030, ref string strError)
 {
     return(dal.InsertTwhcol030(ObjTwhcol030, ref strError));
 }