Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0014699 | Openbravo ERP | 09. Financial management | public | 2010-09-24 18:27 | 2010-12-22 00:00 | |||||||
Reporter | stalker | |||||||||||
Assigned To | dalsasua | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | duplicate | |||||||||
Platform | OS | 30 | OS Version | 2.6.27-11-generic | ||||||||
Product Version | 2.50MP20 | |||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0014699: Import budget process fails | |||||||||||
Description | Process ImportBudget fails with claim from Postgres... incompatible arguments for COALESCE.... | |||||||||||
Steps To Reproduce | Export buget in Excel, edit it, save to CSV, import file in "Master Data Management || Import Data || Import File Loader || Import File Loader", then open any line in "Master Data Management || Import Data || Import Budget || Import Budget" and click "Import Budget" | |||||||||||
Proposed Solution | apply patch to ImportBudget_data.xsql: 571,582c571,582 < 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') --- > 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) | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ReportBudgetGenerateExcelXLS.ods (15,669) 2010-09-24 18:34 https://issues.openbravo.com/file_download.php?file_id=3123&type=bug ReportBudgetGenerateExcelXLS.csv (2,021) 2010-09-24 18:35 https://issues.openbravo.com/file_download.php?file_id=3124&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2010-09-24 18:27 | stalker | New Issue | ||||||||||
2010-09-24 18:27 | stalker | Assigned To | => dalsasua | |||||||||
2010-09-24 18:30 | stalker | Note Added: 0031355 | ||||||||||
2010-09-24 18:32 | stalker | Note Edited: 0031355 | bug_revision_view_page.php?bugnote_id=0031355#r926 | |||||||||
2010-09-24 18:34 | stalker | File Added: ReportBudgetGenerateExcelXLS.ods | ||||||||||
2010-09-24 18:35 | stalker | File Added: ReportBudgetGenerateExcelXLS.csv | ||||||||||
2010-09-24 18:41 | stalker | Note Edited: 0031355 | bug_revision_view_page.php?bugnote_id=0031355#r927 | |||||||||
2010-09-27 12:15 | Xpand-IT | Issue Monitored: Xpand-IT | ||||||||||
2010-11-16 14:24 | 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 => 3141452 |
Notes | |||||
|
|||||
|
|