Failed to execute query because no root data source on the form matches the root datasource on the query.

My friend was creating custom lookup and he encounter following error.





This error usually occur when the table name differs in SysTableLookup::newParameters() with the table that is used in query.

Comments

  1. In D365 it can be caused by a property at the menuItem.
    If the property Copy Caller Query is enabled the error will occour when you use the hyperlink

    ReplyDelete

Post a Comment

Popular posts from this blog

X++ Get Start Date and End Date of Month

Dynamics AX 365 : The name does not denote a class, a table or an extended data type

Error while setting server report parameters. Error message: The permissions granted to user are insufficient for performing this operation. (rsAccessDenied)