Fix [ 1755209 ] Import product only allows I/S in product type

This commit is contained in:
Carlos Ruiz 2008-02-15 04:32:16 +00:00
parent 12ae95b4e8
commit 200604f40b
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ public class ImportProduct extends SvrProcess
// Verify ProductType
sql = new StringBuffer ("UPDATE I_Product "
+ "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid ProductType,' "
+ "WHERE ProductType NOT IN ('I','S')"
+ "WHERE ProductType NOT IN ('E','I','R','S')"
+ " AND I_IsImported<>'Y'").append(clientCheck);
no = DB.executeUpdate(sql.toString(), get_TrxName());
if (no != 0)