Notifications
Announcements
No record found.
Hi,When dual write is enabled, if you try to create a contact by going to customers page --contacts --view contacts -- add contact. you'll get this error. Is there any fix for this other than creating the contact by clicking add contact directly instead of from view contacts?
Hi D365Fo user,
Refer to the below link. You need to make use of Add contact instead of view contact. This is the only suggestion given in the Microsoft documentation if the dual write is enabled.
https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/dual-write/dual-write-troubleshooting-party-gab
Thanks,
Girish S.
Hi Girish,
I'm getting the same error when trying to create a contact by code using smmContactPersonV2Entity
I read this but i'm not sure what relation should i do exactly
ttsbegin; DirPartyTable dirPartyTable = DirPartyTable::findRec(CustTable::find(reqContract.CustAccount()).Party); smmContactPersonV2Entity contactPersonEntity; NumberSeq numberSeq = NumberSeq::newGetNum(ContactPerson::numRefContactPersonId()); contactPersonEntity.ContactPersonId = numberSeq.num(); contactPersonEntity.AssociatedPartyNumber = dirPartyTable.PartyNumber; contactPersonEntity.FirstName = contact.Name(); if(contact.Email()) //assume contact is defined { contactPersonEntity.PrimaryEmailAddress = contact.Email(); } if(contact.Phone()) { contactPersonEntity.PrimaryPhoneNumber = contact.Phone(); } contactPersonEntity.insert(); ttscommit;
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 565 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader