Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014852
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2010-10-11 13:572010-12-09 16:07
ReporternetworkbView Statuspublic 
Assigned Torsuresh 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision85e337e45594
ProjectionnoneETAnoneTarget Version2.50MP23
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP22SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014852: Error in report Invoiced Sales Order Report

DescriptionError in report Invoiced Sales Order Report
Steps To Reproduce1. Sales Management || Transactions || Sales Order || Header : create sales order for any BP and for any product and set Invoice terms= immediate
2. Sales Management || Transactions || Sales Invoice || Header : create associated sales invoice
3. execute Sales Management || Analysis Tools || Invoiced Sales Order Report || Invoiced Sales Order Report setting valid dates and realize that your order does not appear

Having a look at the query is checking that "HAVING SUM(C_ORDERLINE.QTYDELIVERED) > 0" which make no sense as this report is INVOICED Sales Order Report (there is another called DELIVERED Sales Order Report)
Proposed Solutionchange clause
HAVING SUM(C_ORDERLINE.QTYDELIVERED) > 0
by
HAVING SUM(C_ORDERLINE.QTYINVOICED) > 0
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0032241)
hgbot (developer)
2010-10-27 06:55

Repository: erp/devel/pi
Changeset: 85e337e455943fe969521645fbaa6b41a3ddfa48
Author: Ratnakaram Suresh <ratnakaram.suresh <at> openbravo.com>
Date: Wed Oct 27 10:24:42 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/85e337e455943fe969521645fbaa6b41a3ddfa48 [^]

Fixes issue 0014852: Error in report Invoiced Sales Order Report

---
M src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderInvoiced_data.xsql
---
(0032242)
rsuresh (reporter)
2010-10-27 07:08

Steps to test:
* Create Sales Order with a BP and select any Product and set Invoice Terms=immediate
* Do NOT make Shipment (NOTE: if we do not do shipment then issue can be reproducable)
* Create associated Sales Invoice
* Click on Invoiced Sales Order Report with selecting valid dates, now the report shows the order, before this fix it was not showing


Root cause:

* It has condition in xsql as HAVING SUM(C_ORDERLINE.QTYDELIVERED) > 0, where it was supposed to be be HAVING SUM(C_ORDERLINE.QTYINVOICED) > 0

Impact:
* No Impact will be there, as this is related to this report only
(0032423)
hudsonbot (developer)
2010-11-05 12:44

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/85e337e45594 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f2cf138fa03c [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18797.obx [^]
(0032572)
sureshbabu (reporter)
2010-11-12 07:07

verified, now sales order details rightly displayed even when sales invoice is created without creating the Goods Shipment

- Issue History
Date Modified Username Field Change
2010-10-11 13:57 networkb New Issue
2010-10-11 13:57 networkb Assigned To => adrianromero
2010-10-26 10:36 rsuresh Assigned To adrianromero => rsuresh
2010-10-27 06:55 hgbot Checkin
2010-10-27 06:55 hgbot Note Added: 0032241
2010-10-27 06:55 hgbot Status new => resolved
2010-10-27 06:55 hgbot Resolution open => fixed
2010-10-27 06:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/85e337e455943fe969521645fbaa6b41a3ddfa48 [^]
2010-10-27 07:08 rsuresh Note Added: 0032242
2010-11-05 12:44 hudsonbot Checkin
2010-11-05 12:44 hudsonbot Note Added: 0032423
2010-11-12 07:07 sureshbabu Note Added: 0032572
2010-11-12 07:07 sureshbabu Status resolved => closed
2010-12-09 16:07 anonymous sf_bug_id 0 => 3133511


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker