Getting error like "Type void is not supported in this type of lookup's" in advanced query lookup form in ax2012.
Getting error like "Type void is not supported in this type of lookup's" in advanced query lookup form in ax2012.
Hi mahiims18 ,
Is the issue got resolved?
Thanks,
Girish S.
For which field you have added the display method. Can you delete that method and try again.
Thanks,
Girish S.
yes, I have display methods on District table.
Do you have any display method on "z_DiscountCode" and "District" tables?
Thanks,
Girish S.
method was " " & labelidx is 2
On the addMethodControl arguments - what is the value of _method and _labelIdx?
Thanks,
Girish S.
debugger is hitting at line 37 of addMethodControl of abstract class "systablelookupbase".
Final work around will be debugging.
Add the break point in the SysQueryForm - Datasource - "Range" - Field "Range value" - lookup method.
Try to debug and find out exactly at what line error is throwing.
Thanks,
Girish S.
it's coming automatically based on the relation.
and this lookup is getting in the drop down if I try to enter a new record in the table (CTRL+N) - For that you have written a custom lookup or its coming automatically based on the relation?
Thanks,
Girish S.
André Arnaud de Cal...
292,494
Super User 2025 Season 1
Martin Dráb
231,305
Most Valuable Professional
nmaenpaa
101,156