Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0026368 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Service Contract Management | major | have not tried | 2014-04-25 03:39 | 2014-05-20 12:36 | |||
Reporter | sjkumar | View Status | public | |||||
Assigned To | naiaramartinez | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | df79586d4ae8 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | vmromanos | |||||||
Regression introduced in release | ||||||||
Summary | 0026368: Service Contract Usage Computation for Tier Product is incorrect | |||||||
Description | Usage computation for Tier Product is not being considered correctly after the entire amount is consumed. The usage line are computed again by applying the tier from the start of the tier. | |||||||
Steps To Reproduce | 1. Setup products with following tier in price list and make sure that price list version has a valid from date before 04-01-2014 (e.g. 01-01-2014) Price Tier Up to Quantity Unit Price 1000 0.15 3000 0.12 0.17 1.1 - Also setup a product with basket too. 1.2 Setup Tier period as month in the price list version. 2. Enter a subscription with Start Date: 04-01-2014, End Date = 03-31-2015 (1 YR duration) with invoicing schedule of - Pay in Full with Monthly Usage ( 3. Create a subscription line, Net Unit Price = 1.0, Price Period=Service Period, Quantity=100, Start Date = 04-01-2014 End Date=03-31-2015, explode basket. 2. Enter 1st usage for Tier Product for 04-01-2014 to 04-16-2014, Quantity=3500. 3. Enter 2nd usage for the same product, same month with dates 04-16-2014 to 04-30-2014, Quantity =5000. This usage line will consume the whole line amount and will generate the overage. 4. Compute Usage - after Usage Computation, the 2nd usage net unit price is not applied correctly. The computation on the second line is not generating all the lines to be overage. See the screenshots. Expected result should be 2nd usage all 5000 should be calculated as the overage as there is no more amount left. See the screenshots for the details. | |||||||
Tags | No tags attached. | |||||||
Attached Files | Tier Product Issue.docx [^] (419,915 bytes) 2014-04-25 03:39 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0066661) hgbot (developer) 2014-04-28 18:52 |
Repository: erp/pmods/org.openbravo.contract.services Changeset: df79586d4ae87ebe0ad1854185ccf67dcfed77eb Author: Naiara Martinez <naiara.martinez <at> openbravo.com> Date: Fri Apr 25 13:14:28 2014 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/df79586d4ae87ebe0ad1854185ccf67dcfed77eb [^] Fixed issue 26368: Service Contract Usage Computation for Tier Product is incorrect --- M src/org/openbravo/contract/services/process/computation/Computation.java M src/org/openbravo/contract/services/process/computation/ComputationDao.java --- |
(0067303) vmromanos (manager) 2014-05-20 12:36 |
Code review OK |
Issue History | |||
Date Modified | Username | Field | Change |
2014-04-25 03:39 | sjkumar | New Issue | |
2014-04-25 03:39 | sjkumar | Assigned To | => vmromanos |
2014-04-25 03:39 | sjkumar | File Added: Tier Product Issue.docx | |
2014-04-25 09:47 | vmromanos | Assigned To | vmromanos => naiaramartinez |
2014-04-28 18:52 | hgbot | Checkin | |
2014-04-28 18:52 | hgbot | Note Added: 0066661 | |
2014-04-28 18:52 | hgbot | Status | new => resolved |
2014-04-28 18:52 | hgbot | Resolution | open => fixed |
2014-04-28 18:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/df79586d4ae87ebe0ad1854185ccf67dcfed77eb [^] |
2014-05-20 12:36 | vmromanos | Review Assigned To | => vmromanos |
2014-05-20 12:36 | vmromanos | Note Added: 0067303 | |
2014-05-20 12:36 | vmromanos | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |