My Oracle Support Banner

E1: 07: Using P07901 “Pre-Payroll DBA Calculation Control” Application With NER Function DBACalcTruncateDecimal, the value 0 (Zero) is truncated incorrectly to -1 (Doc ID 2407269.1)

Last updated on JUNE 04, 2018

Applies to:

JD Edwards EnterpriseOne US Payroll - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

On : 9.2 version, Payroll

ACTUAL BEHAVIOR
---------------
Work With Pre-Payroll DBA Calculation Control File (P07901)

When using the P07901 “Pre-Payroll DBA Calculation Control” application with NER Function DBACalcTruncateDecimal, the value 0 (Zero) is truncated incorrectly to -1.
While truncating hours to get a full hour number to calculate and there are “0” hours, the NER turns it into a “-0.5” value and then rounds to “-1”.

The NER is only looking to see whether or not the variable in question is less than 0 in order to determine if it should add or subtract 0.5 before rounding.

This adding or subtracting should not apply to 0 values as it turns a true 0 variable into a -1 incorrectly.


EXPECTED BEHAVIOR
-----------------------
This adding or subtracting by the NER should not apply to 0 values as it turns a true 0 variable into a -1 incorrectly.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.