My Oracle Support Banner

R12: AP: Retainage Invoice Cannot be Cancelled When Amount Applicable to Discount Equals Zero (Doc ID 2949657.1)

Last updated on JUNE 11, 2024

Applies to:

Oracle Payables - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

When trying to cancel a retainage invoice, receive error

 

APP-SQLAP-10000 ORA:01476: divisor is equal to zero occurred in ap_invoice_lines_pkg.discard_inv_line
ap_cancel_pkg.ap_cancel_single_invoice
before check for payment count-0 prepay flag

Steps to reproduce

1, Create a retaining invoice with the amount applicable to discount = 0

2. Try and cancel the invoice by click the actions button and selecting the cancel option

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!


In this Document
Symptoms
Cause
Solution
References


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