Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007441Openbravo ERP00. Application dictionarypublic2009-02-09 18:022009-05-22 19:26
Dowid 
iciordia 
normalminorhave not tried
acknowledgedopen 
10XP
pi 
pi 
Core
No
0007441: Validation of number field before saving
When a user enters an incorrect value (ex. "ABC") into a mandatory numeric field in any window, and clicks the save button, the system sends this incorrect data to the application server for processing.
Note that currently Openbravo checks for wether or not required fields are filled in at the client side. It would be better if numeric data is verified at the client side, and outputs an error for the user if this data is invalid.
Incorrect Behavior.
1. Navigate to for example to Sales Management || Transactions || Sales Invoice || Header >> Lines
2. Enter value ex. "ABC" to any mandatory numeric field.
3. Click "Save"
4. The system outputs "ERROR: null value in column "qtyinvoiced" violates not-null constraint".
Notice that this message is generated on the server side.



Add verification for numeric fields field at the client side, before the save process is ran (Similar to current behavior for mandatory empty fields now).

ReleaseCandidate, Usability
related to defect 0007216 closed Dowid If a wrong price is entered on an Invoice Line, message is not correct and line net amount is not updated 
Issue History
2009-02-09 18:02DowidNew Issue
2009-02-09 18:02DowidAssigned To => rafaroda
2009-02-09 18:02Dowidsf_bug_id0 => 2582113
2009-02-09 18:02DowidRegression testing => No
2009-02-09 18:04DowidRelationship addedrelated to 0007216
2009-02-09 18:07DowidProposed Solution updated
2009-02-11 11:50rafarodaAssigned Torafaroda => pjuvara
2009-02-11 14:45pjuvaraTag Attached: ReleaseCandidate
2009-02-11 14:45pjuvaraStatusnew => acknowledged
2009-02-11 14:45pjuvaraTag Attached: Usability
2009-02-11 14:46pjuvaraCategoryB. User interface => 00. Application dictionary
2009-02-12 10:12DowidNote Added: 0013391
2009-05-22 19:26pjuvaraAssigned Topjuvara => iciordia

Notes
(0013391)
Dowid   
2009-02-12 10:12   
Also, It would be better if numeric data is verified at the client side before the callout runs.