CoreBOSBB
multiple related to popup hierarchy - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4)
+---- Forum: coreBOS (https://discussions.corebos.org/forumdisplay.php?fid=5)
+---- Thread: multiple related to popup hierarchy (/showthread.php?tid=182)



multiple related to popup hierarchy - saidmsl - 10-11-2015

Hi,

 i try to explain  :
in edit view , we can have multiple related fields (uitype = 10) ,
when selecting using the popup, it would filter depending of the parent id 

Ex : 

Invoice :
the invoice is both related to organisation and contact, 
if i set the organisation first , when popup the contacts it should display only contacts related to this organisation

is it possible to have a generic code for the popup for any uitype = 10 ? 

rgds


RE: multiple related to popup hierarchy - joebordes - 10-13-2015

It would be a bit complicated to add some generic code but I do have some ideas coming soon that may help considerably in accomplishing this. We are almost finished with a new module that will permit the implementer of the solution to configure many options that now need to be coded. For example, the mapping of fields between modules that can be converted like Quotes to SalesOrder. We could add in the mapping module the relations and conditions between uitype10 fields, but it is still a little early for this.

Right now you have to add your logic and dependency manually coding the event as explained here:

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

Keep asking