Openbravo Issue Tracking System - POS2
View Issue Details
0056490POS2POSpublic2024-09-16 16:082024-09-19 09:33
fermin_ostivar 
sreehari 
normalminoralways
closedfixed 
5
 
24Q2.4 
Production - Confirmed Stable
2024-09-17
pi
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2394/diffs?commit_id=b50ee36efe0f3503685fa98e282ecfd0f35ca069 [^]
No
0056490: Cash Management Search Key wrong in Complete Cashup event
The Cash Management object searchKey value sent on the RETAPCO_CreateCashup EDL request json is the payment method search key value instead of the Cash Management event Search Key value.

        "cashManagementEvents": [
          {
            "name": "Cash AUD - Backoffice transfer to VBS - AUD",
            "rate": 0.714286,
            "currency": "AUD",
            "amount": 5,
            "origAmount": 3.57,
            "creationDate": "2024-09-16 13:56:09",
            "type": "deposit",
            "searchKey": "OBPOS.payment.audcash"
          }
        ],
        "creationDate": "2024-09-16 13:55:41"

[BOS]
Configure the CompleteCashup event

[POS]
Do a cash management and close the till

The cashup information is wrong, the Cash Management Search Key value expected on the JSON is the value on the "Cash Management Event" Search Key instead of the "Payment Method" Search Key value
 The Cash Management Search Key value should be the "Cash Management Event" Search Key
No tags attached.
blocks defect 0056464 closed sreehari Cash Management Search Key wrong in Complete Cashup event 
Issue History
2024-09-18 14:48marvintmTypedefect => backport
2024-09-18 14:48marvintmTarget Version => 24Q2.4
2024-09-19 09:26hgbotNote Added: 0169349
2024-09-19 09:27hgbotNote Added: 0169350
2024-09-19 09:28hgbotNote Added: 0169351
2024-09-19 09:32hgbotNote Added: 0169359
2024-09-19 09:32hgbotNote Added: 0169360
2024-09-19 09:32hgbotNote Added: 0169361
2024-09-19 09:32hgbotNote Added: 0169362
2024-09-19 09:32hgbotNote Added: 0169363
2024-09-19 09:33hgbotResolutionopen => fixed
2024-09-19 09:33hgbotStatusscheduled => closed
2024-09-19 09:33hgbotFixed in Version => RR24Q2.4
2024-09-19 09:33hgbotNote Added: 0169364

Notes
(0169349)
hgbot   
2024-09-19 09:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1683 [^]
(0169350)
hgbot   
2024-09-19 09:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2927 [^]
(0169351)
hgbot   
2024-09-19 09:28   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/122 [^]
(0169359)
hgbot   
2024-09-19 09:32   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1683 [^]
(0169360)
hgbot   
2024-09-19 09:32   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 22342d94d27789a0051305e828af95b3b2a14d77
Author: Sreehari Venkataraman <s.venkataraman@external.orisha.com>
Date: 19-09-2024 12:53:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/22342d94d27789a0051305e828af95b3b2a14d77 [^]

Related ISSUE-56490: Added cashManagementEventSearchKey and stored cashEventSearchKey

---
M web-jspack/org.openbravo.pos2/src/components/CashManagement/CashManagementNewMovementForm/CashManagementNewMovementForm.jsx
M web-jspack/org.openbravo.pos2/src/components/CashManagement/CashManagementNewMovementForm/__test__/CashManagementNewMovementFormMock.js
---
(0169361)
hgbot   
2024-09-19 09:32   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2927 [^]
(0169362)
hgbot   
2024-09-19 09:32   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api [^]
Changeset: 80ea875956c43e3ccb7918014c0602d6d100d098
Author: Sreehari Venkataraman <s.venkataraman@external.orisha.com>
Date: 19-09-2024 12:54:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/commit/80ea875956c43e3ccb7918014c0602d6d100d098 [^]

Related ISSUE-56490: Changed the mapping from searchKey to paymentMethodValue

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0169363)
hgbot   
2024-09-19 09:32   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/122 [^]
(0169364)
hgbot   
2024-09-19 09:33   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 323280e23c34fab9ba92b757ffa26f6ff36ec28c
Author: Sreehari Venkataraman <s.venkataraman@external.orisha.com>
Date: 19-09-2024 12:52:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/323280e23c34fab9ba92b757ffa26f6ff36ec28c [^]

Fixes ISSUE-56490: Added new column for storing paymentMethodSearchKey

---
M src-db/database/model/tables/OBPOS_PAYMENTCASHUP_EVENTS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/retail/posterminal/ProcessCashMgmt.java
---