Openbravo Issue Tracking System - Modules
View Issue Details
0034537ModulesIntrastat for Spainpublic2016-11-15 19:182018-10-09 18:06
psanjuan 
Opentix-Test 
urgentmajoralways
closedfixed 
20Professional Appliance
 
 
vmromanos
0034537: Not possible to apply Intrastat for Spain dataset in more than one Organization (Legal) at the same level.
Not possible to apply Intrastat for Spain dataset in more than one Organization (Legal) at the same level.
As system admin install "Intrastat" and "Intrastat for Spain" module.

As F&B Internation group admin role go to "Enterprise Module Management".
Select F&B España and apply "Incoterms" and "Intrastat for Spain" dataset.

Check both datasets are applied successfully.

Run Initial Organization setup and create another organization under F&B International Group located in Spain with below setup:
- legal with accounting
- parent organization "F&B International Group".
- EUR
- select a chart of accounts
- enter a location in Spain.

Go to Fiscal Calendar and create a new calendar for the new organization. Configure it as "Intrastat Calendar". Create 2016 periods.

Go to Organization window, select the new organization created and configure it as "Allow Period Control", select the calendar and run set as Ready process.

Go to Enterprise module management and select the new organization.
Select "Incoterms" and "Intrastat for Spain" organization.

It is not possible to apply Intrastat for Spain dataset. Below error is shown.
It should be possible to apply Intrastat for Spain, to more than one legal entities at the same level.
No tags attached.
has duplicate defect 0040402 closed Opentix-Test Permitir aplicar el dataset a mas de una entidad legal 
jpg Issue_34537.jpg (44,707) 2016-11-15 19:19
https://issues.openbravo.com/file_download.php?file_id=10049&type=bug
jpg
Issue History
2016-11-15 19:18psanjuanNew Issue
2016-11-15 19:19psanjuanFile Added: Issue_34537.jpg
2016-11-15 19:19psanjuanProposed Solution updated
2016-11-15 19:20psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13757#r13757
2018-08-13 15:14ngarciaIssue Monitored: ngarcia
2018-08-22 13:53psanjuanNote Added: 0106444
2018-08-22 13:53psanjuanTypedefect => design defect
2018-08-22 13:54psanjuanNote Edited: 0106444bug_revision_view_page.php?bugnote_id=0106444#r17554
2018-08-22 13:55psanjuanAssigned To => Opentix-Test
2018-10-09 18:03vmromanosStatusnew => scheduled
2018-10-09 18:05hgbotCheckin
2018-10-09 18:05hgbotNote Added: 0107230
2018-10-09 18:05hgbotStatusscheduled => resolved
2018-10-09 18:05hgbotResolutionopen => fixed
2018-10-09 18:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/5805817eeef1e815b2a0e13a02b823615a4d19b5 [^]
2018-10-09 18:06vmromanosReview Assigned To => vmromanos
2018-10-09 18:06vmromanosNote Added: 0107231
2018-10-09 18:06vmromanosStatusresolved => closed
2019-03-18 15:39psanjuanRelationship addedhas duplicate 0040402

Notes
(0106444)
psanjuan   
2018-08-22 13:53   
(edited on: 2018-08-22 13:54)
This issue has been reported by a partner in Opentix support platform with this issue number:
https://aitana.zendesk.com/agent/tickets/40093 [^]

Needs to be analized therefore it has been changed to Design Defect.

(0107230)
hgbot   
2018-10-09 18:05   
Repository: erp/pmods/org.openbravo.module.intrastat
Changeset: 5805817eeef1e815b2a0e13a02b823615a4d19b5
Author: Iñaki Monferrer Altava <imonferrer <at> opentix.es>
Date: Mon Sep 24 09:49:21 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/5805817eeef1e815b2a0e13a02b823615a4d19b5 [^]

Fixed bug 34537: Not possible apply dataset in various legal orgs at same level
Not possible to apply Intrastat for Spain dataset in more than one Organization (Legal) at the same level. Deleted intr_java_client_countr_un constraint in intr_javaclass table.

---
M src-db/database/model/tables/INTR_JAVACLASS.xml
M src-db/database/sourcedata/AD_MODULE.xml
---
(0107231)
vmromanos   
2018-10-09 18:06   
Code review + testing OK.

Fixed in Intrastat 3.0.600 or higher