Problem Note 43627: Allocation percentage totals are not correct when allocating by amount
In SAS® Enterprise GRC, when allocating by amount for an incident, the display that shows percentage Total Allocated and Total Unallocated might not be accurate due to rounding.
To resolve this problem, edit the jsp incidentAllocations.jsp file that is located in the "tiles\incidents" directory of the SAS Enterprise GRC war file. Remove the parameter maxFractionDigits= from two lines.
Line 331 before removing maxFractionDigits=
<fmt:formatNumber type='PERCENT' value='${breakdown.totalPercentAllocated}'
maxFractionDigits="2"/>
Line 331 after removing maxFractionDigits=
<fmt:formatNumber type='PERCENT' value='${breakdown.totalPercentAllocated}'/>
Line 377 before removing maxFractionDigits=
<fmt:formatNumber type='PERCENT'
value='${breakdown.totalPercentUnallocated}' maxFractionDigits="2"/>
Line 377 after removing maxFractionDigits=
<fmt:formatNumber type='PERCENT'
value='${breakdown.totalPercentUnallocated}'/>
In the following example, you have a total of $25 to allocate, and you are allocating by dollar amount. You have 3 allocations totaling $25. One is for $9, another is for $7, and the last one is for $9. The inaccurate percentage totals show as follows:
Total Allocated: 99.98% (USD 25.00)
Total Unallocated: 0.02% (USD 0.00)
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Enterprise GRC | Microsoft® Windows® for x64 | 4.3 | | 9.2 TS2M2 | |
Microsoft Windows Server 2003 Datacenter Edition | 4.3 | | 9.2 TS2M2 | |
Microsoft Windows Server 2003 Enterprise Edition | 4.3 | | 9.2 TS2M2 | |
Microsoft Windows Server 2003 Standard Edition | 4.3 | | 9.2 TS2M2 | |
Microsoft Windows Server 2003 for x64 | 4.3 | | 9.2 TS2M2 | |
Microsoft Windows Server 2008 | 4.3 | | 9.2 TS2M2 | |
Microsoft Windows Server 2008 for x64 | 4.3 | | 9.2 TS2M2 | |
Microsoft Windows XP Professional | 4.3 | | 9.2 TS2M2 | |
Windows 7 Enterprise 32 bit | 4.3 | | 9.2 TS2M2 | |
Windows 7 Enterprise x64 | 4.3 | | 9.2 TS2M2 | |
Windows 7 Home Premium 32 bit | 4.3 | | 9.2 TS2M2 | |
Windows 7 Home Premium x64 | 4.3 | | 9.2 TS2M2 | |
Windows 7 Professional 32 bit | 4.3 | | 9.2 TS2M2 | |
Windows 7 Professional x64 | 4.3 | | 9.2 TS2M2 | |
Windows 7 Ultimate 32 bit | 4.3 | | 9.2 TS2M2 | |
Windows 7 Ultimate x64 | 4.3 | | 9.2 TS2M2 | |
Windows Vista | 4.3 | | 9.2 TS2M2 | |
Windows Vista for x64 | 4.3 | | 9.2 TS2M2 | |
64-bit Enabled AIX | 4.3 | | 9.2 TS2M2 | |
64-bit Enabled Solaris | 4.3 | | 9.2 TS2M2 | |
HP-UX IPF | 4.3 | | 9.2 TS2M2 | |
Linux for x64 | 4.3 | | 9.2 TS2M2 | |
Solaris for x64 | 4.3 | | 9.2 TS2M2 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2012-01-10 10:57:01 |
Date Created: | 2011-06-29 16:18:11 |