Openbravo Issue Tracking System - Modules
View Issue Details
0026711ModulesService Contract Managementpublic2014-05-28 07:112014-05-28 10:46
sjkumar 
vmromanos 
normalcriticalalways
closedinvalid 
5
 
 
0026711: obx version:1.2.55 :Computation not calculating correctly if overage is "Bill Overage at Contract Price"
1)In the subscribed services tab , For one of the ratecard line - ‘Oracle Cloud IaaS Storage Usage-GB PERMONTH ‘ has Overage Policy = Bill Overage at Contract Price and the tier price is defined as 0
2)The tier price list for that rate card line was updated to 0 in the Subscribed services tab
3) When Computation Usage was done , the overage line never got created as the net unit price shows as 0.

Shouldn't in this case the computation should have been done based on the product price list ?
1)In the subscribed services tab , For one of the ratecard line - ‘Oracle Cloud IaaS Storage Usage-GB PERMONTH ‘ has Overage Policy = Bill Overage at Contract Price and the tier price is defined as 0
2)The tier price list for that rate card line was updated to 0 in the Subscribed services tab
3) When Computation Usage was done , the overage line never got created as the net unit price shows as 0.

Shouldn't in this case the computation should have been done based on the product price list ?
No tags attached.
doc Below is the Subscribed Services.doc (181,760) 2014-05-28 07:11
https://issues.openbravo.com/file_download.php?file_id=6956&type=bug
Issue History
2014-05-28 07:11sjkumarNew Issue
2014-05-28 07:11sjkumarAssigned To => vmromanos
2014-05-28 07:11sjkumarFile Added: Below is the Subscribed Services.doc
2014-05-28 10:46naiaramartinezNote Added: 0067514
2014-05-28 10:46naiaramartinezStatusnew => closed
2014-05-28 10:46naiaramartinezResolutionopen => invalid

Notes
(0067514)
naiaramartinez   
2014-05-28 10:46   
The application is working as expected.

As Victor explained in the email he sent on May 23, there are different Overage Policy options:
"Available options for overage policy are:
    -Bill Overage at Price List. It means the overage will be invoiced at the current price in the pricelist
    -Bill Overage at Contract Price. It means the overage will be invoiced at the price defined into the Subscribed Services (or Product Tier for tiers). If no price is defined there (price is null), we take the price from the pricelist
    -Bill Overage at ZERO price. The overage will be invoiced with price equal to 0
    -Bill Overage at Specific Price. When this overage policy is selected, a new field at Subscribed Services level, called Overage Price, is shown. There you must specify the price used for overage. "

According to that explanation, if there is an overage and it is defined as 'Bill Overage at Contract Price', the price will be taken from the prices defined in the subscribe services (or Product Tier for tiers). So, it is working as expected.