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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Syntax error on TypeId

(0) ShareShare
ReportReport
Posted on by 1,883

The following error occurs in insertPSAQUOTATIONTMP[Related to PSAQUOTATIONDP RDP class]. Please let me know how to solve this error. Thanks in Advance!!!!

quota.jpg

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Sohaib Cheema Profile Picture
    48,972 User Group Leader on at
    RE: SSRS with RDP

    There is not any method named as find on table SalesQuotationTypeGroup

    you have two options

    1) create find method on table SalesQuotationTypeGroup

    or

    2) select record from table SalesQuotationTypeGroup, using select statement and then assign value in your rdp

  • Faqruddin Profile Picture
    1,883 on at
    RE: SSRS with RDP

    3731.Untitled.png

  • Verified answer
    Sohaib Cheema Profile Picture
    48,972 User Group Leader on at
    RE: SSRS with RDP

    in system there is no EDT named as TypeId

    so use correct id as smmQuotationTypeId

    replace first line of code as below

    static SalesQuotationTypeGroup find(smmQuotationTypeId  _typeId,

  • Verified answer
    Sohaib Cheema Profile Picture
    48,972 User Group Leader on at
    RE: SSRS with RDP

    also line of index should be as following

    index hint TypeIdx

    you have written it as TermIdx (I think you have not any customized index)

  • Suggested answer
    Martin Dráb Profile Picture
    236,570 Most Valuable Professional on at
    RE: SSRS with RDP

    It's already your second thread with name "SSRS with RDP" - please try to use more descriptive titles.

    And in this case, your compilation error doesn't actually have anything to do the with reports. You could write the same code (and the same error) anywhere else (such as in a form), so the title is actually misleading. It doesn't really help other users when navigating in this forum.

    To address your problem, first you have to learn fix compilation errors before running your code. You see exactly where you have a syntax, so don't waste trying to fix something else. I guess that the datatype doesn't exist in your AX.

  • Faqruddin Profile Picture
    1,883 on at
    RE: Syntax error on TypeId

    Dear Martin - Please can you suggest me a best title for my Customization?

    I'm new in X++ coding and customization!!!

    Thank you!!!

  • Faqruddin Profile Picture
    1,883 on at
    RE: Syntax error on TypeId

    Thanks Sohaib. Actually I used field instead of EDT, Thanks a lot for your Help!!!

    Faqru Shaik

  • Martin Dráb Profile Picture
    236,570 Most Valuable Professional on at
    RE: Syntax error on TypeId

    I've already changed the title according to the information you've provided so far.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans