Bug 1401975

Summary: [RFE] Chargeback should allow users to specify "subscription" prices.
Product: Red Hat CloudForms Management Engine Reporter: Raul Mahiques <rmahique>
Component: ReportingAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED WONTFIX QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: jhardy, jocarter, obarenbo, yrudman
Target Milestone: GAKeywords: FutureFeature
Target Release: cfme-future   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-08 12:08:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Feature
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raul Mahiques 2016-12-06 13:44:56 UTC
Description of problem:
When i create a chargeback report on Rates i cannot set a fixed amount for a period of time:

Customer wants to charge 100 per CPU per year, it doesn't matter if the server runs for 24h or for 1 year, during that period it will be charged 100, if the server still alive the year after, then it will be charged another 100.

So a the end of the period they have chosen if the server was created since the last report and didn't change then it will be charge, if the server was charged for already in the previous report then it won't be charged double.


ie.
Costs: 1 CPU allocation costs 100 per year.
serverX created -- After one hour decommissioned ---> cost 100 (1 cpu at 100)
serverY created -- After 34 days decommissioned ---> cost 100 (1 cpu at 100), report runs every month, server will only appear in the first report, not the second because it's already paid.

Version-Release number of selected component (if applicable):
5.6.1.2 and earlier

How reproducible:
Just try to create a report.

Steps to Reproduce:
1.Not relevant

Actual results:
Not possible to specify this type of charge.

Expected results:
as per the description.

Additional info: