Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029384 | Modules | Intrastat | public | 2015-03-23 19:27 | 2016-11-14 13:12 |
|
Reporter | ngarcia | |
Assigned To | rqueralta | |
Priority | urgent | Severity | major | Reproducibility | always |
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 | aferraz |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0029384: Statical Value is not transferred from Invoice Lines to Intrastat Declaration Lines |
Description | Statical Value is not transferred from Invoice Lines to Intrastat Declaration Lines |
Steps To Reproduce | As group admin role:
Create two entries in the Organization - Intrastat tab for Shipments for the current and previous years
Create a Sales Invoice for an European customer, fill at least the statical value field in Intrastat tab and complete it
Go to Intrastat Launcher, fill the required parameters and launch it
Check in Intrastat Declaration window that the created line does not have the statical value defined |
Proposed Solution | Check if adding the following line of code in generateNewIntrastatLines function of IntrastatLauncher class solves the problem:
iL.setStaticalAmt(intrInvoiceLine.getStaticalValue()); |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0034484 | | closed | vmromanos | Not possible to select either "Year" and "Period" in Intrastat Launcher window. |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-03-23 19:27 | ngarcia | New Issue | |
2015-03-23 19:27 | ngarcia | Assigned To | => jonalegriaesarte |
2015-03-23 19:27 | ngarcia | Issue Monitored: networkb | |
2015-07-28 13:01 | ngarcia | Assigned To | jonalegriaesarte => Triage Finance |
2015-09-14 18:45 | heccam | Issue Monitored: heccam | |
2016-10-24 18:28 | ngarcia | Resolution time | => 1479078000 |
2016-10-24 18:28 | ngarcia | Priority | high => urgent |
2016-10-24 18:28 | ngarcia | Severity | minor => major |
2016-10-24 18:32 | ngarcia | Proposed Solution updated | |
2016-10-25 18:23 | aferraz | Assigned To | Triage Finance => markmm82 |
2016-10-25 21:54 | markmm82 | Status | new => scheduled |
2016-11-07 17:51 | rqueralta | Assigned To | markmm82 => rqueralta |
2016-11-08 18:27 | rqueralta | Note Added: 0091255 | |
2016-11-14 11:50 | psanjuan | Note Added: 0091441 | |
2016-11-14 12:00 | psanjuan | Note Edited: 0091441 | bug_revision_view_page.php?bugnote_id=0091441#r13657 |
2016-11-14 12:00 | psanjuan | Relationship added | related to 0034484 |
2016-11-14 12:00 | psanjuan | Note Edited: 0091255 | bug_revision_view_page.php?bugnote_id=0091255#r13659 |
2016-11-14 12:01 | psanjuan | Note Added: 0091442 | |
2016-11-14 12:16 | psanjuan | Note Edited: 0091442 | bug_revision_view_page.php?bugnote_id=0091442#r13661 |
2016-11-14 12:24 | psanjuan | Note Added: 0091446 | |
2016-11-14 13:11 | hgbot | Checkin | |
2016-11-14 13:11 | hgbot | Note Added: 0091449 | |
2016-11-14 13:11 | hgbot | Status | scheduled => resolved |
2016-11-14 13:11 | hgbot | Resolution | open => fixed |
2016-11-14 13:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/2647113d62f37ae49f7280882bfd7cbb009c0c66 [^] |
2016-11-14 13:11 | hgbot | Checkin | |
2016-11-14 13:11 | hgbot | Note Added: 0091450 | |
2016-11-14 13:12 | aferraz | Review Assigned To | => aferraz |
2016-11-14 13:12 | aferraz | Note Added: 0091451 | |
2016-11-14 13:12 | aferraz | Status | resolved => closed |
Notes |
|
(0091255)
|
rqueralta
|
2016-11-08 18:27
(edited on: 2016-11-14 12:00) |
|
Test plan:
As F&B International Group Admin
- Go to Organization - Intrastat tab
Create two entries for Shipments for the current and previous years
- Go to Sales Invoice
Create a Sales Invoice for an European customer, fill at least the statical value field in Intrastat tab and complete it
- Go to Intrastat Launcher
Fill the required parameters and launch it
Check in Intrastat Declaration window that the created line does have the statical value defined
|
|
|
(0091441)
|
psanjuan
|
2016-11-14 11:50
(edited on: 2016-11-14 12:00) |
|
Issue verified.
While verifying this issue another one is found. See issue related 34484.
|
|
|
(0091442)
|
psanjuan
|
2016-11-14 12:01
(edited on: 2016-11-14 12:16) |
|
Test Plan
Test Case 1
Install Intrastat and Intrastat for Spain modules. Apply Intrastat dataset to F&B España org.
As F&B International Group Admin
Go to Organization window.
Select F&B España organization. Select Calendario España in the field "Intrastat Calendar". For doing so "Calendario España" needs to be set as Intrastat calendar.
Go to Intrastat tab and create below to records:
Organization = F&B España
Intrastat File Format = Intrastat para España
Year = 2016
Intrastat Declaration = Shipments
Limit Amount = 10.00
Incoterms = CIF
Transaction Type = Compra/Venta en Firme
Transportation Type = Road Transport
Statistical Regime = Salida de mercancias tras transformación.
Repeat same setup as above for Year 2017
Go to Intrastat tab and create below to records:
Organization = F&B España
Intrastat File Format = Intrastat para España
Year = 2016
Intrastat Declaration = Acquisitions
Limit Amount = 10.00
Incoterms = EXW
Transaction Type = Compras por particulares
Transportation Type = Rail Transport.
Repeat same setup as above for Year 2017
Go to Product window and select a product, for instance Cerveza Ale 0.5L. Make sure it is related to both a purchase and a sales price list.
Go to Intrastat tab and enter below info:
Commodity Code = 101010
Create a Sales Invoice for F&B España, for a customer located in France, for instance.
Go to Lines and select Cerveza Ale 0.5L product. Enter 150 units.
Save.
Go to Intrastat tab. Check it does have below data:
Commodity Code = 10101010
Net Mass = 150
Enter an Statistical Value = 855
Complete and post the invoice.
Go to Instrastat launcher and launch it for F&B España, 2016, November, Shipments and Normal Declaration.
Go to "Intrastat Declaration" window and check that there is one line in there having below information:
Invoice line Amount = 276.00 (total gross amount of the invoice)
Statistical value = 855
Commodity Code = 10101010
Net mass (Kg = 150 (invoiced quantity).
Repeat same test as above for a Purchase Invoice and therefore "Acquisition" Intrastat declaration.
|
|
|
|
Test Plan above verified.
Issue can be code reviewed and closed. |
|
|
(0091449)
|
hgbot
|
2016-11-14 13:11
|
|
|
|
(0091450)
|
hgbot
|
2016-11-14 13:11
|
|
|
|
|
|