From a66119b005c21c683e4561ef8999b02c00d2e5f6 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 28 Jun 2007 03:51:31 +0000 Subject: [PATCH] Fix [ 1686531 ] Automatic change of status on requests is not happening --- .../src/main/server/org/compiere/server/RequestProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serverRoot/src/main/server/org/compiere/server/RequestProcessor.java b/serverRoot/src/main/server/org/compiere/server/RequestProcessor.java index e487b79408..885c6a231a 100644 --- a/serverRoot/src/main/server/org/compiere/server/RequestProcessor.java +++ b/serverRoot/src/main/server/org/compiere/server/RequestProcessor.java @@ -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;