IDEMPIERE-1963 Implement Generate Shipments (manual) as Info Window

restore backwards compatibility
This commit is contained in:
Peter Takács 2022-07-21 14:40:32 +02:00 committed by GitHub
parent 58027792d8
commit 702cb1f214
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ public class InOutGenerateRMA extends SvrProcess
p_movementDate = new Timestamp(System.currentTimeMillis()); 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 protected String doIt() throws Exception

View File

@ -150,7 +150,7 @@ public class InOutGenerate extends SvrProcess
+ ", Movement=" + m_movementDate); + ", 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; p_Selection = true;
m_sql = new StringBuffer("SELECT C_Order.* FROM C_Order, T_Selection ") m_sql = new StringBuffer("SELECT C_Order.* FROM C_Order, T_Selection ")