Object support for approval
changes to support approval process changes to limit menu to appropriate version of code changes to support consistency check report
This commit is contained in:
@@ -277,6 +277,20 @@ namespace VEPROMS.CSLA.Library
|
||||
tmp.ID = -1;
|
||||
return tmp;
|
||||
}
|
||||
public string GetROTitle(string ROID)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
rochild roc = GetRoChild12(ROID);
|
||||
sb.Append(roc.title.Replace(roc.appid,"").Replace(roc.value,"").Trim());
|
||||
do
|
||||
{
|
||||
string parent = ROID.Substring(0, 4) + string.Format("{0:X8}", roc.ParentID);
|
||||
roc = GetRoChild12(parent);
|
||||
if (roc.ID > 0)
|
||||
sb.Insert(0, roc.title + " - ");
|
||||
} while (roc.ID > 0);
|
||||
return sb.ToString();
|
||||
}
|
||||
// The following Method is not correct. It needs to have a RO database id as well as an id. Without that,
|
||||
// the first RO with a specific id will be found regardless of the RO Database id.
|
||||
//public rochild GetRoChildFromID(int id)
|
||||
|
Reference in New Issue
Block a user