Notifications
Announcements
No record found.
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)
it could be because this method might have been referenced in other methods, please check cross reference and update accordingly.
Hi,
Does this EDT exist in the system - ResoetGroupId? If yes, what is syntax error that you are getting?
Hi..Thanks for the Reply..
Yes...ResortGroupId EDT exist ..
Even though I am getting syntax error in find method parameter
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".
No...I have declare it correctly ...but in this blog the word typed incorrectly
Are you using AX or D365 F&O?
If you remove the parameter from the method, does the error go away?
I am using Ax 2012 ...
can you paste the error screenshot?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 451 Most Valuable Professional
André Arnaud de Cal... 428 Super User 2025 Season 2
BillurSamdancioglu 239 Most Valuable Professional