fix:
外销合同报错处理
This commit is contained in:
parent
c409cec729
commit
35a8f683a4
@ -1536,7 +1536,6 @@ public class SalesOrderEdit extends AbstractBillPlugIn implements Plugin, Before
|
||||
yem_es_materialinfo.set("yem_amt", yem_amt);
|
||||
yem_es_materialinfo.set("yem_locamt", yem_amt.multiply(newbill.getBigDecimal("yem_exrate")));
|
||||
qty_s = BigDecimalUtils.add(qty_s, yem_qty, 10);
|
||||
if (!yem_es_materialinfo.getString("yem_businesssort").equals("Z") || !yem_es_materialinfo.getBoolean("yem_ifgift")) {
|
||||
DynamicObject yem_productmodel = yem_es_materialinfo.getDynamicObject("yem_productmodel");
|
||||
if (yem_productmodel != null) {
|
||||
DynamicObject yem_products = yem_productmodel.getDynamicObject("yem_products");
|
||||
@ -1567,7 +1566,6 @@ public class SalesOrderEdit extends AbstractBillPlugIn implements Plugin, Before
|
||||
yem_retrofitting.set("yem_qtyamt", yem_qtyamt);
|
||||
}
|
||||
// }
|
||||
}
|
||||
} else {
|
||||
yem_es_materialinfo_s.remove(i--);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user