Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0013754 | Openbravo ERP | 02. Master data management | public | 2010-06-23 17:28 | 2010-12-22 00:00 | |||||||
| Reporter | XpandIT_ALino | |||||||||||
| Assigned To | adrianromero | |||||||||||
| Priority | normal | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | duplicate | |||||||||
| Platform | OS | 10 | OS Version | 2008 | ||||||||
| Product Version | 2.50MP18 | |||||||||||
| Target Version | Fixed in Version | |||||||||||
| 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 | 0013754: Error when importing Budgets | |||||||||||
| Description | Importing a .csv file with a budget works fine. Then when going to Master Data Management || Import Data || Import Budget || Import Budget even if it is possible see the imported data, an error is thrown when Import Budget button is pressed. [http-8380-7] ERROR org.openbravo.erpCommon.ad_process.ImportBudgetData - SQL error in query: UPDATE I_BudgetLine SET C_BudgetLine_ID=( SELECT MIN(C_BudgetLine_ID) FROM C_BudgetLine bl WHERE COALESCE(I_BudgetLine.C_ELEMENTVALUE_ID,-1) = COALESCE(bl.C_ELEMENTVALUE_ID,-1) AND COALESCE(I_BudgetLine.C_Period_ID,-1) = COALESCE(bl.C_Period_ID,-1) AND COALESCE(I_BudgetLine.C_Bpartner_ID,-1) = COALESCE(bl.C_Bpartner_ID,-1) AND COALESCE(I_BudgetLine.AD_OrgTrx_ID,-1) = COALESCE(bl.AD_OrgTrx_ID,-1) AND COALESCE(I_BudgetLine.C_SalesRegion_ID,-1) = COALESCE(bl.C_SalesRegion_ID,-1) AND COALESCE(I_BudgetLine.C_Project_ID,-1) = COALESCE(bl.C_Project_ID,-1) AND COALESCE(I_BudgetLine.C_Campaign_ID,-1) = COALESCE(bl.C_Campaign_ID,-1) AND COALESCE(I_BudgetLine.C_Activity_ID,-1) = COALESCE(bl.C_Activity_ID,-1) AND COALESCE(I_BudgetLine.C_BP_Group_ID,-1) = COALESCE(bl.C_BP_Group_ID,-1) AND COALESCE(I_BudgetLine.M_Product_ID,-1) = COALESCE(bl.M_Product_ID,-1) AND COALESCE(I_BudgetLine.M_Product_Category_ID,-1) = COALESCE(bl.M_Product_Category_ID,-1) AND COALESCE(I_BudgetLine.C_Currency_ID,-1) = COALESCE(bl.C_Currency_ID,-1) AND bl.C_Budget_ID = ? AND bl.AD_Client_ID = I_BudgetLine.AD_Client_ID ) WHERE I_IsImported='N' AND AD_Client_ID = ?Exception:org.postgresql.util.PSQLException: ERROR: COALESCE types character varying and integer cannot be matched | |||||||||||
| Steps To Reproduce | Import a .csv file with a budget. Navigate to Master Data Management || Import Data || Import Budget || Import Budget. Hit the Import Budget button. | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=2708&type=bug | |||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2010-06-23 17:28 | XpandIT_ALino | New Issue | ||||||||||
| 2010-06-23 17:28 | XpandIT_ALino | Assigned To | => adrianromero | |||||||||
| 2010-06-23 17:28 | XpandIT_ALino | File Added: budget.csv | ||||||||||
| 2010-11-16 14:25 | networkb | Relationship added | related to 0015202 | |||||||||
| 2010-12-21 13:49 | adrianromero | Relationship replaced | duplicate of 0015202 | |||||||||
| 2010-12-21 13:49 | adrianromero | Status | new => closed | |||||||||
| 2010-12-21 13:49 | adrianromero | Resolution | open => duplicate | |||||||||
| 2010-12-22 00:00 | anonymous | sf_bug_id | 0 => 3141451 | |||||||||
| There are no notes attached to this issue. |