EAR8.9+: Division by Zero Error When Saving Maintenance Worksheet (Doc ID 662871.1)

Last updated on JULY 12, 2017

Applies to:

PeopleSoft Enterprise FIN Receivables - Version: 8.9 and later   [Release: 8.9 and later ]
PeopleSoft Enterprise FIN Receivables - Version: 8.9 and later    [Release: 8.9 and later]
PeopleSoft Enterprise FIN Receivables - Version: 8.4 SP1 to 9   [Release: 8.4 to 9]
Information in this document applies to any platform.

This document was previously published as Customer Connection Solution 201071573


***Checked for Relevance 27-MAR-2012***

Symptoms

<>: EAR8.9+: Division by zero error when applying credit in Maintenance Worksheet

SPECIFIC TO Enterprise, Financials Accounts Receivable 8.4,8.8SP1,8.9, 9.

ISSUE
Maintenance Worksheet errors during Save, when credits are applied to debit items of the same transaction currency, and no exchange rate is defined or active for the transaction date.

ERROR MESSAGES
Decimal division by zero occurred. (180,109) WS_WRK.FUNCLIB.FieldChange Name:Convert_amt

ISSUE VERIFICATION
Run the following SQL query:
Select rate_mult, rate_div from ps_rt_dflt_vw where from_cur = '&CURRENCY' and to_cur = '&CURRENCY' and rt_type = 'CRRNT' and effdt = (select max(effdt) from ps_rt_dflt_vw where from_cur = '&CURRENCY' and to_cur = '&CURRENCY' and rt_type = 'CRRNT' and effdt <= '&CURRENT_DATE')

If no rows returned, the market rate is missing.

Cause

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 hundreds of Community platforms