/// <summary>
        /// Create SapInventoryCheckPlanInfo
        /// </summary>
        /// <param name="loginUser"></param>
        /// <returns>SapInventoryCheckPlanInfo</returns>
        public static SapInventoryCheckPlanInfo CreateSapInventoryCheckPlanInfo(string loginUser)
        {
            SapInventoryCheckPlanInfo info = new SapInventoryCheckPlanInfo();

            ///ID
            //info.Id = null;
            ///FID
            info.Fid = Guid.NewGuid();
            ///LOG_FID
            info.LogFid = null;
            ///WERKS
            info.Werks = null;
            ///IBLNR
            info.Iblnr = null;
            ///MATNR
            info.Matnr = null;
            ///MENGE
            info.Menge = null;
            ///LGORT
            info.Lgort = null;
            ///ZLDAT
            info.Zldat = null;
            ///PROCESS_FLAG
            info.ProcessFlag = null;
            ///PROCESS_TIME
            info.ProcessTime = null;
            ///VALID_FLAG
            info.ValidFlag = true;
            ///CREATE_USER
            info.CreateUser = loginUser;
            ///CREATE_DATE
            info.CreateDate = DateTime.Now;
            ///MODIFY_USER
            info.ModifyUser = null;
            ///MODIFY_DATE
            info.ModifyDate = null;
            ///COMMENTS
            info.Comments = null;
            return(info);
        }
示例#2
0
 public long InsertInfo(SapInventoryCheckPlanInfo info)
 {
     return(dal.Add(info));
 }
 /// <summary>
 /// UpdateInfo
 /// </summary>
 /// <param name="info">对象</param>
 /// <returns></returns>
 public bool UpdateInfo(SapInventoryCheckPlanInfo info)
 {
     return(dal.Update(info) > 0 ? true : false);
 }