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:
2025-03-11 20:16:18 +01:00
parent 55d3a96228
commit 2119b31764
8 changed files with 162 additions and 38 deletions

View File

@ -266,9 +266,9 @@ public class MRB_DMO {
DateTime? issueStartDate = tempMRBInfo.IssueStartDate;
DateTime? issueEndDate = tempMRBInfo.IssueEndDate;
if (issueStartDate.HasValue == false)
if (!issueStartDate.HasValue)
throw new Exception("MRB Issue Start Date cannot be blank");
if (issueEndDate.HasValue == false)
if (!issueEndDate.HasValue)
throw new Exception("MRB Issue End Date cannot be blank");
MRB mrbData = new() { MRBNumber = mrbNumber, ToolCSV = tempMRBInfo.ToolCSV, IssueStartDate = tempMRBInfo.IssueStartDate, IssueEndDate = tempMRBInfo.IssueEndDate };