Openbravo Issue Tracking System - Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0021949 | Modules | Intrastat | public | 2012-10-16 12:06 | 2013-01-23 10:42 |
Reporter | ngarcia | ||||
Assigned To | ngarcia | ||||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 1.0.10 | Fixed in Version | |||
Merge Request Status | |||||
Regression date | |||||
Regression introduced by commit | |||||
Regression level | |||||
Review Assigned To | caristu | ||||
Support ticket | |||||
OBNetwork customer | |||||
Regression introduced in release | |||||
Summary | 0021949: Intrastat line created for an invoice with a shipment to a non-european country | ||||
Description | Intrastat line created for an invoice with a shipment to a non-european country. | ||||
Steps To Reproduce | As group admin role: Configure the Intrastat for F&B EspaƱa, S.A. Create a Business Partner as Customer Configure two locations to it: Shipping address: USA Invoice address: Germany Create a goods shipment for that BP and realize that the shipping address is selected in the header. Complete it. Check that no lines are created in the Intrastat tab Create a sales invoice from it. Notice that the invoice address is selected in the header. Complete it. Notice that a line is created in the Intrastat tab without any value in the fields related to Intrastat. This line should not be created | ||||
Proposed Solution | In the INTR_C_INVOICELINE_TRG trigger: In line 232 (WHEN NO_DATA_FOUND THEN), NULL value is assigned to all variables and then, in line 291 (INSERT INTO intr_c_invoiceline) this values are inserted. It should be checked if the previous data was not null before inserting the line, for example, assigning a value to a variable after line 232 and checking it before line 291. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-10-16 12:06 | ngarcia | New Issue | |||
2012-10-16 12:06 | ngarcia | Assigned To | => jonalegriaesarte | ||
2012-10-16 12:06 | ngarcia | Issue Monitored: networkb | |||
2012-10-16 12:08 | ngarcia | Note Added: 0053370 | |||
2012-11-14 14:05 | jonalegriaesarte | Assigned To | jonalegriaesarte => ngarcia | ||
2013-01-02 16:32 | hgbot | Checkin | |||
2013-01-02 16:32 | hgbot | Note Added: 0055305 | |||
2013-01-02 16:32 | hgbot | Status | new => resolved | ||
2013-01-02 16:32 | hgbot | Resolution | open => fixed | ||
2013-01-02 16:32 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.intrastat/rev/6e28b55ab6d5743a0f1af245043fe536e1a52090 [^] | ||
2013-01-23 10:42 | caristu | Review Assigned To | => caristu | ||
2013-01-23 10:42 | caristu | Note Added: 0055752 | |||
2013-01-23 10:42 | caristu | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|