Control decimal display for quantity fields

Issue No: IC-3293
Created 2/1/2017 4:44:45 PM
Type Feature
Priority Minor
Status Closed
Resolution Fixed
Fixed Version 17.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [ - Control decimal display for quantity fields |http://helpdesk.irely.com/iRelyi21live/i21/#/HD/Ticket/?ticket=] Inventory - UOM screen , allow user to configure how many decimals he wants to see for each unit type in various entry screens where quantity can be entered.   This will not be a display property only but will also limit the entry to equivalent decimals.   !pastedImage_d69671_0.png!   There are two custom compound controls that will be used for UOM Quantity fields: (Inventory Receipt, Commodity)   *1. Form Control* - This will be used as form input field that is bound to Quantity with UOM.   !pastedImage_d69671_1.png!   The form control contains to child controls:   - Quantity field   - UOM field   The number of decimal places will change depending on the selected UOM and trailing zeroes in the decimal part will be trimmed. (e.g. KG has 6 decimal places but 1.25 KG is displayed instead of 1.250000 KG)   *2. Grid Editor Control* - This uses the form control and inherits all its features/behavior. This will be used as an inline editor for the cell in a grid that is bound to Quantity and UOM fields. The value of Quantity and UOM fields are combined into a single concatenated string that the grid uses to render the value to the cell.   For example, in the Purchase Order screen, instead of displaying two separate columns for *UOM* and *Ordered* , only one column will be used to display both Quantity and UOM.   !pastedImage_d69671_2.png!