Receipt API Issue: AR_RECEIPT_API_PUB.Create_misc Errored Out With Negative Tax Amount ORA-20001 (Doc ID 1517194.1)

Last updated on AUGUST 03, 2017

Applies to:

Oracle Receivables - Version 12.1.3 and later
Information in this document applies to any platform.
ARRECACB.pls

Symptoms

On : 12.1.3 version, Receipts Related

Attempting to create negative tax numbers using API AR_RECEIPT_API_PUB.Create_misc and receive the following error:

ERROR
-----------------------
This action has been blocked to avoid inaccurate accounting entries. Please contact Oracle Support Services
ARP_PROCESS_MISC_RECEIPTS.INSERT_MISC_RECEIPT : ORA-20001: This action has been blocked to avoid inaccurate accounting entries. Please contact Oracle Support Services

No error occurs when using API AR_RECEIPT_API_PUB.Create_misc to create positive tax amounts.

ADDITIONAL INFO
--------------------
If the profile option AR: Enable Journal Balance Check = No at the site level, the negative tax amount receipt is created, but with incorrect details (The tax amount should be negative but the system is showing as positive.)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create Misc Receipt with -ve Tax using using API AR_RECEIPT_API_PUB.Create_misc

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