Merged PR 12625: Fix: Incorrectly creating new training records when canceling a TECN
Fix: Incorrectly creating new training records when canceling a TECN IDE0100 Updated pipelines to build package .zip for msdeploy.exe Related work items: #239935
This commit is contained in:
@ -1159,8 +1159,6 @@ public class ECNController : PdfViewController {
|
||||
public ActionResult CancelDocument(int ecnNumber, byte currentStep, int documentType, string ecnTypeString, string comments = "") {
|
||||
ECN ecn = ecnDMO.GetECN(ecnNumber);
|
||||
bool lastApproverAndLastStep = false;
|
||||
if (ecn.IsTECN && ecn.SubmitedDate is not null && currentStep >= 1)
|
||||
Approve(ecnNumber, currentStep, comments, documentType, ecnTypeString);
|
||||
int appoverCount = ecnDMO.SubmitForCancellation(ecnNumber, (byte)GlobalVars.WorkFLowStepNumber.Step1, (int)Session[GlobalVars.SESSION_USERID], documentType, ecnTypeString, (int)GlobalVars.TECNExpirationCancellation.Cancellation);
|
||||
if (appoverCount > 0) {
|
||||
NotifyApproversForCancellation(ecnNumber, ecn, currentStep, documentType, ecnTypeString);
|
||||
|
Reference in New Issue
Block a user