Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050086Retail ModulesCopy Retail Storepublic2022-08-26 15:522022-09-08 16:21
avicente 
Retail 
highmajorsometimes
newopen 
5
 
 
2022-09-16
No
0050086: [Copy Retail Store] All the Document type/seq are not copied always
In https://issues.openbravo.com/view.php?id=49733 [^] was implemented that the CRS process must copied the document types and sequences used in AWO.

However, sometimes not all the document types/sequenes are copied but it is not always reproducible and when it happens the number of document types/sequences created is not the same.

Could more logs be added for the part of the code where the document types and sequences are created please? it is needed to know how document type/seq are created and if there were some errors.
It is not always reproducible, more logs are required
Add more logs be added for the part of the code where the document types and sequences are created.

This is the point on the code where the query to select the document types to be copied is executed.

https://gitlab.com/openbravo/product/pmods/org.openbravo.copyprocess.advancedwarehouseoperations/-/blob/master/src/org/openbravo/copyprocess/advancedwarehouseoperations/process/CopyWarehouseProcess.java#L639 [^]

It is desired to add more logs to the process here in order to be able to see which entities are copied on each process.

Also the problem is reproduced with smcp database so in order to debug the problem can be tried with smpc enviroment.
FASH
depends on defect 0049733 closed njimenez Modules Copy Retail Store: document type/seq for AWO are not copied 
Issue History
2022-08-26 15:52avicenteNew Issue
2022-08-26 15:52avicenteAssigned To => Retail
2022-08-26 15:52avicenteRegression date => 2022-09-16
2022-08-26 15:52avicenteTriggers an Emergency Pack => No
2022-08-26 15:52avicenteTag Attached: FASH
2022-08-26 15:53avicenteRelationship addeddepends on 0049733
2022-08-29 09:32njimenezProposed Solution updated
2022-09-05 03:10hgbotNote Added: 0140658
2022-09-05 03:10hgbotNote Added: 0140659
2022-09-08 14:16hgbotNote Added: 0140858
2022-09-08 14:16hgbotNote Added: 0140859
2022-09-08 16:21hgbotNote Added: 0140868
2022-09-08 16:21hgbotNote Added: 0140869

Notes
(0140658)
hgbot   
2022-09-05 03:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/30 [^]
(0140659)
hgbot   
2022-09-05 03:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.copyprocess.advancedwarehouseoperations/-/merge_requests/5 [^]
(0140858)
hgbot   
2022-09-08 14:16   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.copyprocess.advancedwarehouseoperations [^]
Changeset: 735359db041a89c57d8e274e487ed4150b29f3ab
Author: Prakash M <prakash@qualiantech.com>
Date: 01-09-2022 19:42:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.copyprocess.advancedwarehouseoperations/-/commit/735359db041a89c57d8e274e487ed4150b29f3ab [^]

Related to ISSUE-50086: Added logs to debug

---
M src/org/openbravo/copyprocess/advancedwarehouseoperations/process/CopyWarehouseProcess.java
M src/org/openbravo/copyprocess/advancedwarehouseoperations/process/DefaultPropertiesHandler.java
---
(0140859)
hgbot   
2022-09-08 14:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.copyprocess.advancedwarehouseoperations/-/merge_requests/5 [^]
(0140868)
hgbot   
2022-09-08 16:21   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore [^]
Changeset: 2c123a4cc362e783fbf0090fb8bc47d98d8dcd74
Author: Prakash M <prakash@qualiantech.com>
Date: 08-09-2022 19:48:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/commit/2c123a4cc362e783fbf0090fb8bc47d98d8dcd74 [^]

Related to ISSUE-50086: Added logs to debug

---
M src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
---
(0140869)
hgbot   
2022-09-08 16:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/30 [^]