IDEMPIERE-1908 Product cant be imported when ProductType is Asset

This commit is contained in:
Carlos Ruiz 2014-04-20 14:49:03 -05:00
parent fc8a941055
commit d614c55eec
1 changed files with 1 additions and 1 deletions

View File

@ -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)