Epicor 10.2.400: Labor Detail has not changed

I am getting a business logic error when executing this line of code

this.End_Row.CurrentDataRow[“ScrapQty”] = scrapList.Where(w=>w.LaborDtlSeq==0 && w.LaborHedSeq==0).Sum(c => c.Quantity).ToString();

This was not happening in the previous version of Epicor. It is happening in Epicor 10.2.400.

Can you share the full error and the preceding code?