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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Dual-write error Project validation failed. SourceEntitySchema: Employment doesn't have primary company field set and DestinationEntitySchema

(0) ShareShare
ReportReport
Posted on by 2,676

Hi, I want to enable dual-write between employment standard entities but i am getting following error on initial-sync

Project validation failed. SourceEntitySchema: Employment doesn't have primary company field set and DestinationEntitySchema: cdm_employments has a primaryCompanyField set to cdm_companyid.cdm_companycode. Dual-write only supports mapping between cross-company entities or company-specific entities from both sides.

pastedimage1623361345452v1.png

i checked standard F&O AK set to LegalEntityID + Worker + employment start date and end date. whereas CDS standard entity having AK worker + employment start date + company id. 


I added new AK to CDS entity and add employment end date as well but still getting same error.  

I have the same question (0)
  • Suggested answer
    Luke Sha Profile Picture
    on at

    This is one known issue fixed in App 10.0.14. Please make sure you upgrade to latest D365F&O, also installed the latest Dual write solution. If issuer persists, you may raise support ticket for Microsoft to check further.

  • SU-22040800-0 Profile Picture
    2,459 on at

    Hi Luke

    My version is on 10.0.29 but the issue still comes up.

    Do you know if this has been resolved? Or if there is a way to resolve it ?

    thanks !

    pastedimage1664525960859v1.png

  • Souf Profile Picture
    5 on at

    Hi,

    I have same issue.

    Do you finde solution ?

    Thank you so mutch

  • Community member Profile Picture
    2 on at
    I am facing the same issue. Could you please help me?

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans