This commit is contained in:
@@ -623,11 +623,18 @@ namespace AyaNova.Biz
|
||||
await PartBiz.RemoveSerialsAsync(oldItem.PartId, oldItem.Serials, ct, UserId);
|
||||
await PartBiz.AppendSerialsAsync(newItem.PartId, newItem.Serials, ct, UserId);
|
||||
}
|
||||
|
||||
continue;//on to next
|
||||
}
|
||||
|
||||
//### BEFORE ADDING MORE CHECKS HERE MAKE SURE LOGIC WORKS WITH ABOVE ###
|
||||
//SERIALS CHANGED
|
||||
if (oldItem.Serials != newItem.Serials)
|
||||
{
|
||||
await PartBiz.RemoveSerialsAsync(oldItem.PartId, oldItem.Serials, ct, UserId);
|
||||
await PartBiz.AppendSerialsAsync(newItem.PartId, newItem.Serials, ct, UserId);
|
||||
}
|
||||
|
||||
|
||||
//### BEFORE ADDING MORE CHECKS HERE MAKE SURE LOGIC WORKS WITH ABOVE (and add continue statement) ###
|
||||
|
||||
}
|
||||
}//modified block
|
||||
|
||||
Reference in New Issue
Block a user