Refactor: replace text fields with numeric fields where applicable

Description

Text fields are used in places where big decimal fields would make more sense. We are currently parsing out unwanted characters (INV-260) when the user saves.

Refactor using fields designed to only take numbers (and decimals and negative signs).

To do: Identify all the text fields using the currency converter to strip out unwanted characters to be Big Decimal fields instead.

 

(We may also want to review all fields to make sure there are no other fields that should be included in refactor)

Activity

Show:

Haley Miller October 17, 2024 at 2:42 PM

To reproduce: Enter any character other than those accepted by big decimal fields into any field for numeric values. In current code, any characters will be accepted but non-numeric characters are striped out when the user saves.

Expected new behavior: replacing text fields with big decimal fields will eliminate the need for post-save parsing because those fields will only accept numeric characters.

Details

Assignee

Reporter

Priority

Better PDF Exporter

Created October 17, 2024 at 2:33 PM
Updated October 17, 2024 at 2:42 PM