From d614c55eec6e2578906c8605523102ab8bdb3bda Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sun, 20 Apr 2014 14:49:03 -0500 Subject: [PATCH] IDEMPIERE-1908 Product cant be imported when ProductType is Asset --- .../src/org/compiere/process/ImportProduct.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base.process/src/org/compiere/process/ImportProduct.java b/org.adempiere.base.process/src/org/compiere/process/ImportProduct.java index 27fbbababf..dd77a7e8b9 100644 --- a/org.adempiere.base.process/src/org/compiere/process/ImportProduct.java +++ b/org.adempiere.base.process/src/org/compiere/process/ImportProduct.java @@ -326,7 +326,7 @@ public class ImportProduct extends SvrProcess implements ImportProcess // Verify ProductType sql = new StringBuilder ("UPDATE I_Product ") .append("SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid ProductType,' ") - .append("WHERE ProductType NOT IN ('E','I','R','S')") + .append("WHERE ProductType NOT IN ('E','I','R','S','A')") .append(" AND I_IsImported<>'Y'").append(clientCheck); no = DB.executeUpdate(sql.toString(), get_TrxName()); if (no != 0)