Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0007923 | Openbravo ERP | 03. Procurement management | public | 2009-03-03 18:10 | 2009-03-18 11:03 | |||||||
Reporter | networkb | |||||||||||
Assigned To | alostale | |||||||||||
Priority | immediate | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | no change required | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | 2.40 | |||||||||||
Target Version | 2.40 | 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 | 0007923: Error applaying validation on c_tax_id field from Invoice line tab in Purchase Invoice window | |||||||||||
Description | The c_tax_id column in the c_invoiceLine table has a validation from a check box. When the check box is not checked (by default), the tax combo shows the taxes checked in c_tax as ISTAXUNDEDUCTABLE = 'Y' (as it is indicated in the validation). When the check is checked, the tax combo shows the taxes checked in c_tax as ISTAXUNDEDUCTABLE = 'N' (as it is indicated in the validation too). The problem comes when the check box is uncheked again because the tax combo shows not taxes at all. However when the check box is rechecked the tax combo shows correctly the c_tax marked as ISTAXUNDEDUCTABLE = 'N'. So, the problem appears when the check box is not checked and it has been checked before | |||||||||||
Steps To Reproduce | To create a column in c_invoiceline as char (1byte), as not nullable and 'N' as default value. To define the column and the field in Openbravo. To insert a validation (or modify the table validation of the table reference) in the c_tax_id field of the c_invoiceline table. I have tried different equivalent validations but the result is always the same. I write some of the examples: Ej 1.- c_tax.ISTAXUNDEDUCTABLE <> @cus_isdeductible@ Ej 2.- (c_tax.c_tax_id in (select c_tax_id from c_tax where c_tax.ISTAXUNDEDUCTABLE <> @cus_isdeductible@)) Ej 3.- ((c_tax.ISTAXUNDEDUCTABLE ='N' and @cus_isdeductible@ = 'Y') OR (c_tax.ISTAXUNDEDUCTABLE = 'Y' and @cus_isdeductible@<>'Y')) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2009-03-03 18:10 | networkb | New Issue | ||||||||||
2009-03-03 18:10 | networkb | Assigned To | => rafaroda | |||||||||
2009-03-03 18:10 | networkb | Regression testing | => No | |||||||||
2009-03-03 18:19 | rafaroda | Priority | normal => immediate | |||||||||
2009-03-04 09:26 | rafaroda | Type | backport => defect | |||||||||
2009-03-04 16:43 | rafaroda | Assigned To | rafaroda => alostale | |||||||||
2009-03-04 16:43 | rafaroda | Status | new => acknowledged | |||||||||
2009-03-05 10:42 | alostale | Note Added: 0014426 | ||||||||||
2009-03-05 10:43 | alostale | Note Edited: 0014426 | ||||||||||
2009-03-05 10:43 | alostale | Relationship added | related to 0007964 | |||||||||
2009-03-05 10:44 | alostale | Status | acknowledged => scheduled | |||||||||
2009-03-05 10:44 | alostale | fix_in_branch | => pi | |||||||||
2009-03-05 10:44 | alostale | Status | scheduled => feedback | |||||||||
2009-03-05 11:09 | networkb | Note Added: 0014429 | ||||||||||
2009-03-06 16:42 | alostale | Status | feedback => closed | |||||||||
2009-03-06 16:42 | alostale | Note Added: 0014487 | ||||||||||
2009-03-06 16:42 | alostale | Resolution | open => no change required | |||||||||
2009-03-18 11:03 | anonymous | sf_bug_id | 0 => 2691456 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|