Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004792Openbravo ERP09. Financial managementpublic2008-09-02 10:282008-09-04 16:18
jacoboGiralt 
cromero 
normalmajoralways
closedfixed 
5
 
2.40 
Core
No
0004792: Remittance Cancellation/Return doesn't work with PostgresSQL
When 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.
1. 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.
It 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
No tags attached.
blocks defect 0004789 closed cromero Remittance Cancellation/Return doesn't work with PostgresSQL 
Issue History
2008-09-02 10:28cromeroNew Issue
2008-09-02 10:28cromeroAssigned To => cromero
2008-09-02 10:28cromeroStatusnew => scheduled
2008-09-02 17:03svnbotCheckin
2008-09-02 17:03svnbotNote Added: 0008852
2008-09-02 17:03svnbotStatusscheduled => resolved
2008-09-02 17:03svnbotResolutionopen => fixed
2008-09-02 17:03svnbotsvn_revision => 6743
2008-09-04 16:18psarobeRegression testing => No
2008-09-04 16:18psarobeStatusresolved => closed
2008-09-04 16:18psarobeFixed in Version => 2.40

Notes
(0008852)
svnbot   
2008-09-02 17:03   
Repository: openbravo
Revision: 6743
Author: cromeroherrero
Date: 2008-09-02 17:03:42 +0200 (Tue, 02 Sep 2008)

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

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

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