Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040780 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 09. Financial management | minor | have not tried | 2019-04-09 20:31 | 2019-05-08 08:34 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | nonofrancisco | |||||||
Priority | normal | Resolution | invalid | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 3.0PR18Q4.4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040780: AcctServer.isConveritble is not using bind-parameters | |||||||
Description | 4 cases in this methods are not using bind-parameters conversionQuery = OBDal.getInstance() .createQuery(ConversionRateDoc.class, "invoice = '" + Record_ID + "' and currency='" + currency + "' and toCurrency='" + acctSchema.m_C_Currency_ID + "'"); } else if (AD_Table_ID.equals(TABLEID_Payment)) { conversionQuery = OBDal.getInstance() .createQuery(ConversionRateDoc.class, "payment = '" + Record_ID + "' and currency='" + currency + "' and toCurrency='" + acctSchema.m_C_Currency_ID + "'"); } else if (AD_Table_ID.equals(TABLEID_Transaction)) { conversionQuery = OBDal.getInstance() .createQuery(ConversionRateDoc.class, "financialAccountTransaction = '" + Record_ID + "' and currency='" + currency + "' and toCurrency='" + acctSchema.m_C_Currency_ID + "'"); } else if (AD_Table_ID.equals(TABLEID_GLJournal)) { conversionQuery = OBDal.getInstance() .createQuery(ConversionRateDoc.class, "journalEntry = '" + Record_ID + "' and currency='" + currency + "' and toCurrency='" + acctSchema.m_C_Currency_ID + "'"); | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2019-05-04 19:12 | nonofrancisco | Type | defect => backport |
2019-05-04 19:12 | nonofrancisco | Target Version | => 3.0PR18Q4.4 |
2019-05-08 08:34 | Sandrahuguet | Status | scheduled => closed |
2019-05-08 08:34 | Sandrahuguet | Resolution | open => invalid |
2019-05-12 16:00 | nonofrancisco | Relationship deleted | blocks 0040560 |
Copyright © 2000 - 2009 MantisBT Group |