Integrate revision 11242

Fix problem introduced in revision 11051 on -> wrong validation sql for "M_InOutShipment/Receipt (RMA)"


Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2904257
This commit is contained in:
vpj-cd 2010-01-06 07:43:51 +00:00
parent 0655a2b950
commit a5ab0b6681
1 changed files with 2 additions and 1 deletions

View File

@ -384,7 +384,8 @@ public final class Env
// //
if (value == null) if (value == null)
if (context.endsWith("_ID")) if (context.endsWith("_ID"))
value = new String("-1"); // TODO: Research potential problems with tables with Record_ID=0
value = new String("0");
else else
value = new String(""); value = new String("");
ctx.setProperty(WindowNo+"|"+TabNo+"|"+context, value); ctx.setProperty(WindowNo+"|"+TabNo+"|"+context, value);