Openbravo Issue Tracking System - Localization Pack: Spain
View Issue Details
0023089Localization Pack: SpainAEAT 347public2013-02-15 15:162013-02-18 14:26
psanjuan 
jonalegriaesarte 
urgentmajoralways
closedinvalid 
20Ubuntu 8.04.1
 
 
0023089: The 2012 version of the 347 is not properly getting 2011 transactions
The 2012 version of the 347 is not properly getting 2011 transactions
complete and post below invoices:
Invoice 1 - Customer A - dated on 2011 - amount = 17700 - paid in cash in 2012
Invoice 2 - Customer B - dated on 2009 - amount = 11600 - paid in cash in 2011
Invoice 3 - Customer B - dated on 2010 - amount = 9440 - paid in cash in 2011
Invoice 4 - Customer C - dated on 2011 - amount = 9440 - paid in cash in 2011
Invoice 5 - Customer C - dated on 2011 - amount = 7080 - paid in cash in 2012
Invoice 6 - Customer C - dated on 2011 - amount = 2360 - paid in cash in 2012

Run the 347 version 2010. See file attached t-14.txt
Run the 347 version 2012. See file attached t-15.txt

The file 2012 is correct.
The file 2012 version is only taken as 2011 transactions those paid in 2011 and that should not be the case.
No tags attached.
txt t-14.txt (2,505) 2013-02-15 15:20
https://issues.openbravo.com/file_download.php?file_id=5989&type=bug
txt t-15.txt (2,004) 2013-02-15 15:20
https://issues.openbravo.com/file_download.php?file_id=5990&type=bug
Issue History
2013-02-15 15:16psanjuanNew Issue
2013-02-15 15:16psanjuanAssigned To => jonalegriaesarte
2013-02-15 15:19psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4422#r4422
2013-02-15 15:20psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4423#r4423
2013-02-15 15:20psanjuanFile Added: t-14.txt
2013-02-15 15:20psanjuanFile Added: t-15.txt
2013-02-15 15:21psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4424#r4424
2013-02-18 14:25psanjuanStatusnew => scheduled
2013-02-18 14:25psanjuanResolutionopen => invalid
2013-02-18 14:25psanjuanStatusscheduled => resolved
2013-02-18 14:26psanjuanNote Added: 0056521
2013-02-18 14:26psanjuanStatusresolved => closed
2013-02-18 14:26psanjuanNote Edited: 0056521bug_revision_view_page.php?bugnote_id=0056521#r4432

Notes
(0056521)
psanjuan   
2013-02-18 14:26   
Invalid. No need to fix nothing here.
There was a document type "AP Invoice" in the table AEAT 347 Document types which was breaking the 347 logic.
Once that document type is removed the file is ok.