[ 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:
parent
41235d67e2
commit
27d44ceded
|
@ -218,7 +218,7 @@ public class ImportGLJournal extends SvrProcess
|
||||||
+ " 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)
|
||||||
log.warning ("Invalid Category=" + no);
|
log.warning ("Invalid GLCategory=" + no);
|
||||||
|
|
||||||
// Set Currency
|
// Set Currency
|
||||||
sql = new StringBuffer ("UPDATE I_GLJournal i "
|
sql = new StringBuffer ("UPDATE I_GLJournal i "
|
||||||
|
|
|
@ -98,7 +98,7 @@ public class ImportInventory extends SvrProcess
|
||||||
sql = new StringBuffer ("DELETE I_Inventory "
|
sql = new StringBuffer ("DELETE I_Inventory "
|
||||||
+ "WHERE I_IsImported='Y'").append (clientCheck);
|
+ "WHERE I_IsImported='Y'").append (clientCheck);
|
||||||
no = DB.executeUpdate (sql.toString (), get_TrxName());
|
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
|
// Set Client, Org, Location, IsActive, Created/Updated
|
||||||
|
|
|
@ -179,7 +179,7 @@ public class ImportProduct extends SvrProcess
|
||||||
"Discontinued","DiscontinuedBy","ImageURL","DescriptionURL"};
|
"Discontinued","DiscontinuedBy","ImageURL","DescriptionURL"};
|
||||||
for (int i = 0; i < strFields.length; i++)
|
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"
|
+ "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 i.M_Product_ID=p.M_Product_ID AND i.AD_Client_ID=p.AD_Client_ID) "
|
||||||
+ "WHERE M_Product_ID IS NOT NULL"
|
+ "WHERE M_Product_ID IS NOT NULL"
|
||||||
|
|
|
@ -115,7 +115,7 @@ public class InventoryCountUpdate extends SvrProcess
|
||||||
+ "SET QtyCount=0 "
|
+ "SET QtyCount=0 "
|
||||||
+ "WHERE M_Inventory_ID=" + p_M_Inventory_ID;
|
+ "WHERE M_Inventory_ID=" + p_M_Inventory_ID;
|
||||||
no = DB.executeUpdate(sql, get_TrxName());
|
no = DB.executeUpdate(sql, get_TrxName());
|
||||||
log.info("Set Cont to Zero=" + no);
|
log.info("Set Count to Zero=" + no);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (multiple > 0)
|
if (multiple > 0)
|
||||||
|
|
Loading…
Reference in New Issue