Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005949Openbravo ERP02. Master data managementpublic2008-11-13 10:362008-12-03 19:11
networkb 
alostale 
immediateminoralways
closedfixed 
5
2.35 
 
OBPS
Core
No
0005949: Linked items button does not work with a product with purchases/sales order
If there is a product that has been included in different purchase and sales order lines, 'Linked item" button show its reference to them but it does not distinguish between purchase order lines and sales order lines.

It has been tested in 2.35 and 2.40. It happens the same in invoices, good shipments.
1. Go to Master Data Management > Product
2. Select a product that has been used in purchase and sales orders
3. Press "Linked items".
4. For example a link like this appears:
Procurement Management || Transactions || Goods Receipt
    Goods Receipt - Lines (2)
5. Press in Lines: it will appear all lines without distinguish if the line belongs to sales or purchase.
No tags attached.
depends on backport 0006016 closed alostale Linked items button does not work with a product with purchases/sales order 
depends on backport 0006017 closed alostale Linked items button does not work with a product with purchases/sales order 
png product-linked-items.png (49,027) 2008-11-18 11:47
https://issues.openbravo.com/file_download.php?file_id=424&type=bug
png

png liked-item-lines.png (20,194) 2008-11-18 13:05
https://issues.openbravo.com/file_download.php?file_id=428&type=bug
png
Issue History
2008-11-13 10:36networkbNew Issue
2008-11-13 10:36networkbAssigned To => rafaroda
2008-11-13 10:36networkbsf_bug_id0 => 2275455
2008-11-13 10:36networkbOBNetwork customer => Yes
2008-11-13 10:36networkbRegression testing => No
2008-11-13 10:36networkbIssue Monitored: networkb
2008-11-13 10:36networkbPrioritynormal => immediate
2008-11-18 11:47rafarodaFile Added: product-linked-items.png
2008-11-18 11:50rafarodaNote Added: 0010360
2008-11-18 11:50rafarodaStatusnew => feedback
2008-11-18 13:05rafarodaFile Added: liked-item-lines.png
2008-11-18 13:08rafarodaStatusfeedback => scheduled
2008-11-18 13:08rafarodaNote Added: 0010367
2008-11-18 13:08rafarodaAssigned Torafaroda => alostale
2008-11-18 13:08rafarodafix_in_branch => trunk
2008-11-18 16:41svnbotCheckin
2008-11-18 16:41svnbotNote Added: 0010375
2008-11-18 16:41svnbotStatusscheduled => resolved
2008-11-18 16:41svnbotResolutionopen => fixed
2008-11-18 16:41svnbotsvn_revision => 10192
2008-12-03 19:11psarobeStatusresolved => closed

Notes
(0010360)
rafaroda   
2008-11-18 11:50   
I was not able to reproduce this bug in current 2.3x branch.

1) Created a Purchase Order with product line Flour and Completed it.
2) Created a Good Receipt based on the previous Purchase Order.
3) Created a Sales Order with product line Flour and Completed it.
4) Created a Good Shipment based on the previous Sales Order.
5) Went to product Flour and clicked on Linked items.
6) 4 lines display for each of the transaction lines (see attached file).
(0010367)
rafaroda   
2008-11-18 13:08   
Able to reproduce it:

7) Click in one of the lines, and notice that both the sale and the purchase line record display (see liked-items-lines.png).
(0010375)
svnbot   
2008-11-18 16:41   
Repository: openbravo
Revision: 10192
Author: alostale
Date: 2008-11-18 16:41:23 +0100 (Tue, 18 Nov 2008)

fixed bug 0005949: Linked items button does not work with a product with purchases/sales order

---
U trunk/src/org/openbravo/erpCommon/utility/UsedByLink.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=10192&sc=1 [^]