Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0008508 | Openbravo ERP | 09. Financial management | public | 2009-04-08 15:37 | 2009-05-14 16:46 | |||||||
| Reporter | networkb | |||||||||||
| Assigned To | sathiyan | |||||||||||
| Priority | immediate | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 30 | OS Version | |||||||||
| Product Version | 2.40MP3 | |||||||||||
| Target Version | Fixed in Version | 2.40MP4 | ||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| 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 | 0008508: The analyze link of the report trial balance does not work in postgres | |||||||||||
| Description | The analyze link of the report trial balance does not work in postgres. You get an error that says. ERROR: operator does not exist: character varying = numeric It happens because the query that is built when the ReportAccountingCountDimensionalAnalysesData is executed is incorrect to postgresql. It tries to compare a char with a number. | |||||||||||
| Steps To Reproduce | -Execute the trial balance report -Click on anal. link -You get the error | |||||||||||
| Proposed Solution | Modify the ReportAccountingCountDimensionalAnalyses_data.xsql file in the next way: All the conditions like following: WHERE A.ID = '1' should be WHERE A.ID = TO_CHAR('1') *There are many with differents chars ('1','8',...) Then modify the parameter <Parameter name="idtableDimension" type="replace" optional="true" after="WHERE A.ID = " text="'1'"/> with the following: <Parameter name="idtableDimension" type="replace" optional="true" after="WHERE A.ID = TO_CHAR(" text="'1'"/> | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=1191&type=bug https://issues.openbravo.com/file_download.php?file_id=1197&type=bug https://issues.openbravo.com/file_download.php?file_id=1198&type=bug | |||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2009-04-08 15:42 | rafaroda | Type | defect => backport | |||||||||
| 2009-04-08 15:42 | rafaroda | fix_in_branch | => 2.40 | |||||||||
| 2009-04-17 14:00 | sathiyan | File Added: error screenshots.odt | ||||||||||
| 2009-04-17 14:00 | sathiyan | Note Added: 0015406 | ||||||||||
| 2009-04-20 12:10 | sathiyan | File Added: issue-8508.png | ||||||||||
| 2009-04-20 15:53 | sathiyan | Note Added: 0015441 | ||||||||||
| 2009-04-20 15:54 | sathiyan | File Added: AnalyseLink.png | ||||||||||
| 2009-04-21 06:26 | hgbot | Checkin | ||||||||||
| 2009-04-21 06:26 | hgbot | Note Added: 0015461 | ||||||||||
| 2009-04-21 06:26 | hgbot | Status | scheduled => resolved | |||||||||
| 2009-04-21 06:26 | hgbot | Resolution | open => fixed | |||||||||
| 2009-04-21 06:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.40/rev/23a0fe1664c016f1c87de0fcabe5371d0f769cc8 [^] | |||||||||
| 2009-05-10 19:37 | psarobe | Fixed in Version | => 2.40MP4 | |||||||||
| 2009-05-14 16:46 | psarobe | Status | resolved => closed | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||