public String GetAjustmentTable(String ritypeid, string tablename) { String tableName = ""; // //convert RI Type ID (eg, 3, 6, 7) to code (eg, CB, DH, NIB) to formulate a table (eg cb.t_rtn_submission_mbr300 or dh.t_rtn_submission_mnbr300) // var ritypecode = new TCoreRiType().GetRICodeByID(ritypeid).ToLower(); tableName = string.Concat(ritypecode, ".", SharedConst.SHARED_SUBMISSION_TABLE_NAME, tablename).ToLower(); return(tableName); #region Uncomment if code breaks //switch (ritypecode) //{ // case "cb": // returnCode = string.Concat(SharedConst.SHARED_SUBMISSION_TABLE_NAME, tablename); // break; // case "dh": // returnCode = string.Concat(SharedConst.SHARED_SUBMISSION_TABLE_NAME, tablename); // break; // case "nib": // returnCode = string.Concat(SharedConst.SHARED_SUBMISSION_TABLE_NAME, tablename); // break; // default: // returnCode = string.Concat(SharedConst.SHARED_SUBMISSION_TABLE_NAME, tablename); // break; //} //return String.Concat(ritypecode, ".", returnCode).ToLower(); #endregion }