From 3fdc6ca1e6133baf632c8f3c9ec8ceadcb3068f9 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Fri, 26 Jun 2009 11:28:39 +0000 Subject: [PATCH] BF [ 2811718 ] Create PO from Requsition without any parameter teminate in NPE http://sourceforge.net/tracker/?func=detail&atid=879332&aid=2811718&group_id=176962 --- base/src/org/compiere/process/RequisitionPOCreate.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/src/org/compiere/process/RequisitionPOCreate.java b/base/src/org/compiere/process/RequisitionPOCreate.java index 632f52abd2..ad15f42b92 100644 --- a/base/src/org/compiere/process/RequisitionPOCreate.java +++ b/base/src/org/compiere/process/RequisitionPOCreate.java @@ -47,6 +47,8 @@ import org.compiere.util.Msg; * @author Teo Sarca, www.arhipac.ro *
  • BF [ 2609760 ] RequisitionPOCreate not using DateRequired *
  • BF [ 2605888 ] CreatePOfromRequisition creates more PO than needed + *
  • BF [ 2811718 ] Create PO from Requsition without any parameter teminate in NPE + * http://sourceforge.net/tracker/?func=detail&atid=879332&aid=2811718&group_id=176962 */ public class RequisitionPOCreate extends SvrProcess { @@ -224,6 +226,7 @@ public class RequisitionPOCreate extends SvrProcess POResultSet rs = new Query(getCtx(), MRequisitionLine.Table_Name, whereClause.toString(), get_TrxName()) .setParameters(params) .setOrderBy(orderClause.toString()) + .setClient_ID() .scroll(); try {