Fix [ 1755221 ] BPartner must not be mandatory on Import Product
Implemented suggestion from Teo
This commit is contained in:
parent
200604f40b
commit
a8508c45cc
|
@ -112,7 +112,7 @@ public class ImportProduct extends SvrProcess
|
||||||
//
|
//
|
||||||
sql = new StringBuffer ("UPDATE I_Product "
|
sql = new StringBuffer ("UPDATE I_Product "
|
||||||
+ "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid BPartner,' "
|
+ "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);
|
+ " 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