IDEMPIERE-1908 Product cant be imported when ProductType is Asset
This commit is contained in:
parent
fc8a941055
commit
d614c55eec
|
@ -326,7 +326,7 @@ public class ImportProduct extends SvrProcess implements ImportProcess
|
||||||
// Verify ProductType
|
// Verify ProductType
|
||||||
sql = new StringBuilder ("UPDATE I_Product ")
|
sql = new StringBuilder ("UPDATE I_Product ")
|
||||||
.append("SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid ProductType,' ")
|
.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);
|
.append(" AND I_IsImported<>'Y'").append(clientCheck);
|
||||||
no = DB.executeUpdate(sql.toString(), get_TrxName());
|
no = DB.executeUpdate(sql.toString(), get_TrxName());
|
||||||
if (no != 0)
|
if (no != 0)
|
||||||
|
|
Loading…
Reference in New Issue