Openbravo Issue Tracking System - POS2
View Issue Details
0052712POS2POSpublic2023-06-09 12:282023-06-27 22:53
meriem_azaf 
meriem_azaf 
normalmajorhave not tried
closedfixed 
5
 
23Q4 
approved
No
No
0052712: Search key for Action Reasons
It is needed to have the search key column in the actions reasons for any integrations through APIs.

Right now there is only a text, which is perfect, to show it when selecting any of the options in the frontend.

The problem comes when the system needs to send the action reason selected to an external system . The text is never used for this but a code.

Having the search key it will allow to send the corresponding code.
-
No tags attached.
Issue History
2023-06-09 12:28meriem_azafNew Issue
2023-06-09 12:28meriem_azafAssigned To => Retail
2023-06-09 12:28meriem_azafOBNetwork customer => No
2023-06-09 12:28meriem_azafTriggers an Emergency Pack => No
2023-06-09 12:28meriem_azafAssigned ToRetail => meriem_azaf
2023-06-09 12:28meriem_azafStatusnew => scheduled
2023-06-09 12:51hgbotMerge Request Status => open
2023-06-09 12:51hgbotNote Added: 0150985
2023-06-13 12:07hgbotNote Added: 0151096
2023-06-20 09:35hgbotMerge Request Statusopen => approved
2023-06-27 22:53hgbotResolutionopen => fixed
2023-06-27 22:53hgbotStatusscheduled => closed
2023-06-27 22:53hgbotFixed in Version => 23Q4
2023-06-27 22:53hgbotNote Added: 0151703
2023-06-27 22:53hgbotNote Added: 0151704
2023-06-27 22:53hgbotNote Added: 0151705
2023-06-27 22:53hgbotNote Added: 0151706

Notes
(0150985)
hgbot   
2023-06-09 12:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1133 [^]
(0151096)
hgbot   
2023-06-13 12:07   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/44 [^]
(0151703)
hgbot   
2023-06-27 22:53   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1133 [^]
(0151704)
hgbot   
2023-06-27 22:53   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 6833170d2867ee79112a02af5b66101f626fb8ed
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 27-06-2023 22:51:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/6833170d2867ee79112a02af5b66101f626fb8ed [^]

Fixes ISSUE-52712: Search key for Action Reasons

In this project we added search key in user action reason.

- Create a new column "searchKey" in the table "obc2_user_action_reason".

- Create a new field "search key" on "user action reason".

- Update the "UserActionReason.java".

- Update the "UserActionReasonTest.java".

---
M src-db/database/model/tables/OBC2_USER_ACTION_REASON.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-test/org/openbravo/core2/master/UserActionReasonTest.java
M src-test/org/openbravo/core2/util/Core2TestUtils.java
M src/org/openbravo/core2/master/UserActionReason.java
---
(0151705)
hgbot   
2023-06-27 22:53   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata [^]
Changeset: 8508d651178099954e983687e9fad634cba5b063
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 27-06-2023 20:35:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/commit/8508d651178099954e983687e9fad634cba5b063 [^]

Related to ISSUE-52712: Adds OBC2_USER_ACTION_REASON.searchkey to sampledata

---
M referencedata/sampledata/The_White_Valley_Group/OBC2_USER_ACTION_REASON.xml
---
(0151706)
hgbot   
2023-06-27 22:53   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/44 [^]