From 77d8b631b368ccfc92aba101d1ad8c22bf3b6a69 Mon Sep 17 00:00:00 2001 From: lihao Date: Wed, 29 Oct 2025 16:53:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../action/rule/XbPushTo45BeforeProcess.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/ic/src/private/nc/impl/ic/m45/action/rule/XbPushTo45BeforeProcess.java b/ic/src/private/nc/impl/ic/m45/action/rule/XbPushTo45BeforeProcess.java index 5ff9f796..77faf5a1 100644 --- a/ic/src/private/nc/impl/ic/m45/action/rule/XbPushTo45BeforeProcess.java +++ b/ic/src/private/nc/impl/ic/m45/action/rule/XbPushTo45BeforeProcess.java @@ -24,17 +24,17 @@ public class XbPushTo45BeforeProcess implements IFilterRule { return retvos; } for (PurchaseInVO vo : vos) { - if(vo.getHead().getPrimaryKey() == null){ - for (PurchaseInBodyVO body:vo.getBodys()){ - if(null!=body.getAttributeValue("vbdef33") && body.getNshouldnum().compareTo(new UFDouble(String.valueOf(body.getAttributeValue("vbdef33"))))>0){ - try { - throw new BusinessException("入库数量大于最终需求数量不能生成采购入库!"); - } catch (BusinessException e) { - throw new RuntimeException(e); - } - } - } - } + // if(vo.getHead().getPrimaryKey() == null){ + // for (PurchaseInBodyVO body:vo.getBodys()){ + // if(null!=body.getAttributeValue("vbdef33") && body.getNshouldnum().compareTo(new UFDouble(String.valueOf(body.getAttributeValue("vbdef33"))))>0){ + // try { + // throw new BusinessException("入库数量大于最终需求数量不能生成采购入库!"); + // } catch (BusinessException e) { + // throw new RuntimeException(e); + // } + // } + // } + // } } return retvos;