|
|
@ -222,8 +222,7 @@ namespace WeighAndGrading |
|
|
foreach (GradeAndWeight_Detail detail in details.Where(x => x.Weight.HasValue)) |
|
|
foreach (GradeAndWeight_Detail detail in details.Where(x => x.Weight.HasValue)) |
|
|
{ |
|
|
{ |
|
|
detail.IsLostWeight = false; |
|
|
detail.IsLostWeight = false; |
|
|
detail.Sync = false; |
|
|
|
|
|
LocalGradeAndWeightBL.Update(detail, "Weight", "IsLostWeight", "Sync"); |
|
|
|
|
|
|
|
|
LocalGradeAndWeightBL.Update(detail, "Weight", "IsLostWeight"); |
|
|
} |
|
|
} |
|
|
details = LocalGradeAndWeightBL.GetLostWeightDetails(mDate); |
|
|
details = LocalGradeAndWeightBL.GetLostWeightDetails(mDate); |
|
|
uDataGridView1.Refresh(); |
|
|
uDataGridView1.Refresh(); |
|
|
|