Bug Tracker Incident #7962

 


Summary
Project
INCDT - xTuple ERP
Incident Category
Bugs
Incident Number
7962
Visibility
public


Product Version
None
Fixed In Version
3.2.0RC


Summary
Item UOM conversions use different validators on different forms.


Description

Different input validators are used on the _fromValue and _toValue widgets displayed in:

Products - Item - Conversions - UoM
[itemUOM - uses omfgThis->qtyVal()]
and
Products - Master Information - UoM - Conversions
[uomConv - uses omfgThis->ratioVal()]

The locale-specific decimal places for these validators may be configured independently in System - Master Information - Locales ...

This can lead to inconsistencies when configuring item UoMs using decimal fractions.


Details
Reporter
petebisson
CRM Account
xTincident Default Account
Status
Closed
Assigned
cryan


Priority
High
Severity
Patch
Updated
09-06-12 15:39
Resolution
Fixed



Comments

DateUsernameComment
03/04/11 08:25mfgadmin

Additional Info:

The definition of _ratioVal specifies it should use decimalPlaces("uomratio"), which seems the appropriate value for these Item UoM conversions.

The provided patch switches the two validators in itemUOM to use ratioVal() instead of qtyVal()

No impact analysis has been done regarding legacy data, as I don't have any ;-)

03/04/11 08:25mfgadmin

Different input validators are used on the _fromValue and _toValue widgets displayed in:

Products - Item - Conversions - UoM
[itemUOM - uses omfgThis->qtyVal()]
and
Products - Master Information - UoM - Conversions
[uomConv - uses omfgThis->ratioVal()]

The locale-specific decimal places for these validators may be configured independently in System - Master Information - Locales ...

This can lead to inconsistencies when configuring item UoMs using decimal fractions.

01/08/09 15:34reddog

Both ItemUOM and uomConv now use the ratioVal validator with the same decimal precision. Closed.

12/09/08 12:08svn

Revision: 4440
http://postbooks.svn.sourceforge.net/postbooks/?rev=4440&view=rev
Author: cryan
Date: 2008-12-09 17:08:17 +0000 (Tue, 09 Dec 2008)

Log Message:
-----------
Added patch submission to make UOM conversion validators more consistent. Issue #7962.

Modified Paths:
--------------
xtuple/trunk/guiclient/itemUOM.cpp

12/09/08 10:21jrogelstad

Thanks for the submission!



Characteristics

Operating System
 
Doc Flag
False
Copyright Assigned
Yes

Files

Filename
itemUOM.validators.patch


Related Documents

TypeNumberDescriptionRelationshipRemove
Incident3917Misc. Invoice not handling exclusive wellRelated tox
ProjectXTUPLEAPPSPorted From Mantisx


Subscribers

You do not have permission to view subscribers.


Incident History

DateUsernameFieldChange
12/16/10 09:13acdrupalNewIncident Added