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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029017
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-02-22 18:042015-03-31 16:04
ReporterjecharriView Statuspublic 
Assigned Toaaroncalero 
PriorityimmediateResolutionno change requiredFixed in VersionRR15Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR15Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR14Q3.5SCM revision 
Review Assigned Toaaroncalero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029017: Paymentmethodcashup table is not properly updated

DescriptionPaymentmethodcashup table is not properly updated. It seems that some times the ticket payment amount is not exactly the same as the total gross amount of the order.

We have a client with one example, log lines:
"20-02-2015 07:50:38","Warn","XXX","""SetPaymentMethod:Cash. totalSales: 347000. totalReturns: 0"""
"20-02-2015 07:50:37","Warn","XXX","""Cash up info transactions saved correctly"""
"20-02-2015 07:50:34","Warn","XXX","""getNextDocumentNo: 27722"""
"20-02-2015 07:50:34","Warn","XXX","""Executing of post order save hook."""
"20-02-2015 07:50:34","Warn","XXX","""SetTotalTransactions: 387000"""
"20-02-2015 07:50:34","Warn","XXX","""SetGrossSales: 387000"""
"20-02-2015 07:50:34","Warn","XXX","""SetNetSales: 351818.1818181"""
"20-02-2015 07:50:34","Warn","XXX","""Setting document sequence: {\""documentSequence\"":27721,\""quotationDocumentSequence\"":0,\""id\"":\""66CFD3D59576353C8F4ECB0839B512BC\"",\""posSearchKey\"":\""XXX\""}"""
"20-02-2015 07:50:34","Warn","XXX","""Updating cashup"""
"20-02-2015 07:50:34","Warn","XXX","""Saving receipt."""
"20-02-2015 07:50:34","Warn","XXX","""Ticket closed. Id: B3C7DD86725FD533D12D24208E43FCF5. Docno: XXX/0027721. Total gross: 50000. Lines: [{Product: Milk, Quantity: 5 Gross: 50000}] Payments: [{PaymentMethod: OBPOS_payment.cash, Amount: 10000 OrigAmount: 10000"
"20-02-2015 07:50:27","Warn","XXX","""Order successfully removed."""
"20-02-2015 07:50:27","Warn","XXX","""Sync process success."""
"20-02-2015 07:50:27","Warn","XXX","""callback runsyncprocess"""
"20-02-2015 07:50:25","Warn","XXX","""Updating cashup"""
"20-02-2015 07:50:24","Warn","XXX","""SetPaymentMethod:Cash. totalSales: 337000. totalReturns: 0"""


As you will see when ticket, 0027720 was closed, total Sales was set to 33700. However after ticket 0027721 was closed, the total should be 387000 instead of 347000 as it can be read in first line of the log. The problem is that ticket had only 10000 in payment JSON object and total was 50000. The order in the ERP was properly created with 50000 in the payment
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0029018 closedaaroncalero Paymentmethodcashup table is not properly updated 

-  Notes
(0076175)
aaroncalero (manager)
2015-03-31 16:04

The original issue was found in 14Q3, and was caused because it was possible to tap on the Total Amount button before the current amount of the ticket had been calculated.
With the addition of the Synchronization Helper and fixes done for several issues (e.g. 29208) the total amount button will remain disabled until the correct amount has been calculated.

- Issue History
Date Modified Username Field Change
2015-02-22 18:04 jecharri New Issue
2015-02-22 18:04 jecharri Assigned To => marvintm
2015-02-22 18:04 jecharri Resolution time => 1424818800
2015-02-22 18:04 jecharri Triggers an Emergency Pack => No
2015-02-22 18:40 jecharri Issue cloned 0029018
2015-02-22 18:58 jecharri Relationship added related to 0029018
2015-03-30 14:02 jonalegriaesarte Target Version RR15Q2 => RR15Q3
2015-03-31 15:59 aaroncalero Status new => scheduled
2015-03-31 15:59 aaroncalero Assigned To marvintm => aaroncalero
2015-03-31 15:59 aaroncalero Status scheduled => resolved
2015-03-31 15:59 aaroncalero Fixed in Version => RR15Q3
2015-03-31 15:59 aaroncalero Resolution open => fixed
2015-03-31 16:00 aaroncalero Status resolved => new
2015-03-31 16:00 aaroncalero Resolution fixed => open
2015-03-31 16:00 aaroncalero Fixed in Version RR15Q3 =>
2015-03-31 16:04 aaroncalero Review Assigned To => aaroncalero
2015-03-31 16:04 aaroncalero Note Added: 0076175
2015-03-31 16:04 aaroncalero Status new => closed
2015-03-31 16:04 aaroncalero Resolution open => no change required
2015-03-31 16:04 aaroncalero Fixed in Version => RR15Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker