IDEMPIERE-1963 Implement Generate Shipments (manual) as Info Window
restore backwards compatibility
This commit is contained in:
parent
58027792d8
commit
702cb1f214
|
@ -87,7 +87,7 @@ public class InOutGenerateRMA extends SvrProcess
|
|||
p_movementDate = new Timestamp(System.currentTimeMillis());
|
||||
}
|
||||
}
|
||||
p_Selection = getProcessInfo().getAD_InfoWindow_ID() > 0;
|
||||
if (getProcessInfo().getAD_InfoWindow_ID() > 0) p_Selection=true;
|
||||
}
|
||||
|
||||
protected String doIt() throws Exception
|
||||
|
|
|
@ -150,7 +150,7 @@ public class InOutGenerate extends SvrProcess
|
|||
+ ", Movement=" + m_movementDate);
|
||||
|
||||
|
||||
if (getProcessInfo().getAD_InfoWindow_ID() > 0) // VInOutGen
|
||||
if ((getProcessInfo().getAD_InfoWindow_ID() > 0) || (getProcessInfo().getAD_InfoWindow_ID()==0 && p_Selection))
|
||||
{
|
||||
p_Selection = true;
|
||||
m_sql = new StringBuffer("SELECT C_Order.* FROM C_Order, T_Selection ")
|
||||
|
|
Loading…
Reference in New Issue