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 :
Customer experience | Sales, Customer Insights,...
Answered

The company on the selected Contact must match the company for the current Order record

(1) ShareShare
ReportReport
Posted on by 34
We're getting this error when trying to select a contact for a sales order record in D365 Sales:

Business process error
The company on the selected Contact must match the company for the current Order record:


The contact does not have a Company in its record, but we can't add a Company to the contact - we get this: 

Company: Company can be filled in only when 'Is Customer' or 'Is Vendor' is set to Yes

Of course, this is just an associated contact for the Customer record - it isn't a Customer or Vendor itself. The Customer has the same Company as the Order.
 
How would we turn off the company matching requirement? Is there something else I'm missing?
 
 
 
 
 
 
I have the same question (0)
  • Leah Ju Profile Picture
    Microsoft Employee on at
    Hi,
    Did you check if any workflow or plugin is running on the Order table?
    I'm testing in the environment and it doesn't reproduce your error.
    By "company" do you mean account?
    Through checking:
    The order has the following two relationship with account and contact:
    I populated each of these two columns with two unrelated accounts and contacts and did not get an error message.
  • Verified answer
    SB-02051736-0 Profile Picture
    34 on at
    By Company I mean the Company field representing the legal entity that the Order belongs to - not the Customer / Account. This is a multi-entity deployment.

    I think I found the problem. The column was Contact Person but the table was Contact. The version I wanted was the Contact Person column from the Contact for Customer or Vendor table. That seems to resolve the issue as it doesn't check for the legal entity (Company) that owns the Contact, but rather looks through the Customer or Vendor relationship with the Company.

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 > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans