Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0009088 | Openbravo ERP | 08. Project and service management | public | 2009-05-15 08:18 | 2009-05-27 14:46 | ||||||||||||||
Reporter | rafaroda | ||||||||||||||||||
Assigned To | rafaroda | ||||||||||||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 20 | OS Version | rPath Linux | |||||||||||||||
Product Version | main | ||||||||||||||||||
Target Version | Fixed in Version | 2.40MP5 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | No | ||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0009088: Change Project Profitability citeria for displaying invoices | ||||||||||||||||||
Description | The behavior of all the reports which show invoices is the following: * Show invoices which are processed: C_INVOICE.PROCESSED = 'Y' * This means that the invoices status can be both Completed (CO), Closed (CL) and Void (VO) The behavior of the Project Profitability Report (which is showing invoices associated to projects) is the following: * Shows invoices which are in status both Completed (CO) and Closed (CL): ia.docStatus IN ('CO', 'CL') Why is the behavior different in the Project profitability Report? * There is no functional reason but technical performance reasons: this report is using multiple subqueries and discarding invoices in status Void will make it faster. For preserving the consistency of the reports which show invoices, project profitability report will show invoices with C_INVOICE.PROCESSED = 'Y' and not ia.docStatus IN ('CO', 'CL') | ||||||||||||||||||
Steps To Reproduce | 1) Create an invoice related to a project 2) Add some lines. 3) Go back to header and complete it. 4) Void it. 5) Run the Project Profitability Report. These invoices (both the voided and the created for voiding it) should appear in the Project Profitability Report (with net amount equal to 0). | ||||||||||||||||||
Proposed Solution | Change all the ia.docStatus IN ('CO', 'CL') by ia.Processed='Y' in ReportProjectProfitability_data.xsql | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2009-05-19 17:05 | psarobe | Type | defect => backport | ||||||||||||||||
2009-05-19 17:05 | psarobe | fix_in_branch | => 2.40 | ||||||||||||||||
2009-05-19 18:15 | hgbot | Checkin | |||||||||||||||||
2009-05-19 18:15 | hgbot | Note Added: 0016473 | |||||||||||||||||
2009-05-19 18:15 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2009-05-19 18:15 | hgbot | Resolution | open => fixed | ||||||||||||||||
2009-05-19 18:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.40/rev/926d97d5de16dd9e4c3c9b8bbe1ed29e3d8f3b23 [^] | ||||||||||||||||
2009-05-19 18:17 | rafaroda | Relationship added | related to 0008903 | ||||||||||||||||
2009-05-20 09:30 | hgbot | Checkin | |||||||||||||||||
2009-05-20 09:30 | hgbot | Note Added: 0016489 | |||||||||||||||||
2009-05-20 09:30 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/stable/2.40/rev/926d97d5de16dd9e4c3c9b8bbe1ed29e3d8f3b23 [^] => http://code.openbravo.com/erp/stable/2.40/rev/e2f8d09b5e3b0bc3cf1842625fc9d1a248467e9e [^] | ||||||||||||||||
2009-05-21 20:08 | psarobe | Status | resolved => new | ||||||||||||||||
2009-05-21 20:08 | psarobe | Resolution | fixed => open | ||||||||||||||||
2009-05-21 20:08 | psarobe | Status | new => scheduled | ||||||||||||||||
2009-05-21 20:08 | psarobe | Fixed in Version | => 2.40MP4 | ||||||||||||||||
2009-05-21 20:08 | psarobe | Status | scheduled => resolved | ||||||||||||||||
2009-05-21 20:08 | psarobe | Resolution | open => fixed | ||||||||||||||||
2009-05-27 14:46 | sureshbabu | Status | resolved => closed | ||||||||||||||||
2009-05-27 14:46 | sureshbabu | Note Added: 0016679 | |||||||||||||||||
2009-05-27 14:46 | sureshbabu | Fixed in Version | 2.40MP4 => 2.40MP5 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|