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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029075
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Localization Pack: Spain] AEAT 349majoralways2015-02-26 12:302015-11-12 13:40
ReporterpsanjuanView Statuspublic 
Assigned Tovmromanos 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision5d2a306f525f
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0029075: It should be possible to launch 349 tax form for an Organization having a Fiscal Calendar defined from i.e. July to June

DescriptionIt should be possible to launch 349 tax form for an Organization having a Fiscal Calendar defined from i.e. July to June
Steps To ReproduceAccess to fiscal calendar and define year 2015-2016 with periods from July 15 to June 16. Configure this calendar as Organization calendar by default.

Define also another calendar 2015 with periods from January 15 to December 15
Do the same for 2016.

Install 349 tax form module.

Navigate to tax report launcher and realize that Fiscal Calendar is not editable, therefore fiscal calendar from January 15 to December 15 can not be selected.
Proposed SolutionAccess to fiscal calendar and define year 2015-2016 with periods from July 15 to June 16

Define also another calendar 2015 with periods from January 15 to December 15

Do the same for 2016.

Install 349 tax form module.

Navigate to tax report launcher and realize that Fiscal Calendar is editable, therefore a fiscal calendar can be selected, regardless only one fiscal calendar can be assigned to the Organization.

Select the calendar starting from January to December and then select a period which can be a month, a quarter or even a year.

Verify that the data contained in 349 tax form is correct
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by design defect 0028040 closedvmromanos Modules It is not possible to obtain proper AEAT reports with Fiscal Calendar defined from July to June 

-  Notes
(0080884)
hgbot (developer)
2015-10-08 12:15

Repository: erp/pmods/org.openbravo.module.aeat349.es
Changeset: 5d2a306f525f7a1fa58668a8ec8eafbd15538d61
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Oct 08 12:12:43 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat349.es/rev/5d2a306f525f7a1fa58668a8ec8eafbd15538d61 [^]

Fixed bug 29075: Increased major dependency to Tax Report Launcher 1.1.0

Added periods in same year validation to old 349 report as a way to ensure it works fine with Tax Report Launcher 1.1.0.
The code already supports new calendar feature in TRL 1.1.0

---
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src/org/openbravo/module/aeat349/es/AEAT349Report.java
---
(0081753)
psanjuan (manager)
2015-11-12 13:13
edited on: 2015-11-13 11:51

Test Plan

Pre-requisites:

All test done for a new organization named "Fiscal Calendar" which do have related a fiscal calendar named "Fiscal Calendar June_May" for which two years have been created:
2014 - this year has periods from June 2014 to May 2015
2015 - this year has periods from June 2015 to May 2016

Make sure, all these periods are opened, and the Organization has this fiscal calendar assigned in the Organization window.

Go to Fiscal Calendar window and create another calendar named "Fiscal Calendar Jan-Dec" which do also have below two years:
2014 - this year has periods from January 2014 to December 22014
2015 - this year has periods from January 2015 to December 2015

After installing 349 tax form module, apply 349 dataset for Fiscal Calendar organization.

Make sure Spanish tax rates are also applied.

Create a product related to "IVA Normal" tax category and to a valid sales price list.

Create a customer business partner named "Customer UE" located in France.
BP Tax ID needs to be NOI type, with a Tax ID of 11 characters.

Test Case 1

Go to sales invoice and create a new one date Dec 2014 for a total amount = 1.00. Make sure that the tax rate selected is "Entregas intracomunitarias (%N=>0%)". Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = Jan-15

Launch the report and verify it is empty.

Test Case 2

Go to Sales Invoice window and create a new one for Customer UE BP, dated on January 2015. Amount = 2.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = Jan-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 2.00

Test Case 3

Go to Sales Invoice window and create a new one for Customer UE BP, dated on February 2015. Amount = 3.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = Feb-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 3.00

Test Case 4

Go to Sales Invoice window and create a new one for Customer UE BP, dated on March 2015. Amount = 4.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = March-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 4.00

