web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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...
  • WillWU Profile Picture
    22,363 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 245 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 227

#3
Subra Profile Picture

Subra 184 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans