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:
@ -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;
|
||||
|
Reference in New Issue
Block a user