Openbravo Issue Tracking System - Modules
View Issue Details
0026725ModulesService Contract Managementpublic2014-05-28 22:312014-05-30 12:19
sjkumar 
naiaramartinez 
normalmajoralways
closedfixed 
5
 
 
vmromanos
0026725: Issue in computation for Tiered Product(Counter is not resetting monthly)
Created a Subscription successfully for a tiered product. Then created the usage for the first month and calculated the computation successfully. It was according to tiered pricing. But when created second usage line for 2nd month, the Counter Should reset to zero and computation should happen by splitting consumed Quantity into respective pricing bands.
1. Create a Subscription for tiered product.
2. Create Usage for 1st month and calculated the computation, Its according to
tiered pricing.
3. For 2nd month Usage the Counter should reset to zero and computation should happen by splitting consumed Quantity into respective pricing bands.
No tags attached.
doc TC-5412_Retest (1).doc (403,456) 2014-05-28 22:31
https://issues.openbravo.com/file_download.php?file_id=6963&type=bug
Issue History
2014-05-28 22:31sjkumarNew Issue
2014-05-28 22:31sjkumarAssigned To => vmromanos
2014-05-28 22:31sjkumarFile Added: TC-5412_Retest (1).doc
2014-05-29 11:11naiaramartinezAssigned Tovmromanos => naiaramartinez
2014-05-30 11:42hgbotCheckin
2014-05-30 11:42hgbotNote Added: 0067614
2014-05-30 11:42hgbotStatusnew => resolved
2014-05-30 11:42hgbotResolutionopen => fixed
2014-05-30 11:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/14c3c541029927e9ff4a2121eecebf6fca4aac71 [^]
2014-05-30 12:19vmromanosReview Assigned To => vmromanos
2014-05-30 12:19vmromanosStatusresolved => closed

Notes
(0067614)
hgbot   
2014-05-30 11:42   
Repository: erp/pmods/org.openbravo.contract.services
Changeset: 14c3c541029927e9ff4a2121eecebf6fca4aac71
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Fri May 30 10:59:31 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/14c3c541029927e9ff4a2121eecebf6fca4aac71 [^]

fixed issue 26725 Counter is not resetting monthly

---
M src/org/openbravo/contract/services/process/computation/Computation.java
M src/org/openbravo/contract/services/process/computation/ComputationDao.java
---