web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Syntax error

(0) ShareShare
ReportReport
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)

I have the same question (0)
  • Community Member Profile Picture
    on at

    it could be because this method might have been referenced in other methods, please check cross reference and update accordingly.

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi,

    Does this EDT exist in the system - ResoetGroupId? If yes, what is syntax error that you are getting?

  • prasadn.nampalli@gmail.com Profile Picture
    45 on at

    Hi..Thanks for the Reply..

    Yes...ResortGroupId EDT exist ..

    Even though I am getting syntax error in find method parameter

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Can you make sure it's not a typo? You mentioned ResortGroupId is the EDT that exists. In the method signature provided in the question, you mentioned "ResoetGroupId".

  • prasadn.nampalli@gmail.com Profile Picture
    45 on at

    No...I have declare it correctly ...but in this blog the word typed incorrectly

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Are you using AX or D365 F&O?

    If you remove the parameter from the method, does the error go away?

  • prasadn.nampalli@gmail.com Profile Picture
    45 on at

    I am using Ax 2012 ...

  • Community Member Profile Picture
    on at

    can you paste the error screenshot?

  • prasadn.nampalli@gmail.com Profile Picture
    45 on at
    1. 16439791860157969178315927141840.jpg16439791164344966887276436104174.jpg
  • Verified answer
    nmaenpaa Profile Picture
    101,162 Moderator on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans