View source | View content page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Show collection (0 pages)
Collections help

Search

Projects:Support different numeric formats/Functional Documentation

Contents

Overview

Currently Openbravo ERP doesn't support the comma (,) as decimal separator when entering data using the numeric keypad, although if you manually enter a number like 10,00 and save the record is stored correctly in the database. This capability -use the comma (,) as decimal separator and the dot (.) as group separator- is already configurable through some files.

Another capability not yet present is to see a number formatted after editing it -changing the focus to another field- e.g. If you enter a number like 1400,5 and save the record, it might change to 1.400,50 because is format that is defined for this field.

Purpose

The purpose of this project is to enhance the support of different number formats in Openbravo ERP by:

Scope

This project will support (focused in the Spanish locale):

References

Design Considerations

Assumptions

Dependencies

Constraints

Glossary

Functional Requirements

User roles & profiles

Business process definition

User stories

John configuring the Format.xml

 
<?xml version="1.0" encoding="UTF-8" ?>
 
<Formats>
   <Number name="euroInform"
       decimal="," grouping="." formatOutput="#,##0.00" formatInternal="#0.00" />
<!-- Other formats -->
</Formats>
Bulbgraph.png   formatOutput attribute must follow Java formatting patterns

Ana using the application

  1. Ana types in numeric field A value 1234,5 -> number displayed in A is 1234,5 -> moves focus to next field B -> number displayed in A is 1.234,50 -> moves focus back to A -> number displayed in A is 1234,5
  2. Ana types in numeric field A value 1.234,5 -> number displayed in A is 1.234,5 -> moves focus to next field B -> number displayed in A is 1.234,50 -> moves focus back to A -> number displayed in A is 1234,5
  3. Ana types in numeric field A value 1.23 -> number displayed in A is 1.23 -> moves focus to next field B -> message error (not a number) and focus back to A
  4. Ana types in numeric field A value 1,234,5 -> number displayed in A is 1,234,5 -> moves focus to next field B -> message error (not a number) and focus back to A

In summary:

Functional requirements based on business processes

User Interface Mockups

Technical Requirements

Non-Functional Requirements

Open Discussion Items

Closed Discussion Items

Retrieved from "http://wiki.openbravo.com/wiki/Projects:Support_different_numeric_formats/Functional_Documentation"

This page has been accessed 4,191 times. This page was last modified on 8 June 2012, at 05:31. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.