Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010427 | Openbravo ERP | 09. Financial management | public | 2009-08-28 13:21 | 2009-10-06 11:50 |
| Reporter | dalsasua | ||||
| Assigned To | eduardo_Argal | ||||
| Priority | high | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 20 | OS Version | Ubuntu 8.04Hardy | |
| Product Version | pi | ||||
| Target Version | pi | Fixed in Version | 2.50MP6 | ||
| 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 | 0010427: Purchase Invoices do not include c_tax_id value when being posted | ||||
| Description | Purchase Invoices do not include c_tax_id value when being posted. This is a problem because non of the tax reports will be reliable. | ||||
| Steps To Reproduce | Create a purchase invoice Add products with taxes Post it Check in database that none of the lines of the entry contain value for c_tax_id column | ||||
| Proposed Solution | For sales invoices is working fine. In DocInvoice.java, createFact function, exists this piece of code, when invoice to be posted is a sales invoice: // TaxDue CR for (int i = 0; m_taxes != null && i < m_taxes.length; i++) { //New docLine created to assign C_Tax_ID value to the entry DocLine docLine = new DocLine(DocumentType, Record_ID, ""); docLine.m_C_Tax_ID = m_taxes[i].m_C_Tax_ID; fact.createLine(docLine, m_taxes[i].getAccount(DocTax.ACCTTYPE_TaxDue, as, conn), C_Currency_ID, "", m_taxes[i].m_amount, Fact_Acct_Group_ID, nextSeqNo(SeqNo), DocumentType, conn); } and this code when the invoice is a purchase invoice: // TaxCredit DR for (int i = 0; m_taxes != null && i < m_taxes.length; i++) fact.createLine(null, m_taxes[i].getAccount(DocTax.ACCTTYPE_TaxCredit, as, conn), this.C_Currency_ID, m_taxes[i].getAmount(), "", Fact_Acct_Group_ID, nextSeqNo(SeqNo), DocumentType, conn); It seems that in the second case, value taxes[i].m_C_Tax_ID is not provided to createLine function. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-08-28 13:21 | dalsasua | New Issue | |||
| 2009-08-28 13:21 | dalsasua | Assigned To | => rafaroda | ||
| 2009-08-28 13:21 | dalsasua | OBNetwork customer | => No | ||
| 2009-08-28 13:22 | dalsasua | Assigned To | rafaroda => eduardo_Argal | ||
| 2009-08-28 15:02 | rafaroda | Priority | normal => high | ||
| 2009-08-28 15:02 | rafaroda | Status | new => scheduled | ||
| 2009-08-28 15:02 | rafaroda | version | => pi | ||
| 2009-09-21 11:55 | hgbot | Checkin | |||
| 2009-09-21 11:55 | hgbot | Note Added: 0020229 | |||
| 2009-09-21 11:55 | hgbot | Status | scheduled => resolved | ||
| 2009-09-21 11:55 | hgbot | Resolution | open => fixed | ||
| 2009-09-21 11:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/53d4c9a705d1b5c6b8ad346fb5acc840d8d7d747 [^] | ||
| 2009-09-22 12:02 | psarobe | Status | resolved => closed | ||
| 2009-09-22 12:02 | psarobe | Note Added: 0020262 | |||
| 2009-09-22 12:02 | psarobe | Fixed in Version | => 2.50MP6 | ||
| 2009-09-23 00:00 | anonymous | sf_bug_id | 0 => 2864615 | ||
| 2009-09-29 14:14 | hgbot | Checkin | |||
| 2009-09-29 14:14 | hgbot | Note Added: 0020487 | |||
| 2009-09-29 14:14 | hgbot | Status | closed => resolved | ||
| 2009-09-29 14:14 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/53d4c9a705d1b5c6b8ad346fb5acc840d8d7d747 [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/53d4c9a705d1b5c6b8ad346fb5acc840d8d7d747 [^] | ||
| 2009-10-06 11:50 | psarobe | Status | resolved => closed | ||
| 2009-10-06 11:50 | psarobe | Note Added: 0020769 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||