Openbravo Issue Tracking System - POS2
View Issue Details
0052300POS2POSpublic2023-05-02 03:202023-05-04 09:52
hcurbelo 
Retail 
normalmajoralways
closedfixed 
5
 
23Q3 
marvintm
No
No
0052300: Cash Management - Search key / API
Create searchkey property in the Entity Mapping of the entity Cash Management Event for its use in the Api Service, for them you have to create from the POS the searchkey in the Cash Management events so that this value can be obtained from the Api Rest Service.
1. Create events from the Organization configuration window, the Cash Management Events tab and there is only the name.
2. Also from the Api rest service consulting the Transactional Data Business API->CashUp service.
ADDING Search key field: only in backoffice Organization window > Cash Management Event subtab (will NOT show in POS), properly define if mandatory or not (if we want to be retrocaompatible should not be mandatory)

Make sure that this SEARCH KEY is extracted in the current Cashup API inside Cash management events: the current Cashup API is already extracting the cash management events, see below
No tags attached.
Issue History
2023-05-02 03:20hcurbeloNew Issue
2023-05-02 03:20hcurbeloAssigned To => Retail
2023-05-02 03:20hcurbeloOBNetwork customer => No
2023-05-02 03:20hcurbeloTriggers an Emergency Pack => No
2023-05-03 07:46hgbotResolutionopen => fixed
2023-05-03 07:46hgbotStatusnew => resolved
2023-05-03 07:46hgbotNote Added: 0149165
2023-05-03 07:46hgbotFixed in Version => RR23Q3
2023-05-03 07:46hgbotNote Added: 0149166
2023-05-03 07:46hgbotNote Added: 0149167
2023-05-03 07:46hgbotNote Added: 0149168
2023-05-03 07:47marvintmReview Assigned To => marvintm
2023-05-03 07:47marvintmStatusresolved => closed
2023-05-03 07:47marvintmFixed in VersionRR23Q3 => 23Q3
2023-05-03 09:18hgbotNote Added: 0149177
2023-05-03 09:58hgbotNote Added: 0149182
2023-05-03 09:59hgbotNote Added: 0149183
2023-05-03 10:01hgbotNote Added: 0149184
2023-05-03 10:22hgbotNote Added: 0149186
2023-05-03 10:23hgbotNote Added: 0149187
2023-05-03 13:40hgbotNote Added: 0149209
2023-05-04 09:52hgbotNote Added: 0149282

Notes
(0149165)
hgbot   
2023-05-03 07:46   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api [^]
Changeset: b7134bdc1f451a9cd67b745ae8f90795d9b33e34
Author: Hector Curbelo Barrios <hector.curbelo@smfconsulting.es>
Date: 03-05-2023 05:46:37
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/commit/b7134bdc1f451a9cd67b745ae8f90795d9b33e34 [^]

Fixed ISSUE-52300: Add Cash Management searchKey property to the API

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0149166)
hgbot   
2023-05-03 07:46   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 8430310ced2ebd22cf97ddb08f82a5b59438c8b2
Author: Hector Curbelo Barrios <hector.curbelo@smfconsulting.es>
Date: 03-05-2023 05:46:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/8430310ced2ebd22cf97ddb08f82a5b59438c8b2 [^]

Fixed ISSUE-52300: Add searchKey property to the Cash Management events

---
M src-db/database/model/tables/OBPOS_PAYMENTCASHUP_EVENTS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/retail/posterminal/ProcessCashMgmt.java
M src/org/openbravo/retail/posterminal/term/CashMgmtDepositEvents.java
M src/org/openbravo/retail/posterminal/term/CashMgmtDropEvents.java
M web/org.openbravo.retail.posterminal/js/cashmgmt/model/cashmgmt-model.js
---
(0149167)
hgbot   
2023-05-03 07:46   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config [^]
Changeset: 794c539d9adf05c7dfdcbc3edc9f3d0e0d832005
Author: Hector Curbelo Barrios <hector.curbelo@smfconsulting.es>
Date: 03-05-2023 05:46:44
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/commit/794c539d9adf05c7dfdcbc3edc9f3d0e0d832005 [^]

