public DC_Message UpdateStaticDataFileDetailStatus(DC_SupplierImportFileDetails obj) { using (BL_UploadStaticData objBL = new BL_UploadStaticData()) { return(objBL.UpdateStaticDataFileDetailStatus(obj)); } }
public int GetSTGMappingIDTableCount(DC_SupplierImportFileDetails file) { using (DataLayer.DL_Mapping objBL = new DataLayer.DL_Mapping()) { return(objBL.GetSTGMappingIDTableCount(file)); } }
public DC_Message StaticFileUploadProcessFile(DC_SupplierImportFileDetails obj) { object result = null; ServiceConnection.MDMSvcProxy.PostData(ConfigurationManager.AppSettings["Process_Uploaded_Files"], obj, typeof(MDMSVC.DC_SupplierImportFileDetails), typeof(DC_Message), out result); return(result as DC_Message); }
protected void updateData(DC_SupplierImportFileDetails request) { MDMSVC.DC_SupplierImportFileDetails_RQ RQ = new MDMSVC.DC_SupplierImportFileDetails_RQ(); if (request != null) { RQ.SupplierImportFile_Id = request.SupplierImportFile_Id; RQ.PageNo = 0; RQ.PageSize = int.MaxValue; var res = mappingsvc.GetSupplierStaticFileDetails(RQ); request.Supplier_Id = res[0].Supplier_Id; request.Supplier = res[0].Supplier; request.SavedFilePath = res[0].SavedFilePath; request.PROCESS_USER = System.Web.HttpContext.Current.User.Identity.Name; request.Entity = res[0].Entity; request.STATUS = res[0].STATUS; request.Mode = res[0].Mode; request.CurrentBatch = res[0].CurrentBatch; var result = mappingsvc.UpdateSupplierImportFileDeails(request); } }