[OpenVPMS Developers] [JIRA] Created: (OVPMS-1028) Customer Account Type Account Fee amount rounding issue
Customer Account Type Account Fee amount rounding issue -------------------------------------------------------
Key: OVPMS-1028 URL: https://openvpms.atlassian.net/browse/OVPMS-1028 Project: VPMS Web Application Issue Type: Bug Components: Customer Affects Versions: 1.5-beta-1 Reporter: Tony De Keizer Assignee: Tim Anderson
In the lookup .customerAccountType archetype the accountFeeAmount for an accountFee of PERCENTAGE is calculated using the absolute number rather than the number as a percentage. So in order to enter say 1.5% you need to enter a value of 0.015. Unfortunately this field is rounded to 2 decimal places and this is stored as 0.01 and subsequently account fees are calculated at 1% rather than 1.5%
I suggest that when the accountFee node is set to PERCENTAGE the accountFeeAmount node is interpreted as a percentage.
This will also require some data migration.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://openvpms.atlassian.net/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf