MInventoryLine - non-fatal (extra "C_" typo)

Whenever bugs are encountered they are quashed and reported. Here you can see their quashings up close.

Moderators: sureshquest, arulmani, trifon

MInventoryLine - non-fatal (extra "C_" typo)

Postby red1 » Thu Jul 22, 2004 8:09 pm

Bug Name : C_M instead of M
Impact : NON_FATAL - unable to coalese SQL value
Reason for Error : Typo guilty!! So are many million orhers..
Java Code : MInventoryLine.java
Package : org.compiere.model
Submitted : sourceforge/projects/compiere BUG Section
Submission Ref.No. :995867
Solution : delete the C_ below

protected boolean beforeSave (boolean newRecord)
{
log.debug ("beforeSave");
// Set Line No
if (getLine() == 0)
{
String sql = "SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_M_InventoryLine

================= REMOVE C_ ================
red1
Site Admin
 
Posts: 2740
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia

Return to BUGS Galore!

Who is online

Users browsing this forum: No registered users and 1 guest

cron