Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027286 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | always | 2014-08-06 17:29 | 2014-10-01 09:32 | |||
Reporter | rafaroda | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 23958a53eacd | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | rafaroda | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0027286: A.% field of Sales Invoice Dimensional Report comparative doesn't always work | |||||||
Description | A.% field of Sales Invoice Dimensional Report comparative doesn't always work, displaying with same data different values depending of the Dimensions selected | |||||||
Steps To Reproduce | Consistently reproduced in https://livebuilds.openbravo.com/erp_pi_pgsql/ [^] 1) Create a Sales Invoice for organization F&B España - Región Norte and business partner Hoteles Buenas Noches, S.A. with invoice date 05-08-2014 and 40 units of product Cola 0,5 L: complete it 2) Create a Sales Invoice for organization F&B España - Región Norte and business partner Alimentos y Supermercados, S.A with invoice date 04-08-2014 and 100 units of product Vino Rosado 0,75 L: complete it 3) Launch Sales Invoice Dimensional Report with comparative check-box: * From Date: 05-08-2014 - To Date: 05-08-2014 * From Reference Date: 04-08-2014 - To Reference Date: 04-08-2014 * Organization: F&B España, SA * Dimensions: Product (1), Product Group (2) * Currency: EUR Launch HTML Format: A% is correctly calculated as -94.00 %, as % (Amount Total - Amount Ref Total) / Amount Ref Total (when Amount Total = 33.20 and Amount Ref Total = 563.00) Repeat step 3 swapping Dimensions: Product Group (1), Product (2): A% is now wrongly calculated as -194.00% See screenshots at https://drive.google.com/folderview?id=0B649lz4ZYJcHMzlsWk80d3lDY2c&usp=sharing [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0070577) AtulOpenbravo (viewer) 2014-09-30 19:22 |
Test Plan - Create a Sales Invoice for organization F&B España - Región Norte and business partner Hoteles Buenas Noches, S.A. with invoice date 05-08-2014 and 40 units of product Cola 0,5 L: complete it - Create a Sales Invoice for organization F&B España - Región Norte and business partner Alimentos y Supermercados, S.A with invoice date 04-08-2014 and 100 units of product Vino Rosado 0,75 L: complete it - Launch Sales Invoice Dimensional Report with comparative check-box: * From Date: 05-08-2014 - To Date: 05-08-2014 * From Reference Date: 04-08-2014 - To Reference Date: 04-08-2014 * Organization: F&B España, SA * Dimensions: Product (1), Product Group (2) * Currency: EUR - Launch HTML Format: A% is correctly calculated as -94.00 %, as % (Amount Total - Amount Ref Total) / Amount Ref Total (where Amount Total = 33.20 and Amount Ref Total = 563.00) - Repeat step 3 swapping Dimensions: Product Group (1), Product (2): A% is now again correctly calculated as -94.00% |
(0070599) hgbot (developer) 2014-10-01 09:19 |
Repository: erp/devel/pi Changeset: 23958a53eacd7e40a5ca56fa79b672f79c95af3b Author: Atul Gaware <atul.gaware <at> openbravo.com> Date: Tue Sep 30 15:03:38 2014 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/23958a53eacd7e40a5ca56fa79b672f79c95af3b [^] Fixes Issue 27286: A.% field of Sales Invoice Dimensional Report comparative doesn't always work. For variable percentage total calculation type is set to 'Sum' which should be set to 'Nothing'. --- M src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesComparativeJR.jrxml --- |
(0070601) rafaroda (viewer) 2014-10-01 09:32 |
Reviewed different dimensions ordering and A% is properly calculated: see screenshoots at https://drive.google.com/folderview?id=0B649lz4ZYJcHSFlJSEFHQ1ZSMUE&usp=sharing [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2014-08-06 17:29 | rafaroda | New Issue | |
2014-08-06 17:29 | rafaroda | Assigned To | => dmiguelez |
2014-08-06 17:29 | rafaroda | OBNetwork customer | => No |
2014-08-06 17:29 | rafaroda | Modules | => Core |
2014-08-06 17:29 | rafaroda | Triggers an Emergency Pack | => No |
2014-08-06 17:30 | rafaroda | Issue Monitored: rafaroda | |
2014-08-07 11:44 | rafaroda | Steps to Reproduce Updated | View Revisions |
2014-08-08 08:52 | jonalegriaesarte | OBNetwork customer | No => Yes |
2014-08-08 08:52 | jonalegriaesarte | Resolution time | => 1414101600 |
2014-08-08 08:52 | jonalegriaesarte | Target Version | => 3.0PR14Q4 |
2014-08-08 09:06 | jonalegriaesarte | Resolution time | 1414101600 => 1410645600 |
2014-08-08 09:06 | jonalegriaesarte | Severity | minor => major |
2014-09-29 16:12 | jonalegriaesarte | Target Version | 3.0PR14Q4 => 3.0PR15Q1 |
2014-09-30 09:16 | AtulOpenbravo | Status | new => scheduled |
2014-09-30 09:16 | AtulOpenbravo | Assigned To | dmiguelez => AtulOpenbravo |
2014-09-30 09:16 | AtulOpenbravo | fix_in_branch | => pi |
2014-09-30 19:22 | AtulOpenbravo | Note Added: 0070577 | |
2014-10-01 09:18 | AtulOpenbravo | Review Assigned To | => rafaroda |
2014-10-01 09:18 | AtulOpenbravo | fix_in_branch | pi => |
2014-10-01 09:19 | hgbot | Checkin | |
2014-10-01 09:19 | hgbot | Note Added: 0070599 | |
2014-10-01 09:19 | hgbot | Status | scheduled => resolved |
2014-10-01 09:19 | hgbot | Resolution | open => fixed |
2014-10-01 09:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/23958a53eacd7e40a5ca56fa79b672f79c95af3b [^] |
2014-10-01 09:32 | rafaroda | Note Added: 0070601 | |
2014-10-01 09:32 | rafaroda | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |