Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050054Retail ModulesCash uppublic2022-08-24 17:192022-09-05 06:52
ludmila_ursu 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
30Openbravo Appliance 14.04
RR22Q3 
RR22Q4 
No
0050054: "Updated" field, in "Cashup History" lines is not set to date/time of the processed cashup
During the cashup in the Web POS, if for a certain payment method the "Total Counted" amount is 0, lines in "Cashup History" will not be updated with the date/time of the processed cashup.
Field "Updated" is not changed for those lines, having a "Total Counted" = 0 .
This, even if there are sales registered.
Connect to Web POS.
Create a few sales orders, pay with multiple payment methods (cash, card, voucher, manual card, etc).
Do the cashup.
During the counting step, for one of the payment methods for which there were sales registered, set the "counted" amount to 0.
Add this not registered amount to another payment method, in order to have a 0 difference in the end, for the counting process.
FInish the cashup.
Go to the backoffice, and search the processed cashup.
Check the "updated" field for the header of the concerned cashup.
Compare it to the "updated" field for the lines of this cashup.
Remark that, for payment methods for which the "total counted" is 0, the "updated" field is different than of the header of the window.
Even if there are sales that are registered for that specific payment method.
Check the behavior for the rest of the lines for that cashup.
Remark that "updated" field corresponds (a few seconds of difference), to the "updated" field of the header.
Please see enclosed tests done in livebuilds, on 24th of August 2022.
Behavior is reproduced every time.
Update all the lines related to a cashup, during the process of the cashup.
All lines of a processed cashup should have the "updated" field = to the "updated field of the header's cashup.
No tags attached.
png cashup lines not updated - %22updated%22 field.png (307,341) 2022-08-24 17:19
https://issues.openbravo.com/file_download.php?file_id=17446&type=bug
Issue History
2022-08-24 17:19ludmila_ursuNew Issue
2022-08-24 17:19ludmila_ursuAssigned To => Retail
2022-08-24 17:19ludmila_ursuFile Added: cashup lines not updated - %22updated%22 field.png
2022-08-24 17:19ludmila_ursuTriggers an Emergency Pack => No
2022-08-30 09:38ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-08-30 14:02ranjith_qualiantech_comStatusnew => scheduled
2022-08-31 07:30hgbotNote Added: 0140520
2022-09-05 06:52hgbotResolutionopen => fixed
2022-09-05 06:52hgbotStatusscheduled => closed
2022-09-05 06:52hgbotNote Added: 0140661
2022-09-05 06:52hgbotFixed in Version => RR22Q4
2022-09-05 06:52hgbotNote Added: 0140662

Notes
(0140520)
hgbot   
2022-08-31 07:30   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/909 [^]
(0140661)
hgbot   
2022-09-05 06:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/909 [^]
(0140662)
hgbot   
2022-09-05 06:52   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 91bbdf5a7c2d1c2f06b2016a29b8b2ed89c33fa5
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 05-09-2022 04:51:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/91bbdf5a7c2d1c2f06b2016a29b8b2ed89c33fa5 [^]

Fixed ISSUE-50054: Updated audit fields of PaymentMethod when completing the cashup

---
M src/org/openbravo/retail/posterminal/UpdateCashup.java
---