Openbravo Issue Tracking System - POS2
View Issue Details
0054906POS2POSpublic2024-03-11 12:002024-03-18 14:24
marvintm 
SABARINATH P 
normalmajorhave not tried
closedfixed 
5
 
24Q2 
No
0054906: Errors while importing for Cash Management movements generated during initial count have empty touchpoint
When the user executes initial count, and reports a difference, a cash management movement is generated.

If this cash management movement generates an Error While Importing, this EWI is generated with an empty touchpoint. This is very problematic, because the subsequent cashup of this terminal will not be blocked (due to the validation performed not finding the EWI, due to the empty touchpoint), thus completing the cashup with incorrect data, and potentially synchronizing wrong data with the external systems/SAP/ERPs

Therefore, we must make sure that the touchpoint is correctly filled so that the cashup also generates an error while importing.
- Do login in the POS, and go to initial count.
- Generate an exception in the ProcessCashMgmt class, in saveRecord method
- Do the initial count reporting a difference in a payment method
- Go to back office, and realize there is an Error While Importing for this cash management (correct)
- Realize that the touchpoint for this EWI is empty (wrong)
Make sure the touchpoint is filled up correctly
No tags attached.
depends on backport 005496924Q1.1 closed SABARINATH P Errors while importing for Cash Management movements generated during initial count have empty touchpoint 
depends on backport 005497023Q4.3 closed SABARINATH P Errors while importing for Cash Management movements generated during initial count have empty touchpoint 
related to defect 0056438 closed SABARINATH P EWI: duplicate key value violates unique constraint "obpos_appcash_pk" 
Issue History
2024-03-11 12:00marvintmNew Issue
2024-03-11 12:00marvintmAssigned To => Retail
2024-03-11 12:00marvintmTriggers an Emergency Pack => No
2024-03-11 12:03ngarciaIssue Monitored: ngarcia
2024-03-11 16:57guilleaerStatusnew => acknowledged
2024-03-12 12:56SABARINATH PAssigned ToRetail => SABARINATH P
2024-03-12 12:57SABARINATH PStatusacknowledged => scheduled
2024-03-15 12:48marvintmStatusscheduled => acknowledged
2024-03-15 12:48marvintmStatusacknowledged => scheduled
2024-03-18 12:41hgbotNote Added: 0162268
2024-03-18 14:24hgbotResolutionopen => fixed
2024-03-18 14:24hgbotStatusscheduled => closed
2024-03-18 14:24hgbotFixed in Version => 24Q2
2024-03-18 14:24hgbotNote Added: 0162275
2024-03-18 14:24hgbotNote Added: 0162276
2024-09-12 12:48malsasuaRelationship addedrelated to 0056438

Notes
(0162268)
hgbot   
2024-03-18 12:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2509 [^]
(0162275)
hgbot   
2024-03-18 14:24   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: d48ad8d93314ec7dfb4ad92bfe836f018bc50ea8
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 18-03-2024 16:34:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/d48ad8d93314ec7dfb4ad92bfe836f018bc50ea8 [^]

Fixed ISSUE-54906: Included touchpoint for Cashmgmt.

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/SetInitialCountCashup.js
---
(0162276)
hgbot   
2024-03-18 14:24   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2509 [^]