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 :
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
    14,965 Microsoft Employee on at
    The company on the selected Contact must match the company for the current Order record
    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
    The company on the selected Contact must match the company for the current Order record
    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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans