Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Syntax error

Posted on by 45

when I declare parameter in find method at table method ...but I'm getting syntax error in the below lines...how can I resolve this error

Static Tablename find(ResoetGroupId _resortGroupId)

  • RE: Syntax error

    OK..Thanks ...I will definitely follow

  • Martin Dráb Profile Picture
    Martin Dráb 230,188 Most Valuable Professional on at
    RE: Syntax error

    To mark a reply (replies) as the verified answer, use Did this answer your question? > Yes on the particular reply.

    If you want to learn more, look at Suggested and Verified Answers in Microsoft Dynamics Community Help Wiki.

  • RE: Syntax error

    Resolved

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Syntax error

    Great!!! please mark as resolved

  • RE: Syntax error

    Thank you... just now Iam also got to know the reason for the error.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Syntax error

    If EDT exists, then you can try recompiling the entire project once

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Syntax error

    The EDT name is FMS_ResortGroupId as per your screenshot. You should use this in your method instead of ResortGroupId.

  • RE: Syntax error

    16439794407802068837551640119949.jpg

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Syntax error

    Hi,

    could you please provide a screenshot from your AOT so that we can see that you really have a data type called ResortGroupId.

    Most likely you don't have such EDT, instead it's called FMS_ResortGroup id or something else.

  • RE: Syntax error
    1. 16439791860157969178315927141840.jpg16439791164344966887276436104174.jpg

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans