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, ...
Unanswered

Dual write issue: Not being able to save customers

(0) ShareShare
ReportReport
Posted on by 1,645

Hi,

I am getting following error while trying to create new customer in D365F&O. When I tried to look into the field Writes in CE Accounts, I do no see that field. Any idea?

Cannot save the changes to the database. Unit of Work can not commit transaction.
Unable to write data to entity accounts.Writes to CustCustomerV3Entity failed with error message Request failed with status code BadRequest and CDS error code : 0x80040265 response message: Object reference not set to an instance of an object...
Cannot save the changes to the database. Unit of Work can not commit transaction.
Unable to write data to entity accounts.Writes to CustCustomerV3Entity failed with error message Request failed with status code BadRequest and CDS error code : 0x80040265 response message: Object reference not set to an instance of an object...
Cannot save the changes to the database. Unit of Work can not commit transaction.
Unable to write data to entity accounts.Writes to CustCustomerV3Entity failed with error message Request failed with status code BadRequest and CDS error code : 0x80040265 response message: Object reference not set to an instance of an object...
I have the same question (0)
  • WillWU Profile Picture
    22,361 on at

    Hi Alok Shrestha,

    Please make sure the value of the alternative key in Dataverse you define must match the key of the data entity defined in the Finance and Operations app.

    See the example:docs.microsoft.com/.../enable-entity-map

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 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 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