Enhanced Documents - Change Bars are based upon the source document rather than the step which is automatically updated
This commit is contained in:
parent
1bf77667b2
commit
f9029bb00b
@ -2982,6 +2982,12 @@ namespace VEPROMS.CSLA.Library
|
||||
if (si == null) return false;
|
||||
StepConfig sc = si.MyConfig as StepConfig;
|
||||
if (sc == null) return false;
|
||||
// go back to source & see what date it has:
|
||||
//if (sc.MyEnhancedDocuments != null && sc.MyEnhancedDocuments.Count == 1 && sc.MyEnhancedDocuments[0].Type == 0)
|
||||
//{
|
||||
// ItemInfo ii = ItemInfo.Get(sc.MyEnhancedDocuments[0].ItemID);
|
||||
// return (ii.MyContent.DTS > MyProcedure.ChangeBarDate);
|
||||
//}
|
||||
// if there is no override & return whether there was a change to the text.
|
||||
return (MyContent.DTS > MyProcedure.ChangeBarDate);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user