Autoinvoice Errors Out when Generating CM for a Lease Invoice already Paid

(Doc ID 2336391.1)

Last updated on JANUARY 23, 2018

Applies to:

Oracle Lease and Finance Management - Version 12.2.5 and later
Information in this document applies to any platform.


On : 12.2.5 version, Billing Modules

When attempting to run autoinvoice to generate a credit memo for a lease contract invoice that was already paid,
the following error occurs.

1) The total amount of your credit memo cannot exceed the balance of the debit item it is crediting
2) You can not apply more than the original line amount
3) You cannot apply a transaction with a negative amount to another transaction with a negative balance and vice versa

The issue can be reproduced at will with the following steps:
1. Setup >> system option >> operational options:
Termination Billing Adjustments >> Custom
Uncomment the sample code for testing oft OKL-operation-option (termination billing adjustments - custom)
2. Author a lease contract
3. Book the contract
4. Bill the contract up to 01-Jan-2017
5. Apply receipts to pay all invoices generated
6. Create a termination quote, quote to stay in drafted status
7. Run billing up to 01-Feb-2017
8. Apply receipt to the invoice
9. Continue with the termination quote, submit it for approval
10. Accept the quote
11. Return the asset
12. Terminate the contract and asset by running the terminate expired contract
13. Run billing as of today and autoinvoice errors out with the above error.


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