Openbravo Issue Tracking System - Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0040402 | Modules | Intrastat for Spain | public | 2019-03-18 10:27 | 2019-03-19 11:56 | |||||||
Reporter | Opentix-Test | |||||||||||
Assigned To | Opentix-Test | |||||||||||
Priority | high | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | duplicate | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | 1.1.2 | |||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Review Assigned To | ||||||||||||
Support ticket | ||||||||||||
OBNetwork customer | ||||||||||||
Regression introduced in release | ||||||||||||
Summary | 0040402: Permitir aplicar el dataset a mas de una entidad legal | |||||||||||
Description | Modificar la actual implementación del módelo de intrastat para permitir aplicar el dataset a mas de una entidad legal. | |||||||||||
Steps To Reproduce | 1º Crear la entidad Legal LE1 2º Aplicar el dataset de Intrastat para LE1 3º Crear la entidad legal LE2 4º Aplicar el dataset de Intrastat LE2 5º Verificar que se se obtiene el error: isBatchUpdateException:duplicate key value violates unique constraint "intr_java_client_countr_un"\n Detail: Key (ad_client_id, c_country_id)=(3470CC97950A48A59942B3D0DC1ED1FA, 106) already exists. | |||||||||||
Proposed Solution | Modificar el módulo de intrastat org.openbravo.module.intrastat) que incluye la siguiente constraint en la tabla INTR_JAVACLASS: <unique name="INTR_JAVA_CLIENT_COUNTR_UN"> <unique-column name="AD_CLIENT_ID"/> <unique-column name="C_COUNTRY_ID"/> </unique> para que pueda existir mas de un registro en dicha tabla para cada entidad y país al ser aplicado por el dataset del módulo Intrastat For Spain (org.openbravo.module.intrastat.spain). | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | error intrastat LE.PNG (162,219) 2019-03-18 10:27 https://issues.openbravo.com/file_download.php?file_id=12757&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-03-18 10:27 | Opentix-Test | New Issue | ||||||||||
2019-03-18 10:27 | Opentix-Test | Assigned To | => Opentix-Test | |||||||||
2019-03-18 10:27 | Opentix-Test | File Added: error intrastat LE.PNG | ||||||||||
2019-03-18 15:39 | psanjuan | Relationship added | duplicate of 0034537 | |||||||||
2019-03-18 15:39 | psanjuan | Note Added: 0110481 | ||||||||||
2019-03-18 15:39 | psanjuan | Status | new => closed | |||||||||
2019-03-18 15:39 | psanjuan | Resolution | open => duplicate | |||||||||
2019-03-19 11:56 | ivancace | Issue Monitored: ivancace |
Notes | |||||
|
|||||
|
|