Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011243Openbravo ERP03. Procurement managementpublic2009-11-02 13:072009-11-05 06:53
networkb 
harikrishnan 
urgentmajoralways
closedfixed 
5
2.40MP4 
2.40MP112.40MP11 
OBPS
Core
No
0011243: Purchase Invoice Dimensional Report shows diferent results in PDF and HTML
In Purchase Invoice Dimensional Report, if a currency with no conversion rate is select, the application shows diferent results if PDF is pressed or HTML.

When PDF is pressed, this message is shown:

No conversion rate defined
ERROR: error de sintaxis en o cerca de «)»

Message title is correct. However its message is not correct (error de sintaxis...). As an example, see Purchase Dimensional report.

When HTML is pressed, no message is shown and a report with "NULL" value is shown.

Go to Procurement Management || Analysis Tools || Purchase Invoice Dimensional Report || Purchase Invoice Dimensional Report.
Fill start date and end date.
Select a currency without conversion rate.
Press PDF button.
Then, press HTML button.
Both buttons should have the same behaviour and a correct message.

As an example, see Purchase Dimensional Report.
No tags attached.
blocks defect 00112092.40MP11 closed harikrishnan Purchase Invoice Dimensional Report shows diferent results in PDF and HTML 
Issue History
2009-11-04 13:20rafarodaTypedefect => backport
2009-11-04 13:20rafarodafix_in_branch => 2.40
2009-11-04 14:02harikrishnanNote Added: 0021557
2009-11-04 14:06hgbotCheckin
2009-11-04 14:06hgbotNote Added: 0021559
2009-11-04 14:06hgbotStatusscheduled => resolved
2009-11-04 14:06hgbotResolutionopen => fixed
2009-11-04 14:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/e4fb10138be5a6ee0ae4a7dc1115bc0284399d6a [^]
2009-11-05 06:53arunkumarStatusresolved => closed
2009-11-05 06:53arunkumarNote Added: 0021571
2009-11-05 06:53arunkumarFixed in Version => 2.40MP11

Notes
(0021557)
harikrishnan   
2009-11-04 14:02   
Steps to Test:

1)Go to Purchase Invoice Dimensional Report
( Procurement Management || Analysis Tools || Purchase Invoice Dimensional Report || Purchase Invoice Dimensional Report)
2)Enter the following details in filter window

          From Date=01/01/2000
          To Date =01/01/2010
          Currency = EUR

Click on PDF button it works fine like it behave in HTML button click.
(0021559)
hgbot   
2009-11-04 14:06   
Repository: erp/stable/2.40
Changeset: e4fb10138be5a6ee0ae4a7dc1115bc0284399d6a
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Wed Nov 04 18:35:40 2009 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/e4fb10138be5a6ee0ae4a7dc1115bc0284399d6a [^]

Fixes Issue 11243: Purchase Invoice Dimensional Report shows different results in PDF and HTML.

---
M src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesJR.java
---
(0021571)
arunkumar   
2009-11-05 06:53   
Tested & Working fine.