Zero Amount Invoiced (Not Prorated) When Terminating Negotiated Line With Negative Amount (Doc ID 1358937.1)

Last updated on OCTOBER 25, 2016

Applies to:

Oracle Service Contracts - Version: 12.1.3 to 12.1.3 - Release: 12.1 to 12.1
Information in this document applies to any platform.

Symptoms


On: 12.1.3 version, Terminate Contract Line


ACTUAL BEHAVIOR
---------------
Usage lines with usage type 'Negotiated Price' with only 'negative' amounts in billing schedule are used to 'credit' amounts to customers. Invoices with 'negative' amounts are generated successfully for this.
When usage lines with usage type 'Negotiated Price' with only 'negative' amounts in billing schedule are terminated during a period that is not billed yet, an invoice with amount of 0 is generated in stead of the expected 'negative' amount that should be billed until the termination date.

EXPECTED BEHAVIOR
-----------------------
It is expected that the amount is calculated based on the termination-date entered also for usage lines with type 'Negotiated Price' and 'negative' amounts. It is expected it works the same as it does when the amounts would be positive, because then the calculation is correct, then an invoice is generated for the part of the period that was not billed yet until termination date. It should work the same for 'negative' amounts. The amount should be prorated, and not be reduced to zero automatically in the Billing Schedule.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1.
Service Contracts resp.
Create new service agreement (from 01.01.2011 to 31.12.2012 (2 Year)).
2.
Enter a service line with at subline a product (dates are from 01.01.2011 to 31.12.2012).
3.
Now create the negotiated-line:
- Enter Usage line, first select a usage-item
- Then tick the Usage-type Negotiated Price
- Then select the machine/counter at subline level. Amount -480.
- Set up billing-schedule (Invoicing Rule: In Arrears):
First stream 1 period from 01.01.2011 to 31.07.2011, 7 month total amount -140
Second stream 1 period from 01.08.2011 to 31.12.2012 17 month total amount -340
4.
Activate contract and run billing (for instance use default date 08.09.2011).
Result is that invoice is generated for the amount of -140.
5.
Now terminate the line 5th of September 2011.
The amount field has value 0 in window Terminate Contract Lines.
Clicking the review button does not bring up an amount even though terminating into a period where there is an amount to be credited (prorated and partially).
6.
Click terminate.
Message shows:
Selected contract/lines successfully terminated. Save the changes?
7.
Check the billing-schedule.
In the second stream the amount is changed from 340 to zero. This is not what was expected.
8.
Running billing now with today's date again it will produce a zero transaction. Expecting it would create a partial credit between 01.08.2011 and 05.09.2011.


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