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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
New Discussion

"Query Builder Error" on Company Name/Parent Account attribute on Accounts Form?

(0) ShareShare
ReportReport
Posted on by 20

Problem:

Open Accounts form -> click on Company Name Lookup

It shows error "Query Builder Error"

Error Message:

'Account' entity doesn't contain attribute with Name = 'id' and NameMapping = 'Logical'.

Cause:

This is happening because on click of lookup field, function parentcustomerid_setadditionalparams is getting called and it adds contact id in lookup query for both account and contacts. Since contactid field doesn't exist on account entity it throws error

Fix:

Product Team has already fixed the issue with client script and it will reach to customers soon.

Mitigation:

1) Open form in customization window.

2) Remove the field from the form(all the occurrences if same field is present multiple times on form).

3) Save and publish the form.

4) Add the field again. Save and publish.

*This post is locked for comments

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans