Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005100Openbravo ERP03. Procurement managementpublic2008-09-18 12:112009-03-03 11:55
shuehner 
Hennadzi 
normalminoralways
closedfixed 
5
pi 
pi 
Core
No
0005100: Purchase Order -> Copy From Order does not give good error message when tax setup is missing for current org
If you copy from Order in a different org and your current (target-org) has no valid tax-setup the process fails with a user-visible error message of "ProcessRunError". In the log you can see a n sql-error related to c_tax_id violating a not-null constraint.
create a new purchase order (i.e. in org A in sample data)
copy from order
-> process fails
Check if the returned tax_id is null or "" in CopyFromPOOrder after the
String strCTaxID = Tax.get(
and give a meaningfull error-message to the user
No tags attached.
blocks backport 00072762.40 closed Hennadzi Purchase Order -> Copy From Order does not give good error message when tax setup is missing for current org 
Issue History
2008-09-18 12:11shuehnerNew Issue
2008-09-18 12:11shuehnerAssigned To => cromero
2008-09-18 12:11shuehnersf_bug_id0 => 2117632
2008-09-18 12:11shuehnerRegression testing => No
2008-09-18 12:12shuehnerNote Added: 0009072
2008-09-22 10:38cromeroStatusnew => scheduled
2008-09-22 10:38cromeroAssigned Tocromero => Hennadzi
2008-09-22 10:38cromerofix_in_branch => trunk
2008-12-15 10:03svnbotCheckin
2008-12-15 10:03svnbotNote Added: 0011349
2008-12-15 10:03svnbotStatusscheduled => resolved
2008-12-15 10:03svnbotResolutionopen => fixed
2008-12-15 10:03svnbotsvn_revision => 11191
2009-01-30 16:17HennadziRelationship addedblocks 0007276
2009-03-03 11:55sureshbabuStatusresolved => closed
2009-03-03 11:55sureshbabuNote Added: 0014287
2009-03-03 11:55sureshbabuFixed in Version => trunk

Notes
(0009072)
shuehner   
2008-09-18 12:12   
This problem does also affect (at least) 2.40
(0011349)
svnbot   
2008-12-15 10:03   
Repository: openbravo
Revision: 11191
Author: hennadzi
Date: 2008-12-15 10:03:22 +0100 (Mon, 15 Dec 2008)

Fixed bug 0005100: Purchase Order -> Copy From Order does not give good error message when tax setup is missing for current org

---
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11191&sc=1 [^]
(0014287)
sureshbabu   
2009-03-03 11:55   
Retested in context http://79.125.56.185/openbravotrunk [^]