Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007794Openbravo ERP06. Material requirement planning (MRP)public2009-02-20 07:072009-03-25 17:48
arunkumar 
gmauleon 
lowminoralways
closedfixed 
30
2.50alpha-r11 
2.40MP4 
Core
No
0007794: We are able to enter negative value in "Safety Lead Time" & "Time Horizon" fields
In manufacturing plan -> header while creating a new manufacturing plan we are able to enter a negative value for the fields "Safety Lead Time" and "Time Horizon".
Go to Material Requirement -> Transactions -> Manufacturing Plan.
Create a new manufacturing plan.
Enter negative values for Time Horizon & Safety Lead Time.
click Save button.

We are able to enter negative values for both Time Horizon & Safety Lead Time.
As per the definition of these I hope this should not happen.





Time Horizon & Safety lead Time should accept only positive values.
No tags attached.
related to backport 0006988 closed gorkaion Requisition: can enter negative quantities 
related to backport 0007797 closed gmauleon Data validation is required in "Lifespan" Text field in Production Management -> Toolset Type 
blocks defect 0007698 closed gmauleon We are able to enter negative value in "Safety Lead Time" & "Time Horizon" fields 
png issue-7794-both-negatives.png (158,708) 2009-03-25 15:19
https://issues.openbravo.com/file_download.php?file_id=1073&type=bug
png

png issue-7794-horizon-negative.png (158,636) 2009-03-25 15:19
https://issues.openbravo.com/file_download.php?file_id=1074&type=bug
png

png issue-7794-safety-negative.png (158,661) 2009-03-25 15:19
https://issues.openbravo.com/file_download.php?file_id=1075&type=bug
png
Issue History
2009-02-24 12:17rafarodaTypedefect => backport
2009-02-24 12:17rafarodafix_in_branch => 2.40
2009-02-24 12:17rafarodaRelationship addedrelated to 0006988
2009-02-24 13:02rafarodaRelationship addedrelated to 0007797
2009-02-25 17:13rafarodaAssigned Togorkaion => gmauleon
2009-03-16 08:33hgbotCheckin
2009-03-16 08:33hgbotNote Added: 0014647
2009-03-16 08:33hgbotStatusscheduled => resolved
2009-03-16 08:33hgbotResolutionopen => fixed
2009-03-16 08:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/7a12914723f17f29fe8fc7efec19a183823f1f67 [^]
2009-03-24 11:01psarobeFixed in Version => 2.40MP4
2009-03-25 12:35sureshbabuStatusresolved => new
2009-03-25 12:35sureshbabuResolutionfixed => open
2009-03-25 12:35sureshbabuNote Added: 0014940
2009-03-25 12:35sureshbabuFixed in Version2.40MP4 =>
2009-03-25 15:18gmauleonNote Added: 0014956
2009-03-25 15:19gmauleonFile Added: issue-7794-both-negatives.png
2009-03-25 15:19gmauleonFile Added: issue-7794-horizon-negative.png
2009-03-25 15:19gmauleonFile Added: issue-7794-safety-negative.png
2009-03-25 15:21gmauleonStatusnew => closed
2009-03-25 15:21gmauleonResolutionopen => no change required
2009-03-25 17:21gmauleonStatusclosed => new
2009-03-25 17:21gmauleonResolutionno change required => open
2009-03-25 17:22gmauleonStatusnew => scheduled
2009-03-25 17:22gmauleonStatusscheduled => resolved
2009-03-25 17:22gmauleonResolutionopen => fixed
2009-03-25 17:48psarobeStatusresolved => closed

Notes
(0014647)
hgbot   
2009-03-16 08:33   
Repository: erp/stable/2.40
Changeset: 7a12914723f17f29fe8fc7efec19a183823f1f67
Author: Gorka Mauleon <gorka.mauleon <at> openbravo.com>
Date: Tue Mar 03 11:15:34 2009 +0100
URL: http://code.openbravo.com/erp/stable/2.40/rev/7a12914723f17f29fe8fc7efec19a183823f1f67 [^]

Fixes 0007794: We are able to enter negative value in Safety Lead Time & Time Horizon fields

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0014940)
sureshbabu   
2009-03-25 12:35   
Not fixed in version 2.40MP4
(0014956)
gmauleon   
2009-03-25 15:18   
The Issue is fixes in https://code.openbravo.com/erp/stable/2.40/ [^]

Please find attached the screenshoot of the error that the system shows if a negative value is set