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

@ -324,7 +324,7 @@ public class CorrectiveActionDMO {
bool isAssignee = false;
int aiIndex = 0;
List<D5D6CorrectivetAction> actionItems = GetD5D6CorrectivetActions(caId).ToList();
while (isAssignee == false && aiIndex < actionItems.Count) {
while (!isAssignee && aiIndex < actionItems.Count) {
D5D6CorrectivetAction actionItem = actionItems[aiIndex];
if (actionItem.ResponsibilityOwnerID == userId && actionItem.ImplementedDate == null && actionItem.Approved) {
isAssignee = true;