Openbravo Issue Tracking System - POS2
View Issue Details
0056489POS2POSpublic2024-09-16 16:082024-09-19 09:31
fermin_ostivar 
sreehari 
normalminoralways
closedfixed 
5
 
24Q3.2 
Production - Confirmed Stable
2024-09-17
pi
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2394/diffs?commit_id=b50ee36efe0f3503685fa98e282ecfd0f35ca069 [^]
No
0056489: 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 => 24Q3.2
2024-09-19 08:46hgbotNote Added: 0169335
2024-09-19 08:48hgbotNote Added: 0169336
2024-09-19 08:49hgbotNote Added: 0169337
2024-09-19 09:31hgbotResolutionopen => fixed
2024-09-19 09:31hgbotStatusscheduled => closed
2024-09-19 09:31hgbotFixed in Version => RR24Q3.2
2024-09-19 09:31hgbotNote Added: 0169352
2024-09-19 09:31hgbotNote Added: 0169353
2024-09-19 09:31hgbotNote Added: 0169354
2024-09-19 09:31hgbotNote Added: 0169355
2024-09-19 09:31hgbotNote Added: 0169356
2024-09-19 09:31hgbotNote Added: 0169357

Notes
(0169335)
hgbot   
2024-09-19 08:46   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1682 [^]
(0169336)
hgbot   
2024-09-19 08:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2926 [^]
(0169337)
hgbot   
2024-09-19 08:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/121 [^]
(0169352)
hgbot   
2024-09-19 09:31   
Directly closing issue as related merge request is already approved.

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

Fixes ISSUE-56489: 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
---
(0169353)
hgbot   
2024-09-19 09:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1682 [^]
(0169354)
hgbot   
2024-09-19 09:31   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 4071d1610d66df41eaff035be25f484618cb91d2
Author: Sreehari Venkataraman <s.venkataraman@external.orisha.com>
Date: 19-09-2024 12:09:46
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4071d1610d66df41eaff035be25f484618cb91d2 [^]

Related ISSUE-56489: 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
---
(0169355)
hgbot   
2024-09-19 09:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2926 [^]
(0169356)
hgbot   
2024-09-19 09:31   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api [^]
Changeset: 8f10fcfdc07cf9384b087010b329205e91c126e2
Author: Sreehari Venkataraman <s.venkataraman@external.orisha.com>
Date: 19-09-2024 12:13:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/commit/8f10fcfdc07cf9384b087010b329205e91c126e2 [^]

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

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0169357)
hgbot   
2024-09-19 09:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/121 [^]