Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019259
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Localization Pack: Spain] AEAT 349majoralways2011-12-07 11:552012-09-24 11:56
ReportermalsasuaView Statuspublic 
Assigned Tojecharri 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionfc46dde9d267
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0019259: wrong format file when a business partner has got several invoices but the total amount is zero

Descriptionwhen a business partner has got several purchase invoices but the total amount is zero, and the same business parther has got sales invoices with total amount higher than 3000 euros, the format file is wrong, because the number of EU vendors/suppliers is wrong
Steps To Reproduce. create purchase invoice:
 bp: bebidas alegres
 date invoice: 07/12/2011
 line:
  qty: 1
  price: 10.000 eurs
  tax: Adquisiciones intracomunitarias 8%
 . total amount of invoice is 10.000 euros
process and post

. create other purchase invoice:
 bp: bebidas alegres
 date invoice: 07/12/2011
 line:
  qty: -1
  price: 10.000 eurs
  tax: Adquisiciones intracomunitarias 8%
 . total amount of invoice is -10.000 euros

. create sales invoice:
 bp: bebidas alegres
 date invoice: 07/12/2011
 line:
  qty: 1
  price: 15.000 eurs
  tax: Entregas intracomunitarias (%N=>0%)
 . total amount of invoice is 15.000 euros

. run tax report launcher:
 mod 349 Mensual v.2010
 period Dec-2011

the file generated, in the character 147, the value is 2, but it should be 1

I attach a sample file
  
TagsNo tags attached.
Attached Filestxt file icon sample.txt [^] (1,002 bytes) 2011-12-07 11:57 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0044169)
hgbot (developer)
2012-01-10 12:28

Repository: erp/pmods/org.openbravo.module.aeat349.es
Changeset: b2fdab71074d2f341e24863f739219dd568efdcd
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jan 10 12:26:01 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat349.es/rev/b2fdab71074d2f341e24863f739219dd568efdcd [^]

Fixes issue 19259: wrong format file.
The problem was that the application sum all the BP for sales and purchases and it doesn't have account if the same BP appear in sales and purchases

---
M src/org/openbravo/module/aeat349/es/AEAT3492010Report.java
---
(0048731)
hgbot (developer)
2012-05-17 13:37

Repository: erp/pmods/org.openbravo.module.aeat349.es
Changeset: fc46dde9d26749b617ae1f7674d6721c59207b9e
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu May 17 13:37:22 2012 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat349.es/rev/fc46dde9d26749b617ae1f7674d6721c59207b9e [^]

Fixes issue 19259: wrong format file
when a business partner has got several invoices but the total amount is zero.
Now it is correctly fixed. Now when the process count the number of BP take into account operations with 0 and it does not count it.
Apart from that if one BP appear in two operation with different key operation are count as 2 differents BP's.

---
M src/org/openbravo/module/aeat349/es/AEAT3492010Report.java
---
(0051845)
jecharri (developer)
2012-09-04 18:27

Test plan:
-Steps to reproduce
(0052312)
malsasua (developer)
2012-09-24 11:56

version 1.1.8
test revision:
 . functionality:
  steps to reproduce -> OK
 . code revision: -> OK

- Issue History
Date Modified Username Field Change
2011-12-07 11:55 malsasua New Issue
2011-12-07 11:55 malsasua Assigned To => jonalegriaesarte
2011-12-07 11:57 malsasua File Added: sample.txt
2011-12-07 11:57 malsasua Issue Monitored: networkb
2012-01-03 17:02 jonalegriaesarte Assigned To jonalegriaesarte => dalsasua
2012-01-10 09:24 jonalegriaesarte Assigned To dalsasua => jecharri
2012-01-10 09:24 jonalegriaesarte Priority urgent => immediate
2012-01-10 12:28 hgbot Checkin
2012-01-10 12:28 hgbot Note Added: 0044169
2012-01-10 12:28 hgbot Status new => resolved
2012-01-10 12:28 hgbot Resolution open => fixed
2012-01-10 12:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat349.es/rev/b2fdab71074d2f341e24863f739219dd568efdcd [^]
2012-05-17 13:37 hgbot Checkin
2012-05-17 13:37 hgbot Note Added: 0048731
2012-05-17 13:37 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat349.es/rev/b2fdab71074d2f341e24863f739219dd568efdcd [^] => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat349.es/rev/fc46dde9d26749b617ae1f7674d6721c59207b9e [^]
2012-09-04 18:27 jecharri Note Added: 0051845
2012-09-24 11:56 malsasua Note Added: 0052312
2012-09-24 11:56 malsasua Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker