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, ...
Unanswered

COUNT field incorrect or syntax error

(0) ShareShare
ReportReport
Posted on by

Good day, I am encountering the issue COUNT field incorrect or syntax error whenever I try to release products. The Form is customized but after debugging using AX debugger there are no errors that occurs because of the code, and it only happens on specific items which has many product variants. 

Cannot select a record in <Cannot disclose the table name> Reference 0,0. The SQL database has issued an error.
SQL Error Description: [Microsoft][SQL Server Native Client 11.0]Count field incorrect or syntax error.

Is anyone familiar with this kind of issue? Any advise would be greatly appreciated.

I have the same question (0)
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Where exactly is the error thrown from?

  • Community Member Profile Picture
    on at

    Hello good day,

    The error occurs on the end of the method "init" in SysSetupFormRun class. There is no specific line of code which triggers the error message.

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    What exactly do you mean by the end of init()? Isn't there a CoC method or a post-method event handler? And are you sure it's not something executed after init(), such as in run()?

    I would start by checking the exception object in the debugger and examining its StackTrace property.

  • Dean Stegmiller Profile Picture
    on at

    Hi Charos,

    Were you able to figure this out?  If so, please document the fix so if others encounter this it might help them resolve their issue.

    Thanks

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 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans