Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Lookup in inquiry form

(0) ShareShare
ReportReport
Posted on by

When attempting to select value from drop down in the advanced query for field "code", getting error like "Type void is not supported in this type of lookup's".

can someone help me to get it resolve.

pastedimage1663828004594v1.png

  • Community Member Profile Picture
    on at
    RE: Lookup in inquiry form

    The code field is of size 4 & it has relation with another table as well

  • Martin Dráb Profile Picture
    231,758 Most Valuable Professional on at
    RE: Lookup in inquiry form

    It's seems that your debugging told you more about where the error gets thrown. Can you share it with us, please?

    Also, please tell us more the field (you forgot this request). For example, what is the string size? Does the field have a relation to another table?

  • Community Member Profile Picture
    on at
    RE: Lookup in inquiry form

    Hi Martin, how can we check the code related to this issue, when I try to debug it is hitting the systable lookup and add method control --method.

  • Community Member Profile Picture
    on at
    RE: Lookup in inquiry form

    Yes Martin, this thread can you moved from retail to dev.

  • Martin Dráb Profile Picture
    231,758 Most Valuable Professional on at
    RE: Lookup in inquiry form

    All right, so please go to the development environment and do what I suggested.

    By the way, the category of this thread looks wrong to me. Do you agree with changing it from Retail to Development / Customization / SDK?

  • Community Member Profile Picture
    on at
    RE: Lookup in inquiry form

    We are getting this error in all the three environments (DEV, QA & in Production), we done the Full Compile, Full CIL and database synchronization as well but still getting this error.

    It seems previous developers we worked on the related form didn't test this scenario in DEV, Now the code was in PROD and the end user identified this issue.

  • Martin Dráb Profile Picture
    231,758 Most Valuable Professional on at
    RE: Lookup in inquiry form

    Can you tell us more about your situation, please?

    Did it work before? Is it a new development? Do you have the same problem with other fields?

    Which type of environment it is? If a development environment, you'll be able to get much more information. Please compile code and synchronize database, to rule out problems with these things. Then share the setup of the field with us and debug the code to collect more information.

    If it's a test/production environment, was this successfully tested in a development environment? If it doesn't work there either, I would ask a developer to investigate it.

  • Community Member Profile Picture
    on at
    RE: Lookup in inquiry form

    Hi Martin, it was of "string" type.

  • Martin Dráb Profile Picture
    231,758 Most Valuable Professional on at
    RE: Lookup in inquiry form

    What is the data type of this field?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,758 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans