Fix [ 1755221 ] BPartner must not be mandatory on Import Product

Implemented suggestion from Teo
This commit is contained in:
Carlos Ruiz 2008-02-15 04:35:16 +00:00
parent 200604f40b
commit a8508c45cc
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ public class ImportProduct extends SvrProcess
//
sql = new StringBuffer ("UPDATE I_Product "
+ "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid BPartner,' "
+ "WHERE C_BPartner_ID IS NULL"
+ "WHERE C_BPartner_ID IS NULL AND BPartner_Value IS NOT NULL"
+ " AND I_IsImported<>'Y'").append(clientCheck);
no = DB.executeUpdate(sql.toString(), get_TrxName());
if (no != 0)