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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033289
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2016-06-16 12:292016-06-25 21:38
ReporteraaroncaleroView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR16Q3
StatusclosedFix in branchFixed in SCM revision6eec6a438276
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033289: [SERQA 1216] Error loading a deferred service sale if the service is based on price rule ranges

DescriptionGiven a service with its price calculated based on a Price Rule configured by ranges, if we create a deferred ticket with that product, and then load that ticket again in web pos, an "Error calculating service price" is raised, which is not correct as the price has been calculated previously.
Steps To ReproduceUsing Retail sampledata:
Login in backend, go to the Product window, open the Customize Coat product and check the Allow Deferred Sale flag.
Login in webpos (VBS-1 terminal) and create a new ticket:
Add the product Coat, don't add any mandatory service (click on Continue), and pay the ticket.
Go to the Menu > Receipts and load the previous ticket.
Click on the Related Services button of the Coat line; the related services for Coat will be shown.
Try to add a Customize Coat product.
The "Not Editable Receipt" popup will be shown, allowing to add the Customize Coat service to a different ticket. Select *Create New Receipt and click on Apply.
A new ticket will be created with the Customize Coat product. Verify that an information line will show the relationship between this line and the original product line.
Pay the ticket.
Go to the Menu > Receipts and load the ticket with the Customize Coat.
After the ticket is loaded, the "Error calculating service price" error will raise and the service will be removed.
Proposed SolutionThe issue comes from the fact that some values (gross, net, qty and promotions) are not being loaded with the Related Lines information when a deferred ticket is loaded again in web pos.
The attached diff adds these values on the PaidReceip.java
TagsSER-QA
Attached Files? file icon I33289.export [^] (2,750 bytes) 2016-06-16 12:32

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0087645)
hgbot (developer)
2016-06-20 06:11

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6eec6a438276f5e178fff53ced0e73330ea477d0
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Thu Jun 16 12:29:40 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6eec6a438276f5e178fff53ced0e73330ea477d0 [^]

Fixed issue 33289 : Error loading a deferred service sale if the service is based on price rule ranges

---
M src/org/openbravo/retail/posterminal/PaidReceiptRelatedLinesProperties.java
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0087689)
hgbot (developer)
2016-06-21 05:52

Repository: tools/automation/pi-mobile
Changeset: f14ec41ebf957d1d08402abc5bb93036424ff806
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jun 21 09:22:39 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f14ec41ebf957d1d08402abc5bb93036424ff806 [^]

Verifies issue 33289 : Modified automated test 'I32930_VerifyDeferredServiceAmount'

---
A src-test/org/openbravo/test/mobile/quarantine/pack/RAN/services/I32930_VerifyDeferredServiceAmount.java
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/services/deferredsell/I32930_VerifyDeferredServiceAmount.java
---
(0087919)
mtaal (manager)
2016-06-25 21:38

Reviewed and tested

- Issue History
Date Modified Username Field Change
2016-06-16 12:29 aaroncalero New Issue
2016-06-16 12:29 aaroncalero Assigned To => Retail
2016-06-16 12:29 aaroncalero Resolution time => 1467237600
2016-06-16 12:29 aaroncalero Triggers an Emergency Pack => No
2016-06-16 12:31 aaroncalero Summary Error loading a deferred service sale if the service is based on price rule ranges => [SERQA 1216] Error loading a deferred service sale if the service is based on price rule ranges
2016-06-16 12:31 aaroncalero Proposed Solution updated
2016-06-16 12:31 aaroncalero Tag Attached: SER-QA
2016-06-16 12:32 aaroncalero File Added: I33289.export
2016-06-16 15:52 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2016-06-16 15:52 ranjith_qualiantech_com Status new => scheduled
2016-06-20 06:11 hgbot Checkin
2016-06-20 06:11 hgbot Note Added: 0087645
2016-06-20 06:11 hgbot Status scheduled => resolved
2016-06-20 06:11 hgbot Resolution open => fixed
2016-06-20 06:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6eec6a438276f5e178fff53ced0e73330ea477d0 [^]
2016-06-21 05:52 hgbot Checkin
2016-06-21 05:52 hgbot Note Added: 0087689
2016-06-23 19:20 marvintm Review Assigned To => mtaal
2016-06-25 21:38 mtaal Note Added: 0087919
2016-06-25 21:38 mtaal Status resolved => closed
2016-06-25 21:38 mtaal Fixed in Version => RR16Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker