Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007703Openbravo ERP05. Production managementpublic2009-02-20 07:452009-04-22 00:00
arunkumar 
gmauleon 
lowminoralways
closedfixed 
30
2.50alpha-r11 
2.50 
Core
No
0007703: Data validation is required in "Lifespan" Text field in Production Management -> Toolset Type
Production Management -> Setup -> Toolset has a text field called "Lifespan". here we are able to enter negative values as well as 10 digits.
Go to production Management -> Setup -> Toolset.

In ToolSetType click new record.
Enter the name.
In Life span text field we are able to enter negative values as well as it is capable of storing 10 digit value.
As the Lifespan indicates the toolset no of years it is useful It should allow only positive values & also data validation should not be done for 10 digits.It must be capable of storing two or three digit values.
No tags attached.
related to defect 0007698 closed gmauleon We are able to enter negative value in "Safety Lead Time" & "Time Horizon" fields 
depends on backport 0007797 closed gmauleon Data validation is required in "Lifespan" Text field in Production Management -> Toolset Type 
jpg lifespan.JPG (161,874) 2009-02-20 07:45
https://issues.openbravo.com/file_download.php?file_id=882&type=bug
jpg
Issue History
2009-02-20 07:45arunkumarNew Issue
2009-02-20 07:45arunkumarAssigned To => rafaroda
2009-02-20 07:45arunkumarFile Added: lifespan.JPG
2009-02-20 07:45arunkumarRegression testing => No
2009-02-24 13:01rafarodaAssigned Torafaroda => gorkaion
2009-02-24 13:01rafarodaPrioritynormal => low
2009-02-24 13:01rafarodaRelationship addedrelated to 0007698
2009-02-24 13:01rafarodaStatusnew => scheduled
2009-02-24 13:01rafarodafix_in_branch => trunk
2009-02-24 17:39gorkaionNote Added: 0014034
2009-02-25 17:13rafarodaAssigned Togorkaion => gmauleon
2009-03-04 15:51hgbotCheckin
2009-03-04 15:51hgbotNote Added: 0014389
2009-03-04 15:51hgbotStatusscheduled => resolved
2009-03-04 15:51hgbotResolutionopen => fixed
2009-03-04 15:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fd08293d20987543e7a289ab22a4eedd6eaa8e19 [^]
2009-04-21 10:53psarobeStatusresolved => closed
2009-04-22 00:00anonymoussf_bug_id0 => 2777977

Notes
(0014034)
gorkaion   
2009-02-24 17:39   
The lifespan is not the number of years that it's useful.

It is the maximum number of times that it can be used with assured quality or that it starts to diminish.

So the 10 digit limit is correct. I'll change the description of the field.
(0014389)
hgbot   
2009-03-04 15:51   
Repository: erp/devel/pi
Changeset: fd08293d20987543e7a289ab22a4eedd6eaa8e19
Author: Gorka Mauleon <gorka.mauleon <at> openbravo.com>
Date: Wed Mar 04 15:51:16 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fd08293d20987543e7a289ab22a4eedd6eaa8e19 [^]

fixes 0007703: Data validation is required in Lifespan Text field in Production Management -> Toolset Type

---
M src-db/database/sourcedata/AD_COLUMN.xml
---