Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013754Openbravo ERP02. Master data managementpublic2010-06-23 17:282010-12-22 00:00
XpandIT_ALino 
adrianromero 
normalmajoralways
closedduplicate 
102008
2.50MP18 
 
Core
No
0013754: Error when importing Budgets
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
Import a .csv file with a budget.
Navigate to Master Data Management || Import Data || Import Budget || Import Budget.
Hit the Import Budget button.
No tags attached.
duplicate of defect 00152022.50MP25 closed adrianromero Import Budget failure 
csv budget.csv (299) 2010-06-23 17:28
https://issues.openbravo.com/file_download.php?file_id=2708&type=bug
Issue History
2010-06-23 17:28XpandIT_ALinoNew Issue
2010-06-23 17:28XpandIT_ALinoAssigned To => adrianromero
2010-06-23 17:28XpandIT_ALinoFile Added: budget.csv
2010-11-16 14:25networkbRelationship addedrelated to 0015202
2010-12-21 13:49adrianromeroRelationship replacedduplicate of 0015202
2010-12-21 13:49adrianromeroStatusnew => closed
2010-12-21 13:49adrianromeroResolutionopen => duplicate
2010-12-22 00:00anonymoussf_bug_id0 => 3141451

There are no notes attached to this issue.