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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029384
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Intrastatmajoralways2015-03-23 19:272016-11-14 13:12
ReporterngarciaView Statuspublic 
Assigned Torqueralta 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision2647113d62f3
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Toaferraz
Regression introduced in release
Summary

0029384: Statical Value is not transferred from Invoice Lines to Intrastat Declaration Lines

DescriptionStatical Value is not transferred from Invoice Lines to Intrastat Declaration Lines
Steps To ReproduceAs 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 SolutionCheck if adding the following line of code in generateNewIntrastatLines function of IntrastatLauncher class solves the problem:

iL.setStaticalAmt(intrInvoiceLine.getStaticalValue());
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0034484 closedvmromanos Not possible to select either "Year" and "Period" in Intrastat Launcher window. 

-  Notes
(0091255)
rqueralta (developer)
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 (manager)
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 (manager)
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.

(0091446)
psanjuan (manager)
2016-11-14 12:24

Test Plan above verified.

Issue can be code reviewed and closed.
(0091449)
hgbot (developer)
2016-11-14 13:11

Repository: erp/pmods/org.openbravo.module.intrastat
Changeset: 2647113d62f37ae49f7280882bfd7cbb009c0c66
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Tue Nov 08 12:08:28 2016 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/2647113d62f37ae49f7280882bfd7cbb009c0c66 [^]

Fixes issue 29384: Statical Value is not transferred from Invoice Lines

Fixed Statical Value is not transferred from Invoice Lines to Intrastat Declaration Lines

---
M src/org/openbravo/module/intrastat/IntrastatLauncher.java
---
(0091450)
hgbot (developer)
2016-11-14 13:11

Repository: erp/pmods/org.openbravo.module.intrastat
Changeset: 1b25fd2aec94d8ca4896d8b0b6f3faa7e2fb9212
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon Nov 14 13:09:14 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/1b25fd2aec94d8ca4896d8b0b6f3faa7e2fb9212 [^]

Related to issue 29384: Update module version

---
M src-db/database/sourcedata/AD_MODULE.xml
---
(0091451)
aferraz (manager)
2016-11-14 13:12

Code review OK

- 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 View Revisions
2016-11-14 12:00 psanjuan Relationship added related to 0034484
2016-11-14 12:00 psanjuan Note Edited: 0091255 View Revisions
2016-11-14 12:01 psanjuan Note Added: 0091442
2016-11-14 12:16 psanjuan Note Edited: 0091442 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker