public ProblemManagement(String problemID) { this._ID = problemID; DataTable problemData = DL_ProblemManagement.ProblemDetails(problemID); if (problemData == null) { this.IsValid = false; } else if (problemData.Rows.Count < 1) { this.IsValid = false; } else if (problemData.Rows.Count > 1) { this.IsValid = false; } else { this.IsValid = true; DataRow dr = problemData.Rows[0]; this._accessionNumber = dr["ACCESSION"].ToString(); this._comments = dr["COMMENTS"].ToString(); this._resolution = dr["RESOLUTION"].ToString(); this._enteredBy = dr["ENTEREDBY"].ToString(); this._enteredDate = dr["ENTEREDDATE"].ToString(); this._enteredTime = dr["ENTEREDTIME"].ToString(); this._resolvedBy = dr["RESOLVEDBY"].ToString(); this._resolvedDate = dr["RESOLUTIONDATE"].ToString(); this._resolvedTime = dr["RESOLUTIONTIME"].ToString(); this._problemType = dr["PROBLEMTYPE"].ToString(); this._labLocation = dr["LABLOCATION"].ToString(); this._enteredByDispName = dr["ENTEREDBYDISPNAME"].ToString(); this._resolvedByDispName = dr["RESOLVEDBYDISPNAME"].ToString(); } }
//+SSM 15/11/2011 AntechCSM 2a2 #Issue116544 Added BL method to call DL method public static DataTable getProblemSearchReport(String strQS) { return(DL_ProblemManagement.getProblemSearchReport(strQS)); }
public static string updateProblemDetails(string ClientID, string ProblemID, string ResolvedBy, string CommentText, string ResolvedText, String Location, String problemCategory) { return(DL_ProblemManagement.updateProblemDetails(ClientID, ProblemID, ResolvedBy, CommentText, ResolvedText, Location, problemCategory)); }
public static string insertProblemDetails(string ClientID, string AccessionNumber, string ProblemCategory, string location, string commentText, string resolutionText, string enteredBy, string resolvedBy) { return(DL_ProblemManagement.insertProblemDetails(ClientID, AccessionNumber, ProblemCategory, location, commentText, resolutionText, enteredBy, resolvedBy)); }
public static DataTable getProblemDetailsBySearchOptions(string AccountNumber, string AccessionNumber, string ProblemCategory, string ProblemStatus, string Location, string EnteredBy, string ResolvedBy, string ProblemNumber, string DateFrom, string DateTo, string SalesTerritory) { return(DL_ProblemManagement.getProblemDetailsBySearchOptions(AccountNumber, AccessionNumber, ProblemCategory, ProblemStatus, Location, EnteredBy, ResolvedBy, ProblemNumber, DateFrom, DateTo, SalesTerritory)); }