Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007524Openbravo ERP02. Master data managementpublic2009-02-12 12:232009-05-01 00:00
AinhoaPagola 
Dowid 
normalminoralways
closedfixed 
20Ubuntu 8.4
pi 
pi 
Core
No
0007524: Import Order. Process Successful message and Warning displayed completing orders.
In the import Order process, after clicking the "Import Order" button and selecting the check box in the pop-up to complete and process the orders a "Process Successful" message is shown. In the same message a Warning is displayed. See attach. The orders are properly created (header & lines) and even completed.

But if you are in the header of the created order and try to access the line you get a "document processed" error. In the examples I have been trying, the form of payments changes from "cash" to "on credit".

Anyway, it is possible to access the lines by navigation from the import order windows link.
Also, it is possible to access the line by accessing it via Grid. That is: choose the header in grid view. Click the lines tab. You will get to the lines tab grid.
Follow this test case with the modification:
Change the currency of the example to be 102 in every line.

http://wiki.openbravo.com/wiki/QA_test_plan_2.50/Test_cases [^]

Then, go to Master Data Management -> Import Data -> Import Orders
Fill Price List field and press Import Orders button.
Mantain check the complete button (is checked by default).

You will get the success message with warning.
If you do not check the complete option, the orders are properly created and can be completed one by one with no problems.

Note that if the currency is different to 102 and the currency conversion is not defined the sales will not be completed. If this happends, the "import orders" button still shows success message, but it shouldn't.
Test this bug with every data with the same currency and later with different currencies.
main
related to defect 0007762 closed iperdomo Import Orders: Ordered date is not imported correctly 
related to defect 0007821 closed iperdomo Autosave process works with error for processed documents 
png ProcessResultWarning.png (59,624) 2009-02-23 17:04
https://issues.openbravo.com/file_download.php?file_id=920&type=bug
png
Issue History
2009-02-12 12:23AinhoaPagolaNew Issue
2009-02-12 12:23AinhoaPagolaAssigned To => Dowid
2009-02-12 12:23AinhoaPagolaRegression testing => No
2009-02-12 13:44DowidStatusnew => scheduled
2009-02-12 13:44Dowidfix_in_branch => trunk
2009-02-23 17:04rafarodaFile Added: ProcessResultWarning.png
2009-02-23 18:05miruritaNote Added: 0013968
2009-02-24 09:54DowidRelationship addedrelated to 0007762
2009-02-24 10:17svnbotCheckin
2009-02-24 10:17svnbotNote Added: 0013994
2009-02-24 10:17svnbotsvn_revision => 13577
2009-02-25 14:09OlyaRelationship addedrelated to 0007821
2009-02-27 10:15DowidNote Added: 0014127
2009-02-27 10:15DowidStatusscheduled => resolved
2009-02-27 10:15DowidFixed in Version => trunk
2009-02-27 10:15DowidResolutionopen => fixed
2009-04-22 11:24psarobeTag Attached: main
2009-04-30 18:43psarobeStatusresolved => closed
2009-05-01 00:00anonymoussf_bug_id0 => 2784640

Notes
(0013968)
mirurita   
2009-02-23 18:05   
The same error ("document processed") appear also going to Payment lines of the Sale Invoice generated.
(0013994)
svnbot   
2009-02-24 10:17   
Repository: openbravo
Revision: 13577
Author: dowid
Date: 2009-02-24 10:17:07 +0100 (Tue, 24 Feb 2009)

Issue 0007524: Import Order. Process Successful message and Warning displayed completing orders.
1) repaired try to access the line you get a "document processed"
2) repaired process result message

---
U trunk/src/org/openbravo/erpCommon/ad_process/COrderLine_data.xsql
U trunk/src/org/openbravo/erpCommon/ad_process/COrder_data.xsql
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=13577&sc=1 [^]
(0014127)
Dowid   
2009-02-27 10:15   
mirurita:

Your error is described in bug 0007821 Autosave process works with error for processed documents