1.下单审批计算随即资料页签数据更改逻辑

(cherry picked from commit 4ce63423b4)
This commit is contained in:
25655 2025-04-07 17:48:55 +08:00
parent fed462d2c6
commit 14cdf136d2

View File

@ -1547,6 +1547,10 @@ public class SalesOrderEdit extends AbstractBillPlugIn implements Plugin, Before
BigDecimal yem_thisqty = BigDecimal.ZERO;
for (int i = 0; i < yem_es_materialinfo_s.size(); i++) {
DynamicObject yem_es_materialinfo = yem_es_materialinfo_s.get(i);
boolean yemIsgift = yem_es_materialinfo.getBoolean("yem_isgift");
if (yemIsgift) {
continue;
}
long yem_sourceentryid = yem_es_materialinfo.getLong("yem_sourceentryid");
DynamicObject yem_plandetail_entry = (DynamicObject) yem_plandetail_entry_map.get(yem_sourceentryid);
if (yem_plandetail_entry != null) {