Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007276Openbravo ERP03. Procurement managementpublic2009-01-30 16:152009-05-21 16:40
Hennadzi 
Hennadzi 
normalminoralways
closedfixed 
5
 
2.402.40MP3 
Core
No
0007276: 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 "Process failed during execution". 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
comsup_sprint5
depends on defect 0005100 closed Hennadzi Purchase Order -> Copy From Order does not give good error message when tax setup is missing for current org 
Issue History
2009-01-30 16:15HennadziNew Issue
2009-01-30 16:15HennadziAssigned To => Hennadzi
2009-01-30 16:15HennadziRegression testing => No
2009-01-30 16:16HennadziStatusnew => scheduled
2009-01-30 16:16Hennadzifix_in_branch => trunk
2009-01-30 16:17HennadziRelationship addeddepends on 0005100
2009-01-30 16:27svnbotCheckin
2009-01-30 16:27svnbotNote Added: 0012923
2009-01-30 16:27svnbotStatusscheduled => resolved
2009-01-30 16:27svnbotResolutionopen => fixed
2009-01-30 16:27svnbotsvn_revision => 12566
2009-02-02 15:37HennadziTag Attached: comsup_sprint5
2009-05-21 16:40psarobeStatusresolved => closed

Notes
(0012923)
svnbot   
2009-01-30 16:27   
Repository: openbravo
Revision: 12566
Author: hennadzi
Date: 2009-01-30 16:27:30 +0100 (Fri, 30 Jan 2009)

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

---
U branches/r2.40/src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java
---

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