Openbravo Issue Tracking System - Localization Pack: Spain |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0041281 | Localization Pack: Spain | AEAT 349 | public | 2019-07-04 13:36 | 2019-09-09 12:27 |
|
Reporter | shuehner | |
Assigned To | collazoandy4 | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | Sandrahuguet |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0041281: AEAT3492010ReportDao is not using bind-params |
Description | Many functions in this class are not using bind-parameters.
Note when fixing please apply new HQL-style to every HQL in this file.
Note when fixing please also fix the getReadableClientsInClause,getReadableOrganizationsInClause deprecated warnings (same topic)
When fixing probably those 2 utility methods should be deleted as they only help to write unsafe code:
createINClauseForBaseOBObject, createINClauseForOrgs |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0041515 | | closed | collazoandy4 | Localization Pack: Spain | Apply HQL style guide to AEAT3492010ReportDao | blocks | design defect | 0038136 | | acknowledged | Triage Platform Base | Openbravo ERP | Tracking issue: Find & Fix queries not using bind-params but embedding values into query string | causes | defect | 0043250 | | closed | Mery Anelo | Localization Pack: Spain | Error en parametro AEAT3492010ReportDao |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-07-04 13:36 | shuehner | New Issue | |
2019-07-04 13:36 | shuehner | Assigned To | => Opentix-Test |
2019-07-04 13:36 | shuehner | Relationship added | blocks 0038136 |
2019-07-26 08:20 | dmiguelez | Assigned To | Opentix-Test => collazoandy4 |
2019-07-31 17:54 | collazoandy4 | Status | new => scheduled |
2019-07-31 17:57 | collazoandy4 | Category | AEAT 349 => AEAT 390 |
2019-07-31 17:57 | collazoandy4 | Category | AEAT 390 => AEAT 349 |
2019-08-01 21:12 | collazoandy4 | Note Added: 0113765 | |
2019-08-07 00:00 | collazoandy4 | Note Added: 0113849 | |
2019-09-02 16:34 | Sandrahuguet | Relationship added | related to 0041515 |
2019-09-09 12:24 | hgbot | Checkin | |
2019-09-09 12:24 | hgbot | Note Added: 0114450 | |
2019-09-09 12:25 | hgbot | Checkin | |
2019-09-09 12:25 | hgbot | Note Added: 0114452 | |
2019-09-09 12:25 | hgbot | Status | scheduled => resolved |
2019-09-09 12:25 | hgbot | Resolution | open => fixed |
2019-09-09 12:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat349.es/rev/eda9256e384696c75e7ad8da8150d6d735d5b665 [^] |
2019-09-09 12:25 | hgbot | Checkin | |
2019-09-09 12:25 | hgbot | Note Added: 0114453 | |
2019-09-09 12:25 | hgbot | Checkin | |
2019-09-09 12:25 | hgbot | Note Added: 0114454 | |
2019-09-09 12:27 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-09-09 12:27 | Sandrahuguet | Note Added: 0114455 | |
2019-09-09 12:27 | Sandrahuguet | Status | resolved => closed |
2020-02-27 11:06 | psanjuan | Relationship added | causes 0043250 |
Notes |
|
(0113765)
|
collazoandy4
|
2019-08-01 21:12
|
|
Test Plan
Go to Tax Report Launcher window and set
Organization: F&B España, S.A
Report: Modelo 349 Trimestral v 2010
Accounting Schema: F&B España, S.A US/A/Euro
Year: 2018
Period: Jan-18 - Mar-18
Clic on Input Parameter button
Clic on Generate Electronic File button and check the message
'Fichero no generado. No se han detectado en el sistema transacciones correspondientes al modelo 349 para el periodo seleccionado.' is shown
Go to Purchase Invoice and create a new record:
BP: Bebidas Alegres, S.L.
Accounting Date: 01-01-2018
Invoice Date: 01-01-2018
Create a new record in Lines tab:
Product: Cerveza Ale 0,5L
Tax: Adquisiciones intracomunitarias Bienes Inversión 18%
Complete and Post the invoice
Go to Sales Invoice and create a new record:
BP: Alimentos y Supermercados, S.A
Accounting Date: 01-01-2018
Invoice Date: 01-01-2018
Create a new record in Lines tab:
Product: Agua sin Gas 1L
Tax: Servicios prestados UE (%N=>0%)
Complete and Post the invoice
Go to Tax Report Launcher window and set
Organization: F&B España, S.A
Report: Modelo 349 Trimestral v 2010
Accounting Schema: F&B España, S.A US/A/Euro
Year: 2018
Period: Jan-18 - Mar-18
Clic on Input Parameter button
Fill out the Persona and Teléfono fields
Clic on Generate Electronic File button and check the process ends without errors |
|
|
(0113849)
|
collazoandy4
|
2019-08-07 00:00
|
|
Test Plan II
Go to Tax Report Launcher window and set
Organization: F&B España, S.A
Report: Modelo 349 Anual
Accounting Schema: F&B España, S.A US/A/Euro
Year: 2018
Period: Anually
Clic on Input Parameter button
Clic on Generate Electronic File button and check the message
'Fichero no generado. No se han detectado en el sistema transacciones correspondientes al modelo 349 para el periodo seleccionado.' is shown
Go to Purchase Invoice and create a new record:
BP: Bebidas Alegres, S.L.
Accounting Date: 01-01-2018
Invoice Date: 01-01-2018
Create a new record in Lines tab:
Product: Cerveza Ale 0,5L
Tax: Adquisiciones intracomunitarias 7%
Complete and Post the invoice
Go to Sales Invoice and create a new record:
BP: Alimentos y Supermercados, S.A
Accounting Date: 01-01-2018
Invoice Date: 01-01-2018
Create a new record in Lines tab:
Product: Agua sin Gas 1L
Tax: Entregas intracomunitarias (%N=>0%)
Complete and Post the invoice
Go to Tax Report Launcher window and set
Organization: F&B España, S.A
Report: Modelo 349 Anual
Accounting Schema: F&B España, S.A US/A/Euro
Year: 2018
Period: Anually
Clic on Input Parameter button
Fill out the Persona and Teléfono fields
Clic on Generate Electronic File button and check the process ends without errors |
|
|
(0114450)
|
hgbot
|
2019-09-09 12:24
|
|
|
|
(0114452)
|
hgbot
|
2019-09-09 12:25
|
|
|
|
(0114453)
|
hgbot
|
2019-09-09 12:25
|
|
|
|
(0114454)
|
hgbot
|
2019-09-09 12:25
|
|
|
|
|
|