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;