We're updating the issue view to help you get more done. 

Zoom from QuickInfo to a specific window

Description

Since we create a zoom link from Quick Info widged.

This works weel for most default tables and windows, but in some cases that we have multiple windows for the same table - as an example we can mention Request and Request (All) - we get stuck as we are not able to define to wich window that the zoom action will open, using always the default.

Attached a patch that changes the code to allow a specific window ID to be defined when creating the zoom link. Note that this is optional, just if needed the window ID can be defined, if not, just use as the original ticket.

Example:

1 2 3 4 5 6 7 select COALESCE(string_agg(DocumentNo||'&nbsp;&nbsp;&nbsp;<a href="javascript:void(0)" class="rp-href" onclick="zoomWindow(@#clientInfo_QuickInfoComponentId@, ''R_Request_ID'', '||r_request_id||',1500469)">'||title||'</a>', ' <br> '),'') FROM ( SELECT r.r_request_id, r.DocumentNo, r.Title from r_request r where r.R_RequestType_ID = 5000000 AND r.c_bpartner_id = @C_BPartner_ID@ ORDER BY r.created desc NATIVE_PostgreSQL_KEYWORKLIMIT 10) AS x

Environment

None

Status

Assignee

muriloht

Reporter

muriloht

Labels

Tested By

None

Fix versions

Priority

Major