Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006786Openbravo ERP07. Sales managementpublic2009-01-07 12:392009-01-12 18:11
networkb 
rafaroda 
immediateminoralways
closedno change required 
5
2.40 
 
Core
No
0006786: Although a business partner is deactivated, is showed in some Sales reports
If a business partner is deactivated, still appears in some Sales reports and it must not.

This happens in : Invoiced Sales Order Report, Orders Awaiting Invoice Report, Delivered Sales Order Report, Invoice Detail, Shipment Report.
1.Go to Sales Management>Analysis Tools>Invoiced Sales Order Report.
2.Select "From Date" and "To Date". Press "html format" button.
3.In the report will appear diferent business partners. Select one of them.
4.Go to Master Data>Business Partner and find the previous one.
5.Deactivate it.
6.Go back to the report, and fill the same dates.
7.The report will show the same information for the deactivated business partner.
And it must not.
No tags attached.
blocks defect 0006783 closed rafaroda Although a business partner is deactivated, is showed in some Sales reports 
Issue History
2009-01-07 13:35rafarodaTypedefect => backport
2009-01-07 13:35rafarodafix_in_branch => 2.40
2009-01-07 22:16svnbotCheckin
2009-01-07 22:16svnbotNote Added: 0011967
2009-01-07 22:16svnbotStatusscheduled => resolved
2009-01-07 22:16svnbotResolutionopen => fixed
2009-01-07 22:16svnbotsvn_revision => 11697
2009-01-12 18:07svnbotCheckin
2009-01-12 18:07svnbotNote Added: 0012122
2009-01-12 18:07svnbotsvn_revision11697 => 11803
2009-01-12 18:08rafarodaStatusresolved => new
2009-01-12 18:08rafarodaResolutionfixed => open
2009-01-12 18:11rafarodaStatusnew => closed
2009-01-12 18:11rafarodaNote Added: 0012123
2009-01-12 18:11rafarodaResolutionopen => no change required

Notes
(0011967)
svnbot   
2009-01-07 22:16   
Repository: openbravo
Revision: 11697
Author: rafaroda
Date: 2009-01-07 22:16:09 +0100 (Wed, 07 Jan 2009)

Fixes bug 0006786 Now Invoiced Sales Order Report, Orders Awaiting Invoice Report, Delivered Sales Order Report, Invoice Detail and Shipment Report only show data from active partners.

---
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/InoutEdition_data.xsql
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportInvoices_data.xsql
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportOrderNotInvoice_data.xsql
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderInvoiced_data.xsql
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderProvided_data.xsql
---

https://dev.openbravo.com/websvn/openbravo/?rev=11697&sc=1 [^]
(0012122)
svnbot   
2009-01-12 18:07   
Repository: openbravo
Revision: 11803
Author: rafaroda
Date: 2009-01-12 18:07:02 +0100 (Mon, 12 Jan 2009)

Bug 0006786 Reverted commit 11697.

---
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/InoutEdition_data.xsql
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportInvoices_data.xsql
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportOrderNotInvoice_data.xsql
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderInvoiced_data.xsql
U branches/r2.40/src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderProvided_data.xsql
---

https://dev.openbravo.com/websvn/openbravo/?rev=11803&sc=1 [^]
(0012123)
rafaroda   
2009-01-12 18:11   
This bug was finally closed as not a bug and commits were reverted.

Business partners de-activated should not be shown in transactional windows but their activity, even if they are de-activated, has to be displayed in all the reports. Otherwise, one could report a wrong historical of sales from the past year because he de-activated some business partners.