[ 2854297 ] small typos in source

https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2854297&group_id=176962

Integrate Felix Möller's patch. Thanks a lot!
This commit is contained in:
teo_sarca 2009-09-08 12:38:48 +00:00
parent 41235d67e2
commit 27d44ceded
4 changed files with 4 additions and 4 deletions

View File

@ -218,7 +218,7 @@ public class ImportGLJournal extends SvrProcess
+ " AND I_IsImported<>'Y'").append (clientCheck);
no = DB.executeUpdate(sql.toString(), get_TrxName());
if (no != 0)
log.warning ("Invalid Category=" + no);
log.warning ("Invalid GLCategory=" + no);
// Set Currency
sql = new StringBuffer ("UPDATE I_GLJournal i "

View File

@ -98,7 +98,7 @@ public class ImportInventory extends SvrProcess
sql = new StringBuffer ("DELETE I_Inventory "
+ "WHERE I_IsImported='Y'").append (clientCheck);
no = DB.executeUpdate (sql.toString (), get_TrxName());
log.fine("Delete Old Impored =" + no);
log.fine("Delete Old Imported=" + no);
}
// Set Client, Org, Location, IsActive, Created/Updated

View File

@ -179,7 +179,7 @@ public class ImportProduct extends SvrProcess
"Discontinued","DiscontinuedBy","ImageURL","DescriptionURL"};
for (int i = 0; i < strFields.length; i++)
{
sql = new StringBuffer ("UPDATE I_PRODUCT i "
sql = new StringBuffer ("UPDATE I_Product i "
+ "SET ").append(strFields[i]).append(" = (SELECT ").append(strFields[i]).append(" FROM M_Product p"
+ " WHERE i.M_Product_ID=p.M_Product_ID AND i.AD_Client_ID=p.AD_Client_ID) "
+ "WHERE M_Product_ID IS NOT NULL"

View File

@ -115,7 +115,7 @@ public class InventoryCountUpdate extends SvrProcess
+ "SET QtyCount=0 "
+ "WHERE M_Inventory_ID=" + p_M_Inventory_ID;
no = DB.executeUpdate(sql, get_TrxName());
log.info("Set Cont to Zero=" + no);
log.info("Set Count to Zero=" + no);
}
if (multiple > 0)