Openbravo Issue Tracking System - Modules
View Issue Details
0026728ModulesService Contract Managementpublic2014-05-29 00:372014-05-30 12:18
sjkumar 
naiaramartinez 
normalcriticalhave not tried
closedfixed 
5
 
 
vmromanos
0026728: obx 56 - Overage computation resets the counter and starts from the beginning
1)Create a subscription :10000034
2)The overage policy :Bill Overage at Price List
3)The product : Oracle Cloud IaaS Storage Usage - GB PER MONTH is tiered
4)Create Usage for : Oracle Cloud IaaS Storage Usage - GB PER MONTH
5)Compute Usage has calculated the non overage lines and dand during that time it was at the last line tier . Now while calculating the overage and it went back to pricelist But during the price claculation it reset it to take the price from the lowest tier instead of the highest.
Attached is the scren shot.
No tags attached.
doc 10000034_overage_issue.doc (332,288) 2014-05-29 00:37
https://issues.openbravo.com/file_download.php?file_id=6966&type=bug
Issue History
2014-05-29 00:37sjkumarNew Issue
2014-05-29 00:37sjkumarAssigned To => vmromanos
2014-05-29 00:37sjkumarFile Added: 10000034_overage_issue.doc
2014-05-29 11:02naiaramartinezAssigned Tovmromanos => naiaramartinez
2014-05-29 11:02naiaramartinezStatusnew => scheduled
2014-05-29 11:02naiaramartinezfix_in_branch => pi
2014-05-30 11:41hgbotCheckin
2014-05-30 11:41hgbotNote Added: 0067613
2014-05-30 11:41hgbotStatusscheduled => resolved
2014-05-30 11:41hgbotResolutionopen => fixed
2014-05-30 11:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/4ced01499ee07d65dc99b7a6018d8fa336e3b56d [^]
2014-05-30 12:17vmromanosReview Assigned To => vmromanos
2014-05-30 12:17vmromanosStatusresolved => closed

Notes
(0067613)
hgbot   
2014-05-30 11:41   
Repository: erp/pmods/org.openbravo.contract.services
Changeset: 4ced01499ee07d65dc99b7a6018d8fa336e3b56d
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Thu May 29 13:52:02 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/4ced01499ee07d65dc99b7a6018d8fa336e3b56d [^]

Fixed issue 26728: Ability not to reset the counter when changes to TierPriceList

---
M src-db/database/sourcedata/AD_PREFERENCE.xml
M src/org/openbravo/contract/services/process/computation/Computation.java
---