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

Delete records through data entity

(0) ShareShare
ReportReport
Posted on by 66

hi,

Recently I came across a requirement where the client has asked to create an entity to create ,update as well as delete a record via the entity.
So my question is that is it even possible to delete a record via the entity. I mean does the std entities allow records to delete with the same entity.
I know that there is something related to truncate data however I am not sure if we need to mark some records to delete and others to create.

Thanks,

VK

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    If the data entity is not Read only, deleting via data entity is possible when you use OData integration (for example Excel add-in).

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi VK,

    Yes, it can be done!!!

    Import data entity by keeping the BLANK for those fields which are required to delete.

  • vicky1234 Profile Picture
    66 on at

    Thanks Murthy for the quick reply

    what do you mean by keeping the blank fields....are you talking about the excel addin ->delete and publish.

    I mean to ask if its possible via DMF , you create a project with the given entity and delete the records.

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,625 Super User 2025 Season 2 on at

    It depends on the records you want to delete.  You can never delete posted transactions.  Master data, config data, yes, as long as the data hasn't been used on a transaction.  The way to use DMF to delete is to select 'Truncate entity data' in your import project.  However, this action will delete ALL data in the tables related to the entity, so use with caution.  More might be possible with a custom entity, that I'm not sure about.

  • vicky1234 Profile Picture
    66 on at

    Thanks Frank,

    I need to check how deleting multiple records can be achieved as well as creating with the same entity.

    Offcourse both will be separate projects but again even I am not sure on this

  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,928 Super User 2025 Season 2 on at

    Hi Vicky,

    As mentioned above, using OData (e.g. Excel) can do a delete action. If you need to delete multiple records, you can delete multiple from Excel or e.g. provide a list and use Power Automate to delete the records. Technically, the records will be deleted one by one as the delete action using OData is per record.

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

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 291 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans