Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053225Retail ModulesDelivery Modespublic2023-08-17 10:422023-11-27 13:15
ludmila_ursu 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR23Q4 
approved
Gold
No
0053225: OutDatedDataChangeException occurs because Data Import Entry is created AFTER the order creation and after issuing products.
The fix https://issues.openbravo.com/view.php?id=52152 [^] targeted the same OutDatedDataChangeException.

But in case the Data Import Entry is not yet created (synchronization is on going), and user triggers the Issue Sales Order process, then we will have also the OutDatedDataChangeException. This happens, because the import entry doesn't exist yet, but the order exists, so it is possible to trigger the Issue Sales Order process.

Example of the chronology of steps that describe the case:

order created (header and lines): 04.08.2023 16:41:25
order reopened, receipt closed in POS: 15.08.2023 9:05:50
issue sales order: 15.08.2023 9:05:55
data import entry related to the receipt closed: 15.08.2023 9:06:00
- Order is created in the Web POS
- Then it is reopened and completed again from the POS (for example, payment)
- While this second import entry is being synchronized to the backend, user triggers the Issue Sales Order process
No tags attached.
related to defect 0052152 closed ranjith_qualiantech_com OutDatedDataChangeException if Issue Sales Order is executed before processing the related Data Import Entry 
related to defect 0054032 closed ranjith_qualiantech_com OutDatedDataChangeException occurs because Data Import Entry is created AFTER the order creation and after issuing products. 
Issue History
2023-08-17 10:42ludmila_ursuNew Issue
2023-08-17 10:42ludmila_ursuAssigned To => Retail
2023-08-17 10:42ludmila_ursuOBNetwork customer => No
2023-08-17 10:42ludmila_ursuTriggers an Emergency Pack => No
2023-08-17 10:54ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-08-17 11:02ngarciaRelationship addedrelated to 0052152
2023-08-18 07:47ranjith_qualiantech_comStatusnew => scheduled
2023-08-21 07:29hgbotMerge Request Status => open
2023-08-21 07:29hgbotNote Added: 0153699
2023-08-21 08:41marvintmOBNetwork customerNo => Gold
2023-08-31 09:14ngarciaIssue Monitored: ngarcia
2023-09-01 13:40hgbotMerge Request Statusopen => approved
2023-09-01 13:40hgbotResolutionopen => fixed
2023-09-01 13:40hgbotStatusscheduled => closed
2023-09-01 13:40hgbotNote Added: 0154350
2023-09-01 13:40hgbotFixed in Version => RR23Q4
2023-09-01 13:40hgbotNote Added: 0154351
2023-11-27 13:15malsasuaIssue cloned0054032
2023-11-28 05:51ranjith_qualiantech_comRelationship addedrelated to 0054032

Notes
(0153699)
hgbot   
2023-08-21 07:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1310 [^]
(0154350)
hgbot   
2023-09-01 13:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1310 [^]
(0154351)
hgbot   
2023-09-01 13:40   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 0f3213ac63f869eedf808bb0ef4f3e2096b66c7a
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 01-09-2023 13:40:11
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/0f3213ac63f869eedf808bb0ef4f3e2096b66c7a [^]

Fixed ISSUE-53225: IssueSalesOrder popup should be opened after messages synched

---
M web/org.openbravo.retail.posterminal/js/components/menuissue.js
---