Fixed ISSUE-52300: Add searchKey property to the Cash Management events

---
M src-db/database/model/tables/OBRETCO_CMEVENTS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0149168)
hgbot   
2023-05-03 07:46   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 9b010bd59a004a988966edbbab60e57e79e1586f
Author: Hector Curbelo Barrios <hector.curbelo@smfconsulting.es>
Date: 03-05-2023 05:46:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/9b010bd59a004a988966edbbab60e57e79e1586f [^]

Fixed ISSUE-52300: Add searchKey property to the Cash Management events

---
M src/org/openbravo/retail/giftcards/master/CashMgmtEvents.java
---
(0149177)
hgbot   
2023-05-03 09:18   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config [^]
Changeset: f6025f503c3bb7318fb5208513f476a0ee334cc5
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 03-05-2023 09:18:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/commit/f6025f503c3bb7318fb5208513f476a0ee334cc5 [^]

Related to ISSUE-52300: Removed unique constraint as it causes problems in Oracle

---
M src-db/database/model/tables/OBRETCO_CMEVENTS.xml
---
(0149182)
hgbot   
2023-05-03 09:58   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config [^]
Changeset: a50daae897819071e97918fdee85b26fd21dc68e
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 03-05-2023 09:58:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/commit/a50daae897819071e97918fdee85b26fd21dc68e [^]

Related to ISSUE-52300: Fix dbconsistency problem

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0149183)
hgbot   
2023-05-03 09:59   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: a6192f58e31acb4fcb8b8709aa58775d65ad3d99
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 03-05-2023 09:59:41
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a6192f58e31acb4fcb8b8709aa58775d65ad3d99 [^]

Related to ISSUE-52300: Fix dbconsistency problem

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0149184)
hgbot   
2023-05-03 10:01   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata [^]
Changeset: 0b45a8c46d12c2d659fe8b15981237635b1b3795
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 03-05-2023 10:00:53
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/commit/0b45a8c46d12c2d659fe8b15981237635b1b3795 [^]

Related to ISSUE-52300: Fix dbconsistency problem

---
M referencedata/sampledata/The_White_Valley_Group/AD_SEQUENCE.xml
---
(0149186)
hgbot   
2023-05-03 10:22   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata [^]
Changeset: b1056025cf4180dd74fce039d5d713871c6a9b19
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 03-05-2023 10:22:15
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/commit/b1056025cf4180dd74fce039d5d713871c6a9b19 [^]

Related to ISSUE-52300: Fix dbconsistency problem

---
M referencedata/sampledata/Retail_Test/AD_SEQUENCE.xml
---
(0149187)
hgbot   
2023-05-03 10:23   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: 7dc10de6f7dc22b1a0d2a6a59f05a19a0ad65ccb
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 03-05-2023 10:23:30
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/7dc10de6f7dc22b1a0d2a6a59f05a19a0ad65ccb [^]

Related to ISSUE-52300: Fix dbconsistency problem

---
M referencedata/sampledata/The_White_Valley_Group/AD_SEQUENCE.xml
---
(0149209)
hgbot   
2023-05-03 13:40   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: 3607ecbf43db65430a7ed97934c8eca2987933ee
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 03-05-2023 13:39:55
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/3607ecbf43db65430a7ed97934c8eca2987933ee [^]

Related to ISSUE-52300: Remove duplicated sequence

---
M referencedata/sampledata/The_White_Valley_Group/AD_SEQUENCE.xml
---
(0149282)
hgbot   
2023-05-04 09:52   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: d5dc5b65dd7b144a4beca7785b3bb584e8a4e3fc
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 04-05-2023 13:22:14
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d5dc5b65dd7b144a4beca7785b3bb584e8a4e3fc [^]

Related to ISSUE-52300: SearchKey should be validated when processing Cash Mgmt

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