Openbravo Issue Tracking System - Modules
View Issue Details
0026788ModulesService Contract Managementpublic2014-06-04 19:002014-07-28 13:09
sjkumar 
vmromanos 
normalmajorhave not tried
closedfixed 
5
 
 
naiaramartinez
0026788: Usage is not getting calculated for the last day of the service end date
1)Create a Subscription : 10000150 with
Service Start and End date of the subscription is from 01-01-2014 to 12-31-2014
2)Create a usage line on the last day of the service end date:
i.e the usage line is created with start date = 12-31-2014 00:30:00 and End date = 12-31-2014 02:00:00
Click on Compute Usage and the error comes up and the usage line doesnot get processed.
” Warning
Error when processing contract:10000150 - TK_SPM_MS_021_20140604: No Invoice Plan Master found.”

Expected result : Even though it is the last day of the service end date, it should still be able to compute usage
Screeshot attached.
No tags attached.
doc time_constraint_error.doc (244,736) 2014-06-04 19:00
https://issues.openbravo.com/file_download.php?file_id=6987&type=bug
Issue History
2014-06-04 19:00sjkumarNew Issue
2014-06-04 19:00sjkumarAssigned To => vmromanos
2014-06-04 19:00sjkumarFile Added: time_constraint_error.doc
2014-06-24 11:07vmromanosStatusnew => scheduled
2014-06-24 11:07vmromanosfix_in_branch => pi
2014-06-30 17:37hgbotCheckin
2014-06-30 17:37hgbotNote Added: 0068457
2014-06-30 17:37hgbotStatusscheduled => resolved
2014-06-30 17:37hgbotResolutionopen => fixed
2014-06-30 17:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/3f8bf7aed8abed00a61945fea946e66a30b470a8 [^]
2014-07-28 13:09naiaramartinezReview Assigned To => naiaramartinez
2014-07-28 13:09naiaramartinezNote Added: 0068917
2014-07-28 13:09naiaramartinezStatusresolved => closed

Notes
(0068457)
hgbot   
2014-06-30 17:37   
Repository: erp/pmods/org.openbravo.contract.services
Changeset: 3f8bf7aed8abed00a61945fea946e66a30b470a8
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Jun 24 12:00:22 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/3f8bf7aed8abed00a61945fea946e66a30b470a8 [^]

Fixed bug 26788: Usage is not getting calculated for the last day of the service end date

---
M src/org/openbravo/contract/services/process/computation/ComputationDao.java
---
(0068917)
naiaramartinez   
2014-07-28 13:09   
Code Review OK