diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs index e8e31547..ec0aef19 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs @@ -95,7 +95,7 @@ namespace Tnb.ProductionMgr // barcode = c.barcode, // code_batch = c.code_batch, code_batch = c.batch, - codeqty = c.num, + codeqty = c.num - SqlFunc.IsNull(c.feeding_num,0), material_id = c.material_id, material_code = d.code, material_name = d.name @@ -120,7 +120,7 @@ namespace Tnb.ProductionMgr // barcode = c.barcode, // code_batch = c.code_batch, code_batch = c.batch, - codeqty = c.num, + codeqty = c.num - SqlFunc.IsNull(c.feeding_num,0), material_id = c.material_id, material_code = d.code, material_name = d.name