Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0015984 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 02. Master data management | major | always | 2011-02-15 12:06 | 2011-03-16 19:10 | |||
Reporter | jonalegriaesarte | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 2.50MP28 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 0bf90dbd4f34 | ||||
Projection | none | ETA | none | Target Version | 2.50MP27 | |||
OS | Any | Database | PostgreSQL | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP26 | SCM revision | ||||||
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,.... | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0034886) hgbot (developer) 2011-03-15 14:43 |
Repository: erp/stable/2.50 Changeset: 0bf90dbd4f3403e8454e9356aa5720b940440a9a Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Tue Mar 15 14:42:36 2011 +0100 URL: http://code.openbravo.com/erp/stable/2.50/rev/0bf90dbd4f3403e8454e9356aa5720b940440a9a [^] Fixes issue 0015984: When importing POS orders and in some special conditions some orders are created to one order in the temporal table (i_order) It has been modified the order of fields in the ORDER BY clause to order first by document number. --- M src/org/openbravo/erpCommon/ad_process/ImportOrder_data.xsql --- |
(0034888) adrianromero (viewer) 2011-03-15 14:47 |
* Testing the issue Follow the steps to test and verify that now only two orders are created instead of three. Verify also that the related issue 11926 works as expected. * Areas affected No other areas affected. Just the Import orders process has been modified. |
(0034967) jonalegriaesarte (viewer) 2011-03-16 19:10 |
Verified |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |