Fix [ 1686531 ] Automatic change of status on requests is not happening

This commit is contained in:
Carlos Ruiz 2007-06-28 03:51:31 +00:00
parent fd2af8e8eb
commit a66119b005
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ public class RequestProcessor extends AdempiereServer
+ "SELECT * FROM R_Status s "
+ "WHERE r.R_Status_ID=s.R_Status_ID"
+ " AND s.TimeoutDays > 0 AND s.Next_Status_ID > 0"
+ " AND r.Updated+s.TimeoutDays < SysDate"
+ " AND r.DateLastAction+s.TimeoutDays < SysDate"
+ ") "
+ "ORDER BY R_Status_ID";
PreparedStatement pstmt = null;