1.外销合同报错处理
This commit is contained in:
ljw 2024-11-29 16:55:10 +08:00
parent 833f54a242
commit 298a8963af

View File

@ -19,7 +19,6 @@ import kd.bos.servicehelper.operation.SaveServiceHelper;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import static com.yem.wm.es.salesorder.utils.SalesOrderUtils.setCustomBillno;
@ -392,11 +391,11 @@ public class SalesOrderAuditOp extends AbstractOperationServicePlugIn {
BigDecimal giveamo = giftrules.getBigDecimal("yem_giveamob");
BigDecimal giveamobase = giveamo.multiply(exrate);
amount(products, currency, exrate, operator, department, giftamountss, ruledescribed, giveamo, giveamobase);
SaveServiceHelper.save(new DynamicObject[]{giftamountss});
}
}
}
}
SaveServiceHelper.save(new DynamicObject[]{giftamountss});
GiftAmount.Calculate(customer, org, products);
}
}