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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0004789
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2008-09-01 19:152008-09-04 16:18
ReporterjacoboGiraltView Statuspublic 
Assigned Tocromero 
PrioritynormalResolutionfixedFixed in Version2.40
StatusclosedFix in branchpiFixed in SCM revision6742
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0004789: Remittance Cancellation/Return doesn't work with PostgresSQL

DescriptionWhen you cancel a remittance in this window it fails with the following error:

function ad_get_doctype (character varying, character varying, "unknown") does not exist.
Steps To Reproduce1. Create a Remittance
2. Complete it
3. Go to Remittance Cancellation/Return window and select the generated payments
4. Fill the form and click return.
Proposed SolutionIt seems to be the typical issue with oracle/postgres differences. Some to_number() are needed. Not only in the calls to ad_get_doctype but also in the inserts for every numeric column.

The file that should be changed is: org/openbravo/erpCommon/ad_forms/RemittanceCancel_data.xsql
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0004792 closedcromero Remittance Cancellation/Return doesn't work with PostgresSQL 

-  Notes
(0008839)
cromero (reporter)
2008-09-02 08:33

Could you please specify your working environment?
(0008843)
jacoboGiralt (reporter)
2008-09-02 09:36

I tested it on

OpenbravoERP 2.35mp5
PostgreSQL 8.2
Java 1.5
ant 1.7.0
Linux
(0008851)
svnbot (reporter)
2008-09-02 17:01

Repository: openbravo
Revision: 6742
Author: cromeroherrero
Date: 2008-09-02 17:01:44 +0200 (Tue, 02 Sep 2008)

Fixed bug 4789: Remittance Cancellation/Return doesn't work with PostgresSQL

---
U trunk/src/org/openbravo/erpCommon/ad_forms/RemittanceCancel.java
U trunk/src/org/openbravo/erpCommon/ad_forms/RemittanceCancel_data.xsql
U trunk/src/org/openbravo/erpCommon/utility/DocumentNo_data.xsql
U trunk/src/org/openbravo/erpCommon/utility/SequenceIdData.java
U trunk/src/org/openbravo/erpCommon/utility/Sequence_data.xsql
U trunk/src/org/openbravo/erpCommon/utility/Utility.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=6742&sc=1 [^]

- Issue History
Date Modified Username Field Change
2008-09-01 19:15 jacoboGiralt New Issue
2008-09-01 19:15 jacoboGiralt Assigned To => cromero
2008-09-01 19:15 jacoboGiralt sf_bug_id 0 => 2087206
2008-09-02 08:33 cromero Note Added: 0008839
2008-09-02 08:33 cromero Status new => feedback
2008-09-02 09:36 jacoboGiralt Note Added: 0008843
2008-09-02 10:28 cromero Status feedback => scheduled
2008-09-02 10:28 cromero fix_in_branch => trunk
2008-09-02 10:56 jacoboGiralt Issue Monitored: jacoboGiralt
2008-09-02 17:01 svnbot Checkin
2008-09-02 17:01 svnbot Note Added: 0008851
2008-09-02 17:01 svnbot Status scheduled => resolved
2008-09-02 17:01 svnbot Resolution open => fixed
2008-09-02 17:01 svnbot svn_revision => 6742
2008-09-04 16:18 psarobe Regression testing => No
2008-09-04 16:18 psarobe Status resolved => closed
2008-09-04 16:18 psarobe Fixed in Version => 2.40


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker