diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs index 6e688fc6..de9f28a0 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs @@ -263,7 +263,9 @@ namespace Tnb.WarehouseMgr { tasks.Add(_carryService.UpdateNullCarry(carryIt)); } - await Task.WhenAll(tasks); + var all = await Task.WhenAll(tasks); + if (all.All(x => x > 0)) + isOk = all?.Length > 0; } } if (!isOk) throw Oops.Oh(ErrorCode.COM1001);