diff --git a/PROMS/DataLoader/TransitionFixer.cs b/PROMS/DataLoader/TransitionFixer.cs index 4d79d0b2..589916c6 100644 --- a/PROMS/DataLoader/TransitionFixer.cs +++ b/PROMS/DataLoader/TransitionFixer.cs @@ -129,6 +129,15 @@ namespace DataLoader c.Save(); } } + if (item.NewTransToUnNumberedItem) + { + using (Item itm = item.Get()) + { + ItemAnnotation ia = itm.ItemAnnotations.Add(VerificationRequiredType); + ia.SearchText = "Transition to un-numbered step"; + itm.Save(); + } + } if (checkRTF) { MyStepRTB.MyItemInfo = item; @@ -159,6 +168,17 @@ namespace DataLoader Status = "Done comparing"; } + private AnnotationType _VerificationRequiredType; // Using this to flag table to grid conversions + + public AnnotationType VerificationRequiredType + { + get + { + if (_VerificationRequiredType == null) + _VerificationRequiredType = AnnotationType.GetByName("Verification Required"); + return _VerificationRequiredType; + } + } public string FixTransitionText(string Text, TransitionInfo tran) { string lookFor = string.Format(@"", tran.TranType, tran.TransitionID, "{1,2}");