Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0015984 | Openbravo ERP | 02. Master data management | public | 2011-02-15 12:06 | 2011-03-16 19:10 | ||||||||||||||
Reporter | jonalegriaesarte | ||||||||||||||||||
Assigned To | adrianromero | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | 2.50MP26 | ||||||||||||||||||
Target Version | 2.50MP27 | Fixed in Version | 2.50MP28 | ||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | OBPS | ||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0015984: When importing POS orders and in some special conditions some orders are created to one order in the temporal table (i_order) | ||||||||||||||||||
Description | When importing POS orders and in some special conditions some orders are created to one order in the temporal table (i_order). It could happen that data are not sorted correctly and if there are two lines for the same order, another order could appear between these lines and two orders are generated to the same order. For example: Order1 Documentno: 1 Order2 Documentno: 2 Order2 Documentno: 2 Order1 Documentno: 1 | ||||||||||||||||||
Steps To Reproduce | - Master Data Management || Import Data || Import Orders - Import 1000 lines (500 different orders) - Some orders are created to one POS order in table i_order (we can provide a database to reproduce the problem) | ||||||||||||||||||
Proposed Solution | The problem is in method selectNotImported in src/org/openbravo/erpCommon/ad_process/ImportOrder_data.xsql. Actually the order by is: Order by dateordered, documentno,.... and i think that it should be: Order by ad_client_id, documentno, dateordered,.... | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2011-02-15 12:06 | jonalegriaesarte | New Issue | |||||||||||||||||
2011-02-15 12:06 | jonalegriaesarte | Assigned To | => adrianromero | ||||||||||||||||
2011-02-15 12:06 | jonalegriaesarte | Modules | => Core | ||||||||||||||||
2011-02-15 12:06 | jonalegriaesarte | OBNetwork customer | => Yes | ||||||||||||||||
2011-02-15 12:54 | jonalegriaesarte | Issue Monitored: networkb | |||||||||||||||||
2011-03-15 14:39 | adrianromero | Relationship added | related to 0011926 | ||||||||||||||||
2011-03-15 14:40 | adrianromero | Status | new => scheduled | ||||||||||||||||
2011-03-15 14:40 | adrianromero | Type | defect => backport | ||||||||||||||||
2011-03-15 14:41 | adrianromero | Issue cloned | 0016308 | ||||||||||||||||
2011-03-15 14:41 | adrianromero | Relationship added | depends on 0016308 | ||||||||||||||||
2011-03-15 14:43 | hgbot | Checkin | |||||||||||||||||
2011-03-15 14:43 | hgbot | Note Added: 0034886 | |||||||||||||||||
2011-03-15 14:43 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2011-03-15 14:43 | hgbot | Resolution | open => fixed | ||||||||||||||||
2011-03-15 14:43 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/0bf90dbd4f3403e8454e9356aa5720b940440a9a [^] | ||||||||||||||||
2011-03-15 14:47 | adrianromero | Note Added: 0034888 | |||||||||||||||||
2011-03-16 19:10 | jonalegriaesarte | Note Added: 0034967 | |||||||||||||||||
2011-03-16 19:10 | jonalegriaesarte | Status | resolved => closed | ||||||||||||||||
2011-03-16 19:10 | jonalegriaesarte | Fixed in Version | => 2.50MP28 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|