EDT Relation with code?

Hi,

Is it possible to create relation with code for EDT, in one dialog class.

My scenario,

I have an EDT which is referencing to one table. and i am using that field in my dialog, but here i don’t want all data in the table. for example if i take itemId as my EDT. In my dialog, i need only service item’s are lookup in my dialog.

Yes,

It is possible,

Dialog filteration in reports:

http://stackoverflow.com/questions/5632147/filter-look-up-in-dialog

look up filter in forms:

http://www.axaptapedia.com/SysTableLookup_class

It might helpful once go through this…

To get only the service item lookup, when EDT is provided to field. Just overrride the lookup method either on form design (or) form field level and comment the super and write your own query in order to display lookup of service item.