Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007201Openbravo ERPJ. Demo datapublic2009-01-28 16:362009-02-17 13:00
egoitz 
gmauleon 
normalminoralways
closedno change required 
30
2.40 
 
Core
No
0007201: 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
depends on backport 0007282 closed gmauleon The tax payment window does not work with standard tax using sampledata 
Issue History
2009-01-28 16:36networkbNew Issue
2009-01-28 16:36networkbAssigned To => rafaroda
2009-01-28 16:36networkbsf_bug_id0 => 2543248
2009-01-28 16:36networkbRegression testing => No
2009-01-28 18:03networkbReporternetworkb => egoitz
2009-01-28 18:03networkbPriorityimmediate => normal
2009-01-28 18:04psarobeSummaryThe tax payment window does not work with standard tax => The tax payment window does not work with standard tax using sampledata
2009-01-28 18:15networkbSteps to Reproduce Updated
2009-01-30 16:36psarobeStatusnew => scheduled
2009-01-30 16:36psarobefix_in_branch => trunk
2009-02-16 10:07gmauleonAssigned Torafaroda => gmauleon
2009-02-17 12:55gmauleonStatusscheduled => closed
2009-02-17 12:55gmauleonResolutionopen => no change required
2009-02-17 13:00gmauleonNote Added: 0013565
2009-02-17 16:35gmauleonTag Attached: commsup_sprint6

Notes
(0013565)
gmauleon   
2009-02-17 13:00   
Also the column istaxundeductable should be set up with default value 'N'