Test Case 5

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Trimestral v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = Jan-15 - March-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 9.00 (2+3+4)

Test Case 6

Go to Sales Invoice window and create a new one for Customer UE BP, dated on April 2015. Amount = 5.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = April-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 5.00

Test Case 7

Go to Sales Invoice window and create a new one for Customer UE BP, dated on May 2015. Amount = 6.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = May-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 6.00

Test Case 8

Go to Sales Invoice window and create a new one for Customer UE BP, dated on June 2015. Amount = 7.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = June-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 7.00

Test Case 9

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Trimestral v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = April-15 - June-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 18.00 (5+6+7)

Test Case 10

Go to Sales Invoice window and create a new one for Customer UE BP, dated on July 2015. Amount = 8.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = July-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 8.00

Test Case 11

Go to Sales Invoice window and create a new one for Customer UE BP, dated on August 2015. Amount = 9.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = August-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 9.00

Test Case 12

Go to Sales Invoice window and create a new one for Customer UE BP, dated on Sept 2015. Amount = 10.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = Sept-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 10.00

Test Case 13

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Trimestral v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = July-15 - Sept-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 27 (8+9+10)

Test Case 14

Go to Sales Invoice window and create a new one for Customer UE BP, dated on October 2015. Amount = 11.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = Oct-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 11.00

Test Case 15

Go to Sales Invoice window and create a new one for Customer UE BP, dated on Nov 2015. Amount = 12.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = Nov-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 12.00

Test Case 16

Go to Sales Invoice window and create a new one for Customer UE BP, dated on December 2015. Amount = 13.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Mensual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = Dec-15

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 13.00

Test Case 17

Go to Sales Invoice window and create a new one for Customer UE BP, dated on Jan 2016. Amount = 14.00. Tax rate = Entregas intracomunitarias (%N=>0%). Complete and Post the invoice.

Go to Tax Report Launcher window and enter below data:
Organization = Fiscal Calendar Org
Report = Modelo 349 Anual v 2010
Calendar = Fiscal Calendar Jan-Dec
Year = 2015
Period = Anually

Import the file generated in Informativas. Check that the amount shown for UE Customer in tab "Operaciones", field "Base Imponible" is 90 (2+3+4+5+6+7+8+9+10+11+12+13)

Test Plan verified.

Issue closed.


- Issue History
Date Modified Username Field Change
2015-02-26 12:30 psanjuan New Issue
2015-02-26 12:30 psanjuan Assigned To => jonalegriaesarte
2015-02-26 12:30 psanjuan Relationship added caused by 0028040
2015-02-26 17:21 vmromanos Type defect => design defect
2015-10-08 11:56 vmromanos Status new => scheduled
2015-10-08 11:56 vmromanos Assigned To jonalegriaesarte => vmromanos
2015-10-08 12:15 hgbot Checkin
2015-10-08 12:15 hgbot Note Added: 0080884
2015-10-08 12:15 hgbot Status scheduled => resolved
2015-10-08 12:15 hgbot Resolution open => fixed
2015-10-08 12:15 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat349.es/rev/5d2a306f525f7a1fa58668a8ec8eafbd15538d61 [^]
2015-11-12 13:13 psanjuan Note Added: 0081753
2015-11-12 13:20 psanjuan Note Edited: 0081753 View Revisions
2015-11-12 13:22 psanjuan Note Edited: 0081753 View Revisions
2015-11-12 13:24 psanjuan Note Edited: 0081753 View Revisions
2015-11-12 13:37 psanjuan Note Edited: 0081753 View Revisions
2015-11-12 13:40 psanjuan Note Edited: 0081753 View Revisions
2015-11-12 13:40 psanjuan Status resolved => closed
2015-11-13 09:33 psanjuan Note Edited: 0081753 View Revisions
2015-11-13 09:40 psanjuan Note Edited: 0081753 View Revisions
2015-11-13 11:51 psanjuan Note Edited: 0081753 View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker