Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026314
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Service Contract Managementmajoralways2014-04-17 08:042014-05-20 12:36
ReportersjkumarView Statuspublic 
Assigned Tonaiaramartinez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionb0b4e3f0996b
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Tovmromanos
Regression introduced in release
Summary

0026314: Service Contract is not updating the available amount correctly.

DescriptionAvailable amount is not drawn down for the metered service line.
Steps To Reproduce1.Setup product (parent) and basket product (child) in the product window. At least setup two product in the basket product window and their UOM code should be different.
2.Setup the price list and version that is valid from 04/16/2014. Make sure to give price to both parent and child product in this price list.
Also setup one of the product as the tier product with tier ranges and price as below

1000 0.17
3000 0.12
Infinite range 0.10

3.Create Service contract with the following data
Start Date = 04/16/2014
End Date = 04/15/2015
Invoicing Schedule with Invoicing Frequency = “At Signature - renewal“
4. Create a Invoice Plan Template with following data
Start Date = 04/16/2014
End Date = 04/15/2015
Quantity = 120000
NetUnit Price = 1.00 USD
price Period = Service Period
TCLV = 120000
Flag Service Metered Commitment check box at the line level and make sure that available amount is populated with 120000
3. Click onthe Explode Basket button and populate the basket product into the Invoice plan template. At this stage the price for these product should have come from price list version.
4. Click on the 'Complete' button and generate the invoice plans.
5. Now enter a Metered Services line with following
   Start Date = 04/16/2014 22:00:00
   End Date = 04/16/2014 22:30:00
   Quantity = 100000
   Enter product that is setup in the Basket product window.
   UOM = Choose the same UOM code as setup on the product.
6. Now enter one more metered service line with following
   Start Date = 04/16/2014 22:00:00
   End Date = 04/16/2014 22:30:00
   Quantity = 10000
   Enter product that is setup in the Basket product window. Here enter a product different than in step 5.
   UOM = Choose the same UOM code as setup on the product.

7. Now run the Subscription Billing with date range of 04/16/2014 to 04/16/2014 and Run Metered Service Computation. This should create the invoice for the main subscribed service line as well as the metered service line.

8. At this stage the available amount is only reduced from the first processed line and not from the second line.

I have attached the screenshot for the issues.
TagsNo tags attached.
Attached Filesdocx file icon Incorrect Available Amount.docx [^] (214,792 bytes) 2014-04-17 08:04

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0066561)
hgbot (developer)
2014-04-23 16:56

Repository: erp/pmods/org.openbravo.contract.services
Changeset: b0b4e3f0996b4d86f7e36ebba8916e2b89ec928b
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Tue Apr 22 18:52:34 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/b0b4e3f0996b4d86f7e36ebba8916e2b89ec928b [^]

Fixed issue 26314: Service Contract is not updating the available amount correctly.

---
M src/org/openbravo/contract/services/process/computation/Computation.java
---
(0067304)
vmromanos (manager)
2014-05-20 12:36

Code review OK

- Issue History
Date Modified Username Field Change
2014-04-17 08:04 sjkumar New Issue
2014-04-17 08:04 sjkumar Assigned To => vmromanos
2014-04-17 08:04 sjkumar File Added: Incorrect Available Amount.docx
2014-04-22 18:50 naiaramartinez Assigned To vmromanos => naiaramartinez
2014-04-22 18:50 naiaramartinez Status new => scheduled
2014-04-23 16:56 hgbot Checkin
2014-04-23 16:56 hgbot Note Added: 0066561
2014-04-23 16:56 hgbot Status scheduled => resolved
2014-04-23 16:56 hgbot Resolution open => fixed
2014-04-23 16:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/b0b4e3f0996b4d86f7e36ebba8916e2b89ec928b [^]
2014-05-20 12:36 vmromanos Review Assigned To => vmromanos
2014-05-20 12:36 vmromanos Note Added: 0067304
2014-05-20 12:36 vmromanos Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker