Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0029017 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2015-02-22 18:04 | 2015-03-31 16:04 | |||
Reporter | jecharri | View Status | public | |||||
Assigned To | aaroncalero | |||||||
Priority | immediate | Resolution | no change required | Fixed in Version | RR15Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | RR15Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | RR14Q3.5 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | aaroncalero | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 34279 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0029017: Paymentmethodcashup table is not properly updated | |||||||
Description | Paymentmethodcashup 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 | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0076175) aaroncalero (viewer) 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. |
![]() |
|||
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 | OBNetwork customer | => Yes |
2015-02-22 18:04 | jecharri | Support ticket | => 34279 |
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 |