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

View Revisions: Issue #20836 Back to Issue ]
Summary 0020836: End user should be able to configure the encoding type to be used before launching the Tax Report Launcher
Revision 2012-06-22 12:24 by psanjuan
Steps To Reproduce Launch the 303 tax report for the organization "F&B España" realize that an error message is shown after importing the file in the AEAT web.
The error is:
Fichero incorrecto. El registro en lugar de 303 y ser de 1351 bytes, tiene 303 y/o es de 1352 bytes
Corríjalo, por favor

Change the Organization name as "FB Madrid" realize that no error is shown and the file can be imported in the web without any problem.

Same applies to other tax reports, not just 303.
So far we have workaround the problem by replacing rare charaters as described below:

Sería cambiar la Ñ y la Ç por un espacio en blanco
y todas las tildes por su vocal correspondiente

 String validString(String str) {
    String st = str.toUpperCase();
    st = st.replace('Á', 'A');
    st = st.replace('É', 'E');
    st = st.replace('Í', 'I');
    st = st.replace('Ó', 'O');
    st = st.replace('Ú', 'U');
    st = st.replace('Ü', 'U');
    return st.replaceAll("[^A-Z0-9ÑÇ]", " ");
  }


Revision 2012-06-22 12:23 by psanjuan
Steps To Reproduce Launch the 303 tax report for the organization "F&B España" realize that an error message is shown after importing the file in the AEAT web.
The error is:
Fichero incorrecto. El registro en lugar de 303 y ser de 1351 bytes, tiene 303 y/o es de 1352 bytes
Corríjalo, por favor

Change the Organization name as "FB Madrid" realize that no error is shown and the file can be imported in the web without any problem.

Same applies to other tax reports, not just 303 but we have workaround the problem by removing rare charaters


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker