Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007439Openbravo ERPB. User interfacepublic2009-02-09 17:252009-02-20 09:13
jtarbal 
rafaroda 
normalminorhave not tried
closedduplicate 
5
2.40 
 
No
Core
No
0007439: Linked items pop-up not shows all references
The "Linked items" button is very useful when trying to find possible references to an element of the system. However, sometimes it does not show all references. For example, this is clear when trying to delete a record that does not have any linked item and the application says "This record cannot be deleted because it is associated with other existing elements. Please see Linked Items". An example of this behavior is when trying to delete an account combination ("Financial Management > Accounting > Setup > Account Combination > Combination ") that is used in the accounting configuration of any element (product, business partner, bank, cashbook, etc.)

This situation occurs because the linked items only uses the Application Dictionnary data in order to find referenced items. It only finds the items if in the Application Dictionnary the column name is the same in all windows. Thus, if the column name is different (as in the example above), the reference is not found even if there exist a foreign key into the database that establishes this relationship. The system should look for foreign keys also, so that the linked items pop-up really shows all the references to an element.

No tags attached.
duplicate of defect 0007506 closed alostale The linked items button does not work if the column that referes the document has a name different than TABLENAME_ID 
Issue History
2009-02-09 17:25jtarbalNew Issue
2009-02-09 17:25jtarbalAssigned To => rafaroda
2009-02-09 17:25jtarbalsf_bug_id0 => 2582014
2009-02-17 16:52rafarodaNote Added: 0013579
2009-02-17 16:52rafarodaStatusnew => feedback
2009-02-18 16:17jtarbalNote Added: 0013675
2009-02-20 09:13pjuvaraRegression testing => No
2009-02-20 09:13pjuvaraRelationship addedduplicate of 0007506
2009-02-20 09:13pjuvaraStatusfeedback => closed
2009-02-20 09:13pjuvaraDuplicate ID0 => 7506
2009-02-20 09:13pjuvaraResolutionopen => duplicate

Notes
(0013579)
rafaroda   
2009-02-17 16:52   
Hi Josep,

Is this issue duplicated of 7506 [1]? If so please let us know and we will close it as duplicated.

Thank you.

[1] https://issues.openbravo.com/view.php?id=7506 [^]
(0013675)
jtarbal   
2009-02-18 16:17   
You are right. Both issues are explaining to the same bug.