Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024032Openbravo ERP03. Procurement managementpublic2013-06-07 14:392013-06-24 12:02
jonalegriaesarte 
jonalegriaesarte 
highmajorhave not tried
closedfixed 
5
pi 
3.0MP253.0MP25 
jonalegriaesarte
Core
No
0024032: Save description in purchase invoice is failing when the invoice is booked
Save description in purchase invoice is failing when the invoice is booked. The issue is in C_INVLINE_CHK_RESTRICTIONS_TRG, in line:
OR(COALESCE(:OLD.TAXAMT, 0) <> COALESCE(:NEW.TAXAMT, 0))

because of rounding issues, it is not comparing correctly the values
- Create a purchase invoice with one line.
- Quantity in line: 1.25
- Book it
- Change the description in line, save it
No tags attached.
related to defect 0031627 closed inigosanchez Fields with display logic equals to false cause js check error in log 
Issue History
2013-06-07 14:39jonalegriaesarteNew Issue
2013-06-07 14:39jonalegriaesarteAssigned To => jonalegriaesarte
2013-06-07 14:39jonalegriaesarteModules => Core
2013-06-07 14:39jonalegriaesarteTriggers an Emergency Pack => No
2013-06-17 17:28caristuNote Added: 0059466
2013-06-18 17:13hgbotCheckin
2013-06-18 17:13hgbotNote Added: 0059496
2013-06-18 17:13hgbotStatusnew => resolved
2013-06-18 17:13hgbotResolutionopen => fixed
2013-06-18 17:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/856973735a23e5f72eace8b1b39341ef3f2c17ce [^]
2013-06-20 02:08hudsonbotCheckin
2013-06-20 02:08hudsonbotNote Added: 0059584
2013-06-24 12:02jonalegriaesarteReview Assigned To => jonalegriaesarte
2013-06-24 12:02jonalegriaesarteNote Added: 0059637
2013-06-24 12:02jonalegriaesarteStatusresolved => closed
2013-06-24 12:02jonalegriaesarteFixed in Version => 3.0MP25
2015-12-01 13:13caristuRelationship addedrelated to 0031627

Notes
(0059466)
caristu   
2013-06-17 17:28   
This behavior is happening also in Sales Invoice window. The problem is caused because setTextualValue() is not executed for the Tax Amount field, because the displayed checkbox is not marked.
(0059496)
hgbot   
2013-06-18 17:13   
Repository: erp/devel/pi
Changeset: 856973735a23e5f72eace8b1b39341ef3f2c17ce
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jun 17 18:46:00 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/856973735a23e5f72eace8b1b39341ef3f2c17ce [^]

fixes issue 24032: Save description in purchase invoice
 is failing when the invoice is booked

---
M modules/org.openbravo.v3/src-db/database/configScript.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0059584)
hudsonbot   
2013-06-20 02:08   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5caf871044ad [^]

Maturity status: Test
(0059637)
jonalegriaesarte   
2013-06-24 12:02   
Tested and working fine. Now, the error when changing the description does not appear