Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005575Openbravo ERP02. Master data managementpublic2008-10-18 09:292008-12-11 13:11
rafaroda 
Dowid 
normalminoralways
closedfixed 
20Ubuntu 7.10
pi 
 
Core
No
0005575: 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.
blocks defect 0005574 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:29rafarodaStatusnew => scheduled
2008-10-23 13:03svnbotCheckin
2008-10-23 13:03svnbotNote Added: 0009708
2008-10-23 13:03svnbotStatusscheduled => resolved
2008-10-23 13:03svnbotResolutionopen => fixed
2008-10-23 13:03svnbotsvn_revision => 9089
2008-10-24 08:27svnbotCheckin
2008-10-24 08:27svnbotNote Added: 0009724
2008-10-24 08:27svnbotsvn_revision9089 => 9126
2008-12-11 13:11psarobeRegression testing => No
2008-12-11 13:11psarobeStatusresolved => closed
2009-02-02 16:29rafarodaNote Deleted: 0009724

Notes
(0009708)
svnbot   
2008-10-23 13:03   
Repository: openbravo
Revision: 9089
Author: dowid
Date: 2008-10-23 13:03:31 +0200 (Thu, 23 Oct 2008)

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

---
U branches/r2.40/src/org/openbravo/erpCommon/ad_process/ImportOrder.java
U branches/r2.40/src/org/openbravo/erpCommon/ad_process/ImportOrder_data.xsql
---

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