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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0003754
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 02. Master data managementminoralways2008-06-12 03:532008-12-12 17:49
ReportercromeroView Statuspublic 
Assigned Tocromero 
PrioritynormalResolutionfixedFixed in Version2.35MP10
StatusclosedFix in branch2.3xFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava 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

0003754: Error creating invoice for volume discount

DescriptionRelated to bug:
0002977

Openbravo 2.35 MP1
Ubuntu 7.10
PostgreSQL 8.26


Create the simplest possible volume discount:

* Scaled is not checked.
* No product categories included and "Not selected" in the Included Product
Categories combo.
* No product included and "Not selected" in the Included Product combo.
* Define a 10% discount for a minimum amount of €1 and a maximum amount
of €1000000
* Assign the volume discount to a business partner to whom some sales
invoices had been issued during 2008.

In the tab "Volume Discount" for the business partner:

* Double-check that the discount is assigned to the bp.
* Enter a validity date range corresponding to the whole year 2008.
* Execute the process "Create invoice".

Outcome = Error: failed to find conversion function from "unknown" to
integer

Log4j =
ERROR org.openbravo.erpWindows.VolumeDiscount.VolumeDiscountParametersData
- SQL error in query: UPDATE M_Rappel_Scale SET AD_Client_ID = TO_NUMBER(?)
, AD_Org_ID = TO_NUMBER(?) , IsActive = (?) , M_Rappel_ID = TO_NUMBER(?) ,
Discount = TO_NUMBER(?) , Amnt_From = TO_NUMBER(?) , Amnt_To = TO_NUMBER(?)
, M_Rappel_Scale_ID = TO_NUMBER(?) , updated = now(), updatedby =
to_number(?) WHERE M_Rappel_Scale.M_Rappel_Scale_ID = ? AND
M_Rappel_Scale.M_Rappel_ID = ? Exception:org.postgresql.util.PSQLException:
ERROR: new row for relation "m_rappel_scale" violates check constraint
"disc"
TagsPostgreSQL
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0002977 closedcromero Error creating invoice for volume discount 

-  Notes
(0004190)
cromero (reporter)
2008-06-12 04:03
edited on: 2008-06-12 09:27

Logged In: YES
user_id=1500614
Originator: YES

Fixed in the 2.3x branch in revision 4996
(0007343)
user71
2005-06-01 00:00
edited on: 2008-06-12 09:44

This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1991475 [^]

- Issue History
Date Modified Username Field Change
2008-06-24 13:49 cromero Target Version => 2.35
2008-06-24 13:50 cromero Fixed in Version 2.35 => 2.35MP6
2008-06-25 19:16 plujan Tag Attached: PostgreSQL
2008-12-12 17:49 psarobe Regression testing => No
2008-12-12 17:49 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker