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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Delete bulk of items

(1) ShareShare
ReportReport
Posted on by 28
 

Hello everyone,

I need to delete a bulk of items, about 200,000 items from the released products, I tried the data management using import project after enabling the "Truncate data entity" option, but nothing happens, and the items still not deleted.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,109 Super User 2025 Season 2 on at
    Hi,
     
    What is the reason for having such huge number of records to be deleted? Are you able to delete an item manually or do you get an error message then? If items do have transactions, they can't be deleted anymore.
     
    In case there are no transactions or other references to these items, you can use e.g. a list with items to be deleted and use a Power Automate flow. Or consider writing an X++ script to delete them.
  • CU27080720-1 Profile Picture
    28 on at
    Thanks for your response. No, there are no transactions on these items. I can't delete them manually because there are too many, and the session ends before they are completely deleted. The deletion is because these items were uploaded with wrong item numbers.
  • Suggested answer
    Adis Profile Picture
    6,069 Super User 2025 Season 2 on at
    Hey,
     
    Just to add what André said with x++, the custom script is the way to go in my opinion.
     
    Kind regards, Adis
     

    If this helped, please mark it as "Verified" for others facing the same issue

    Keep in mind that it is possible to mark more than one answer as verified

  • Suggested answer
    AnilCh Profile Picture
    18 on at
    Hi
    To delete a bulk of items follow these steps.
    1. In Data management >> Data management parameters >> Entity Settings >> Configure entity execution parameters --- Enter these details
    2. Create  a import project
    3. Select the excel file(File contains only headers of the entity)
    4. Enable the "Truncate entity data" as "Yes"
    5. then click Import in batch.
     
    This will solve your problem.

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 301 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Siv Sagar Profile Picture

Siv Sagar 105 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans