Restored RevDate for approval.

Use existing MyProcedure rather than "getting" an item from the database.
This commit is contained in:
Rich
2012-11-05 22:00:36 +00:00
parent 7b5fdd9f74
commit 1b0023deb5
2 changed files with 19 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ namespace VEPROMS.CSLA.Library
sect = (sect.ActiveParent as SectionInfo) ?? SectionInfo.Get((sect.ActiveParent as ItemInfo).ItemID);
}
// There may be levels of procedures, i.e. procedures within a procedure.
ProcedureInfo proc = ProcedureInfo.Get(((ItemInfo)sect.ActiveParent).ItemID);
ProcedureInfo proc = sect.MyProcedure;
retval = proc.ProcedureConfig.GetValue(args.Group, args.Item);
if (retval != string.Empty) return retval;
while (proc.ActiveParent.IsProcedure)