Openbravo Issue Tracking System - Openbravo ERP  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0005100 | Openbravo ERP | 03. Procurement management | public | 2008-09-18 12:11 | 2009-03-03 11:55 | 
  | 
| Reporter | shuehner |   | 
| Assigned To | Hennadzi |   | 
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version | pi |   | 
| Target Version |  | Fixed in Version | pi |   | 
| Merge Request Status |  | 
| Review Assigned To |  | 
| OBNetwork customer | No | 
| Web browser |  | 
| Modules | Core | 
| Support ticket |  | 
| Regression level |  | 
| Regression date |  | 
| Regression introduced in release |  | 
| Regression introduced by commit |  | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0005100: Purchase Order -> Copy From Order does not give good error message when tax setup is missing for current org | 
| Description | 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. | 
| Steps To Reproduce | create a new purchase order (i.e. in org A in sample data) 
copy from order 
-> process fails | 
| Proposed Solution | 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 
 | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | blocks  | backport  | 0007276 | 2.40  | closed  | Hennadzi  | Purchase Order -> Copy From Order does not give good error message when tax setup is missing for current org  |  
  | 
| Attached Files |  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2008-09-18 12:11 | shuehner | New Issue |  | 
| 2008-09-18 12:11 | shuehner | Assigned To |  => cromero | 
| 2008-09-18 12:11 | shuehner | sf_bug_id | 0 => 2117632 | 
| 2008-09-18 12:11 | shuehner | OBNetwork customer |  => No | 
| 2008-09-18 12:11 | shuehner | Regression testing |  => No | 
| 2008-09-18 12:12 | shuehner | Note Added: 0009072 |  | 
| 2008-09-22 10:38 | cromero | Status | new => scheduled | 
| 2008-09-22 10:38 | cromero | Assigned To | cromero => Hennadzi | 
| 2008-09-22 10:38 | cromero | fix_in_branch |  => trunk | 
| 2008-12-15 10:03 | svnbot | Checkin |  | 
| 2008-12-15 10:03 | svnbot | Note Added: 0011349 |  | 
| 2008-12-15 10:03 | svnbot | Status | scheduled => resolved | 
| 2008-12-15 10:03 | svnbot | Resolution | open => fixed | 
| 2008-12-15 10:03 | svnbot | svn_revision |  => 11191 | 
| 2009-01-30 16:17 | Hennadzi | Relationship added | blocks 0007276 | 
| 2009-03-03 11:55 | sureshbabu | Status | resolved => closed | 
| 2009-03-03 11:55 | sureshbabu | Note Added: 0014287 |  | 
| 2009-03-03 11:55 | sureshbabu | Fixed in Version |  => trunk |