Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007282Openbravo ERPJ. Demo datapublic2009-01-28 16:362009-03-05 10:11
egoitz 
gmauleon 
normalminoralways
closedfixed 
30
2.40 
2.40MP3 
Core
No
0007282: The tax payment window does not work with standard tax using sampledata
The tax payment does not work with tax defined in sampledata.

-Create and complete and invoice with a line with a product and a Tax
-Define a Tax register type with a line with the tax used in the previous invoice.
-Create a tax payment and try to create vat registers.
-You will get the following error: TaxCriteriaNotFound
The error in sample data is that isnovat column in the C_Tax table had null in all the taxes. Having this column with null you will get the error because in the source code the column is compared with N and never will match with it. See code between 158-170 lines in CreateVatRegisters.java file (action button).

If you modify a tax the process works because the isnovat column is filled automatically with N but notice that this field is not visible in the table.
commsup_sprint6
blocks defect 0007201 closed gmauleon The tax payment window does not work with standard tax using sampledata 
Issue History
2009-01-30 16:36psarobeTypedefect => backport
2009-01-30 16:36psarobefix_in_branch => 2.40
2009-02-16 10:07gmauleonAssigned Torafaroda => gmauleon
2009-02-17 15:46svnbotCheckin
2009-02-17 15:46svnbotNote Added: 0013575
2009-02-17 15:46svnbotStatusscheduled => resolved
2009-02-17 15:46svnbotResolutionopen => fixed
2009-02-17 15:46svnbotsvn_revision => 13277
2009-02-17 16:35gmauleonTag Attached: commsup_sprint6
2009-02-17 16:35gmauleonTag Attached: maintenances
2009-02-17 16:35gmauleonTag Detached: maintenances
2009-03-03 17:31psarobeFixed in Version => 2.40MP3
2009-03-05 10:11sureshbabuStatusresolved => closed
2009-03-05 10:11sureshbabuNote Added: 0014421

Notes
(0013575)
svnbot   
2009-02-17 15:46   
Repository: openbravo
Revision: 13277
Author: gmauleon
Date: 2009-02-17 15:46:40 +0100 (Tue, 17 Feb 2009)

Fixes 0007282: The tax payment window does not work with standard tax using sampledata

---
U branches/r2.40/src-db/database/sampledata/C_TAX.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=13277&sc=1 [^]
(0014421)
sureshbabu   
2009-03-05 10:11   
working fine, tested in context http://79.125.57.19/openbravo240mp3psg [^]