View source | View content page | Page history | Printable version   

Projects:Select Tab for Direct Link/Technical Specifications


Select Tab for Direct Link - Technical Specifications


org.openbravo.erpCommon.utility.ReferencedLink is the java class that handles direct link navigation. Here is where the logic to decide the tab to navigate to must be implemented.

Instead of the current definition that includes one window for purchase and another one to sales transactions, the tab where the navigation is done to must be decided taking into account the where clause in the tab.

Closed discussion items

Possible approaches

Those windows that shouldn't behave in the current way must be defined in other way, two possible approaches can be taken, so it is necessary to decide one or another before starting with any implementation.

No window definition

A possible approach is not to define any window for this kind of tables.


This is the easiest approach, it would require to implement the where clause logic regarding the current record to decide the window to navigate to in a similar manner that linked items does.


It is possible a record fits more than one where clause.

Multiple window definition

Another different approach is not to define only two windows for a table but a number of them, setting for each one the constraints the record must fulfill.


If it is correctly defined it there should not be more than one possible tab for a single record.



First approach is the best one, anyway it would be nice in case this approach covers all the exception currently are treated so they can be managed all them in a standard manner.

Retrieved from ""

This page has been accessed 3,942 times. This page was last modified on 8 June 2012, at 05:30. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.