Openbravo Issue Tracking System - POS2
View Issue Details
0051093POS2Corepublic2022-12-12 09:502023-05-22 08:35
dorian_robillard 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
 
No
0051093: CloseStore Webhook : missing username for lastOpenClosedBy and datetime for lastOpenClosedDate
The lastOpenClosedBy is not the username but the name of the user => the unique key is the username so we want the user name.

We also want the date + time of the lastOpenClosedDate.
Activate the event subscription "Close store"

Close a store

See the event generated

lastOpenClosedBy is the name of the user
lastOpenClosedDate is a date
lastOpenClosedBy is the username of the user
lastOpenClosedDate is a datetime
No tags attached.
related to defect 0053183 closed ranjith_qualiantech_com CloseStore Webhook : The datetime for lastOpenClosedDate is wrong 
Issue History
2022-12-12 09:50dorian_robillardNew Issue
2022-12-12 09:50dorian_robillardAssigned To => Triage Platform Base
2022-12-12 09:50dorian_robillardTriggers an Emergency Pack => No
2023-01-05 11:26rafarodaTypefeature request => defect
2023-01-05 15:24AugustoMauchAssigned ToTriage Platform Base => Retail
2023-04-10 12:03ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-04-10 12:03ranjith_qualiantech_comStatusnew => scheduled
2023-04-10 12:24hgbotNote Added: 0148344
2023-05-22 08:35hgbotResolutionopen => fixed
2023-05-22 08:35hgbotStatusscheduled => closed
2023-05-22 08:35hgbotNote Added: 0150037
2023-05-22 08:35hgbotNote Added: 0150038
2023-08-08 16:03rafarodaRelationship addedrelated to 0053183

Notes
(0148344)
hgbot   
2023-04-10 12:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions.api/-/merge_requests/3 [^]
(0150037)
hgbot   
2023-05-22 08:35   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions.api [^]
Changeset: 1c3de182786e07584a79c8c9c314d9b4d4a7b870
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 10-04-2023 15:46:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions.api/-/commit/1c3de182786e07584a79c8c9c314d9b4d4a7b870 [^]

Fixed ISSUE-51093: Updated Entity mapping for Organization Close Store properties
* For Org OpenCloseDate property, Date & Time should be shown
* For Org closedBy property, username should be shown instead of user's name

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0150038)
hgbot   
2023-05-22 08:35   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions.api/-/merge_requests/3 [^]