C2020-038: When deleting a procedure, add a prompt so that user has to enter a reason that is saved to database

This commit is contained in:
2020-10-22 10:21:53 +00:00
parent 1f559a0d12
commit b172dc3080
8 changed files with 370 additions and 20 deletions

View File

@@ -1634,6 +1634,7 @@ namespace VEPROMS.CSLA.Library
// remove the enhanced document link information - fixes delete/restore issue of linked steps.
// B2017-070 - when retoring a step that once had enhanced links, remove the link info for the notes and cautions as well
tmp.RemoveEnhancedFromConfig();
Item.ClearDelProcReason(tmp); // C2020-038: reason was added when procedure was deleted, clear on restore
return tmp;
}
catch (Exception ex)