Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005574Openbravo ERP02. Master data managementpublic2008-10-18 09:292008-12-16 11:13
rafaroda 
Dowid 
normalminoralways
closedfixed 
20Ubuntu 7.10
pi 
 
Core
No
0005574: Imported Order header do not respect price list currency
When one import orders with their currency, the currency is correctly set in the lines but not in the header.
1) Make sure that you have a price list in EUR and another one in USD in 'Master Data Management || Pricing || Price List'
2) Import order following the steps in [1] adding an extra field to the import loader format named Currency, that points to CCurrencyId with type String. For the CSV, TXT file use the following data format:
AA875875875RRTT,Standard Order,bellphone,beer,100,10.5,102
AA875875875RRTT,Standard Order,bellphone,shirts,400,13.4,102
BB7747FFQQ,POS Order,Millman,beer,500,10.6,100
3) Go to the orders imported in 'Sales Management || Transactions || Sales Order'.

Notice that the header's currency do not corresponds with price list currency nor corresponds to lines' currency.

[1] http://wiki.openbravo.com/wiki/QA_test_plan_2.50/Test_cases [^]
Review the import process in order that it insert in the order header the same currency that in the lines, hence, the currency corresponding to the price list.
No tags attached.
depends on backport 0005575 closed Dowid Imported Order header do not respect price list currency 
Issue History
2008-10-18 09:29rafarodaNew Issue
2008-10-18 09:29rafarodaAssigned To => Dowid
2008-10-18 09:29rafarodasf_bug_id0 => 2176197
2008-10-18 09:29rafarodaRegression testing => No
2008-10-18 09:29rafarodaStatusnew => scheduled
2008-10-18 09:29rafarodafix_in_branch => trunk
2008-10-22 11:09svnbotCheckin
2008-10-22 11:09svnbotNote Added: 0009681
2008-10-22 11:09svnbotStatusscheduled => resolved
2008-10-22 11:09svnbotResolutionopen => fixed
2008-10-22 11:09svnbotsvn_revision => 9011
2008-10-23 12:02svnbotCheckin
2008-10-23 12:02svnbotNote Added: 0009700
2008-10-23 12:02svnbotsvn_revision9011 => 9066
2008-12-16 11:13psarobeStatusresolved => closed

Notes
(0009681)
svnbot   
2008-10-22 11:09   
Repository: openbravo
Revision: 9011
Author: dowid
Date: 2008-10-22 11:09:52 +0200 (Wed, 22 Oct 2008)

Fixed bug 0005574: Imported Order header do not respect price list currency

---
U trunk/src/org/openbravo/erpCommon/ad_process/ImportOrder.java
U trunk/src/org/openbravo/erpCommon/ad_process/ImportOrder_data.xsql
---

https://dev.openbravo.com/websvn/openbravo/?rev=9011&sc=1 [^]
(0009700)
svnbot   
2008-10-23 12:02   
Repository: openbravo
Revision: 9066
Author: dowid
Date: 2008-10-23 12:02:57 +0200 (Thu, 23 Oct 2008)

Fixed bug 0005574: Imported Order header do not respect price list currency

---
U trunk/src/org/openbravo/erpCommon/ad_process/ImportOrder.java
U trunk/src/org/openbravo/erpCommon/ad_process/ImportOrder_data.xsql
---

https://dev.openbravo.com/websvn/openbravo/?rev=9066&sc=1 [^]