Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022756Openbravo ERP07. Sales managementpublic2013-01-09 18:102013-03-01 13:22
xabiermerino 
ioritzCia 
urgentmajoralways
closedopen 
5
3.0MP18.1 
3.0MP21 
ioritzCia
Core
No
0022756: Wrong behaviour in the sales invoice dimensional report
When you select the comparative option and you introduce a range of dates without data, the application generates the report attached.

As you see, the reference data are correct (no data) but there are amount, cost and profit for same dates.

If you launch the no comparative report, the application does not show data (correct)

It seems that the application does not take into account this range of dates.
-As admin go to the report (no legacy one)
-Execute it with these filters:
    - From date: 16-05-2012
    - To date: 16-05-2012
    - Comparative report: unchecked
    - organization: F&B US, Inc.
    - Dimensions: Busines Partner
- realize that there are not data for these dates
- Execute the report with same filters but checking 'Comparative report' (From Reference Date and To Reference Date > 16-05-2012)
- realize that the report show info in its first three columns.
No tags attached.
related to defect 00227633.0MP21 closed ngarcia Wrong calculation of Cost value on Sales invoice dimensional Report 
depends on defect 00231233.0MP21 closed ngarcia Sales Invoice Dimensional Report shows conversion error if it is launched as comparative 
pdf comparativeDimensional.pdf (2,921) 2013-01-09 18:10
https://issues.openbravo.com/file_download.php?file_id=5878&type=bug
Issue History
2013-01-09 18:10xabiermerinoNew Issue
2013-01-09 18:10xabiermerinoAssigned To => dmiguelez
2013-01-09 18:10xabiermerinoFile Added: comparativeDimensional.pdf
2013-01-09 18:10xabiermerinoModules => Core
2013-01-09 18:10xabiermerinoResolution time => 1329692400
2013-01-09 18:10xabiermerinoTriggers an Emergency Pack => No
2013-01-09 18:13xabiermerinoIssue Monitored: networkb
2013-01-09 18:46dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-01-24 11:21jonalegriaesarteTarget Version3.0MP20 => 3.0MP21
2013-02-20 14:49jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2013-03-01 13:21ioritzCiaRelationship addeddepends on 0023123
2013-03-01 13:21ioritzCiaRelationship addedrelated to 0022763
2013-03-01 13:22ioritzCiaReview Assigned To => ioritzCia
2013-03-01 13:22ioritzCiaNote Added: 0056893
2013-03-01 13:22ioritzCiaStatusnew => closed

Notes
(0056893)
ioritzCia   
2013-03-01 13:22   
The issue has been fixed with the changesets:
- https://code.openbravo.com/erp/devel/pi/rev/80e6a3a23b4c431fc39f0d271522aef9a1a2ac38 [^]
- https://code.openbravo.com/erp/devel/pi/rev/9cc2d186f5adfc50cbb3c22501524e195b357938 [^]

This changesets are the fixes of the related issues.