Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030315 | Openbravo ERP | 09. Financial management | public | 2015-07-03 14:44 | 2015-08-20 23:16 |
|
Reporter | dmiguelez | |
Assigned To | dmiguelez | |
Priority | immediate | Severity | critical | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Community Appliance |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | dmiguelez |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Production - Confirmed Stable |
Regression date | 2014-09-17 |
Regression introduced in release | 3.0PR14Q4 |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/ea8abe653e29 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0030315: Costing Process does not process more than 1000 Transactions even if it says so |
Description | Costing Process does not process more than 1000 Transactions even if it says so.
It loops through the first 1000 Transactions all the time. |
Steps To Reproduce | Having an environment with more than 1000 Transactions without a calculated Cost.
Launch Costing Background Process.
Enable the log through the Session Preferences Window, using the Enable Logs button and setting the class CostingBackground.java in debug mode.
In the log, it is possible to see that the process iterates more than 1000 Transactions, until the end.
If the Process is launched again, it is possible to see that only the first 1000 Transactions have been calculated based on the remaining ones.
For example, if the first time there are 5000 Transactions to calculate and the Process goes through all of them, the remaining amount for the next execution should be 0, instead it will be 4000 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0030332 | 3.0PR15Q3 | closed | dmiguelez | Costing Process does not process more than 1000 Transactions even if it says so | depends on | backport | 0030333 | 3.0PR15Q2.3 | closed | dmiguelez | Costing Process does not process more than 1000 Transactions even if it says so | caused by | feature request | 0022855 | | closed | dmiguelez | It would be fine to have the cost adjustment functionality implemented |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-07-03 14:44 | dmiguelez | New Issue | |
2015-07-03 14:44 | dmiguelez | Assigned To | => Triage Finance |
2015-07-03 14:44 | dmiguelez | Modules | => Core |
2015-07-03 14:44 | dmiguelez | Regression level | => Production - Confirmed Stable |
2015-07-03 14:44 | dmiguelez | Regression date | => 2014-10-17 |
2015-07-03 14:44 | dmiguelez | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/ea8abe653e29 [^] |
2015-07-03 14:44 | dmiguelez | Triggers an Emergency Pack | => No |
2015-07-08 11:34 | vmromanos | Regression introduced in release | => 3.0PR15Q1 |
2015-07-08 11:34 | vmromanos | Status | new => scheduled |
2015-07-08 11:34 | vmromanos | Assigned To | Triage Finance => dmiguelez |
2015-07-10 10:06 | dmitry_mezentsev | Regression date | 2014-10-17 => 2014-09-17 |
2015-07-10 10:06 | dmitry_mezentsev | Regression introduced in release | 3.0PR15Q1 => 3.0PR14Q4 |
2015-07-10 10:12 | dmitry_mezentsev | Relationship added | caused by 0022855 |
2015-07-16 11:04 | hgbot | Checkin | |
2015-07-16 11:04 | hgbot | Note Added: 0078846 | |
2015-07-16 11:04 | hgbot | Status | scheduled => resolved |
2015-07-16 11:04 | hgbot | Resolution | open => fixed |
2015-07-16 11:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/aa212bef7b447e887511d92d93eece072ef04258 [^] |
2015-07-16 11:26 | hgbot | Checkin | |
2015-07-16 11:26 | hgbot | Note Added: 0078851 | |
2015-07-16 11:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/aa212bef7b447e887511d92d93eece072ef04258 [^] => http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/d486b2997ee53a25c4319560cbe4ebe82dd92444 [^] |
2015-07-16 11:29 | hgbot | Checkin | |
2015-07-16 11:29 | hgbot | Note Added: 0078852 | |
2015-07-16 13:18 | dmiguelez | Review Assigned To | => dmiguelez |
2015-07-16 13:18 | dmiguelez | Note Added: 0078877 | |
2015-07-16 13:18 | dmiguelez | Status | resolved => closed |
2015-07-17 15:05 | hgbot | Checkin | |
2015-07-17 15:05 | hgbot | Note Added: 0078941 | |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079495 | |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079500 | |
Notes |
|
(0078846)
|
hgbot
|
2015-07-16 11:04
|
|
Repository: erp/devel/pi
Changeset: aa212bef7b447e887511d92d93eece072ef04258
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Tue Jul 14 17:13:47 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/aa212bef7b447e887511d92d93eece072ef04258 [^]
Fixes issue 30315: Sets each Transaction as isProcessed=Y after been processed.
---
M src/org/openbravo/costing/CostingBackground.java
M src/org/openbravo/costing/CostingServer.java
---
|
|
|
(0078851)
|
hgbot
|
2015-07-16 11:26
|
|
|
|
(0078852)
|
hgbot
|
2015-07-16 11:29
|
|
|
|
|
Code Reviewed by Gorka Ion + Testing Ok |
|
|
(0078941)
|
hgbot
|
2015-07-17 15:05
|
|
Repository: erp/devel/pi
Changeset: f6885205cc8d6234937fea675a1fed1d383f78f5
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Jul 17 15:04:27 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f6885205cc8d6234937fea675a1fed1d383f78f5 [^]
Related to Issue 30315: Do not take into account Transactions in Skip Status.
Remove them from the queries.
In Costing Server, set all Transactions as isProcessed=Y when they go through
doProcess() method.
---
M src/org/openbravo/costing/CostingBackground.java
M src/org/openbravo/costing/CostingServer.java
---
|
|
|
|
|
|
|
|