CoreBOSBB
Suggest - Enhanced - Relation to - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: Suggest - Enhanced - Relation to (/showthread.php?tid=998)



Suggest - Enhanced - Relation to - rslemer - 03-30-2018

I wish when open a ticket for example, selected only accounts type = Client

I will explain my scenario :

In my business, when user open a new ticket, only make sense listed "Account type = client" to select in Relation to.

I suggest, created a GlobalVariable or a possibility use a Business Map, for setting a condition for this type of result.

I think is a great feature for coreBOS.

What you think about it?


RE: Suggest - Enhanced - Relation to - kapsule - 04-06-2018

Hi rslemer,

You mean limit the selection of the reated to field ?


RE: Suggest - Enhanced - Relation to - rslemer - 04-06-2018

Yes, restricted selection.

The better solution, in my head, that windows will should be setting for use a filter.

Imagine that, I could setting a specific filter for each window in related to ..


RE: Suggest - Enhanced - Relation to - joebordes - 04-07-2018

http://corebos.org/documentation/doku.php?id=en:devel:conditional_popup


RE: Suggest - Enhanced - Relation to - Guido1982 - 04-09-2018

That's great. Rslemer let me know if you need help with the code. I'd like to play around with this for my own education so helping you with a true use-case would be no problem.


RE: Suggest - Enhanced - Relation to - rslemer - 04-09-2018

(04-07-2018, 05:58 PM)joebordes Wrote: http://corebos.org/documentation/doku.php?id=en:devel:conditional_popup

I look that, but i don't know if i understood  .. this changes will apply directly in code ( hard coded )?


RE: Suggest - Enhanced - Relation to - Guido1982 - 04-09-2018

Take a look here: http://corebos.org/documentation/doku.php?id=en:devel:corebos_hooks:popup_open_hook to see an example. You need to overwrite the javascript that opens the window with your own. Then the query string in the URL of the popup window needs to have the information you want to filter on.


RE: Suggest - Enhanced - Relation to - rslemer - 04-10-2018

Anybody could be a posted a example, how I can set in tickets, for relation window, list only account type = 'client' and status = 'Available" ?