Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018269
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajorrandom2011-08-12 10:332012-06-15 13:32
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revision0127ac8080e0
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018269: When syncrhonizing a and processing orders at the same time orders are not properly imported

DescriptionWhen 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.
Steps To ReproduceLaunch the import orders job and the process of orders several times at the same time.
Proposed SolutionThe solution is when synchronizing order, fill in properly all the changes and do not give any responsibility to the first transaction.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks backport 00182682.50MP33 closedadrianromero When syncrhonizing a and processing orders at the same time orders are not properly imported 

-  Notes
(0040145)
hgbot (developer)
2011-08-12 11:00

Repository: erp/pmods/org.openbravo.pos.sync
Changeset: 0127ac8080e023336da4eca0b755800ac38cfea3
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Aug 12 10:59:01 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.pos.sync/rev/0127ac8080e023336da4eca0b755800ac38cfea3 [^]

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

---
M src/org/openbravo/pos/sync/rest/UploadOrderProcess.java
---
(0049854)
guilleaer (developer)
2012-06-15 13:32

code reviewed and tested

- Issue History
Date Modified Username Field Change
2011-08-12 10:33 adrianromero New Issue
2011-08-12 10:33 adrianromero Assigned To => adrianromero
2011-08-12 10:33 adrianromero Modules => Core
2011-08-12 10:33 adrianromero Issue generated from 0018268
2011-08-12 10:33 adrianromero Relationship added blocks 0018268
2011-08-12 10:33 adrianromero Status new => scheduled
2011-08-12 10:33 adrianromero fix_in_branch => pi
2011-08-12 11:00 hgbot Checkin
2011-08-12 11:00 hgbot Note Added: 0040145
2011-08-12 11:00 hgbot Status scheduled => resolved
2011-08-12 11:00 hgbot Resolution open => fixed
2011-08-12 11:00 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.pos.sync/rev/0127ac8080e023336da4eca0b755800ac38cfea3 [^]
2012-06-15 13:32 guilleaer Note Added: 0049854
2012-06-15 13:32 guilleaer Status resolved => closed
2012-06-15 13:32 guilleaer Fixed in Version => pi


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker