Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018268Openbravo ERP02. Master data managementpublic2011-08-12 10:322011-08-22 17:22
adrianromero 
adrianromero 
urgentmajorrandom
closedfixed 
5
2.50MP32 
2.50MP332.50MP33 
OBPS
Core
12282
No
0018268: When syncrhonizing a and processing orders at the same time orders are not properly imported
When launching at the same time the job that imports orders in I_ORDER and the process of orders imported, some sales orders are processed as purchase orders and there is a difference in the total in sales reports in ERP and POS.

The reason is that the import order process is divided in two transactions one that fixes and fills in missed data in I_ORDER and two that actually imports and processed the orders.

The problem here is that when starting the second transaction the process is taking orders that has been synchronized during the first transaction and has not been fixed / filled in.
Launch the import orders job and the process of orders several times at the same time.
The solution is when synchronizing order, fill in properly all the changes and do not give any responsibility to the first transaction.
No tags attached.
related to backport 0018158 closed adrianromero When syncrhonizing a and processing orders at the same time orders are not properly imported 
depends on defect 0018269 closed adrianromero When syncrhonizing a and processing orders at the same time orders are not properly imported 
Issue History
2011-08-12 10:32adrianromeroNew Issue
2011-08-12 10:32adrianromeroAssigned To => adrianromero
2011-08-12 10:32adrianromeroModules => Core
2011-08-12 10:32adrianromeroOBNetwork customer => Yes
2011-08-12 10:32adrianromeroSupport ticket => 12282
2011-08-12 10:32adrianromeroIssue generated from0018158
2011-08-12 10:32adrianromeroRelationship addedrelated to 0018158
2011-08-12 10:33adrianromeroIssue cloned0018269
2011-08-12 10:33adrianromeroRelationship addeddepends on 0018269
2011-08-12 10:33adrianromeroStatusnew => scheduled
2011-08-12 10:33adrianromerofix_in_branch => pi
2011-08-12 11:12hgbotCheckin
2011-08-12 11:12hgbotNote Added: 0040147
2011-08-12 11:12hgbotStatusscheduled => resolved
2011-08-12 11:12hgbotResolutionopen => fixed
2011-08-12 11:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.pos.sync/rev/fad675f053424785a7abf9393d9f1fb8028b69f6 [^]
2011-08-22 17:22jonalegriaesarteNote Added: 0040391
2011-08-22 17:22jonalegriaesarteStatusresolved => closed
2011-08-22 17:22jonalegriaesarteFixed in Version => 2.50MP33

Notes
(0040147)
hgbot   
2011-08-12 11:12   
Repository: erp/pmods/org.openbravo.pos.sync
Changeset: fad675f053424785a7abf9393d9f1fb8028b69f6
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Aug 12 11:11:05 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.pos.sync/rev/fad675f053424785a7abf9393d9f1fb8028b69f6 [^]

Fixes issue Fixes issue 0018268: When syncrhonizing a and processing orders at the same time orders are not properly imported

---
M src/org/openbravo/pos/sync/rest/UploadOrderProcess.java
---
(0040391)
jonalegriaesarte   
2011-08-22 17:22   
Verified