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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019862
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 03. Procurement managementmajoralways2012-02-15 18:052012-03-15 09:33
ReportermaiteView Statuspublic 
Assigned Tojecharri 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revisionf619f50ded07
ProjectionnoneETAnoneTarget Version2.50MP40
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019862: When running "Generate Receipt from Invoice" process, associated matched invoice entry is created twice

DescriptionWhen running "Generate Receipt from Invoice" process, associated matched invoice entry is created twice
Steps To Reproduce1. Log in as "System Administrator" and "Display" button "Generate Receipt from Invoice" in Purchase Invoice Header window
2. Run ant compile.complete smartbuild to have it working
3. Log in as Openbravo Admin and create Purchase Invoice for any bp and any date
4. Add invoice line and process invoice
5. Run ""Generate Receipt from Invoice" process
6. Go to Invoice line and, from Linked Items section, navigate to Matched Invoice and realize that 2 records are associated to each line
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00197833.0MP9 closedjecharri When running "Generate Receipt from Invoice" process, associated matched invoice entry is created twice 

-  Notes
(0046182)
jecharri (developer)
2012-03-08 10:26

Test cases:
-reproduce the steps to reproduce and verify that now only one record is created in match invoice.
-verify that the module script works propely:
  -for that, you need to have some line duplicated (execute the process before the fix)
(0046184)
hgbot (developer)
2012-03-08 10:39

Repository: erp/stable/2.50
Changeset: f619f50ded07e3450de6a735be85e2a6ecb82d2a
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Mar 08 10:38:35 2012 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/f619f50ded07e3450de6a735be85e2a6ecb82d2a [^]

Fixes issue 19862, issue 13912:
When running "Generate Receipt from Invoice" process, associated matched invoice entry is created twice.
The process 'Create Lines from' of the Goods Shipment window shows incorrect data.
The problem was that to solve the issue 13912 it was created some code duplicated and it did not work properly. Now this code has been deleted and changed the combo query for proper behaviour.
Added the module script to delete the duplicated lines in m_matchinv table. Also, the lines with related m_inout or c_invoiceline that are sales.

---
M src-db/database/model/functions/M_INOUT_POST.xml
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
A src-util/modulescript/build/classes/org/openbravo/modulescript/DeleteDuplicateMatchInvoice.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/DeleteDuplicateMatchInvoiceData.class
A src-util/modulescript/src/org/openbravo/modulescript/DeleteDuplicateMatchInvoice.java
A src-util/modulescript/src/org/openbravo/modulescript/DeleteDuplicateMatchInvoice_data.xsql
---
(0046437)
maite (developer)
2012-03-15 09:32

verified

- Issue History
Date Modified Username Field Change
2012-02-24 09:15 jecharri Type defect => backport
2012-02-24 09:15 jecharri fix_in_branch pi => 2.50
2012-02-24 09:15 jecharri Target Version 3.0MP9 => 2.50MP40
2012-03-08 10:26 jecharri Note Added: 0046182
2012-03-08 10:39 hgbot Checkin
2012-03-08 10:39 hgbot Note Added: 0046184
2012-03-08 10:39 hgbot Status scheduled => resolved
2012-03-08 10:39 hgbot Resolution open => fixed
2012-03-08 10:39 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/33175c6c534f1874b078f7f290e4f4364ca15362 [^] => http://code.openbravo.com/erp/stable/2.50/rev/f619f50ded07e3450de6a735be85e2a6ecb82d2a [^]
2012-03-15 09:33 maite Note Added: 0046437
2012-03-15 09:33 maite Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker