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 :
Microsoft Dynamics CRM (Archived)

Delete records that match with excel spreadsheet

(0) ShareShare
ReportReport
Posted on by

Today I received an Excel sheet containing a list of items that need to be removed from the Price List, there are around 3000 such items to be removed. Is there any easy way to do this operation, knowing that Re-import doesn't delete items, but only update changes.

 

Using Dynamics CRM 2015 Online. (7.0)

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Thanks Guido for the reply.

    I found that these items are part of only one price list, So editing them from Products entity itself would work. So I thought of filtering by Default Price list and do a vlookup from my delete list and change the status to "Retired". But after re-import I found that Status field is not getting updated even though imports were successful, do you know why and is there any workaround for this?

  • Verified answer
    Community Member Profile Picture
    on at

    I solved my problem without writing any custom code:

    Created an option set field on product entity "To be retired"

    Exported all the items in the price list.

    Done a vlookup against my delete list of 'to be deleted", for those matching records, updated "to be retired" as "Yes".

    Created a real-time workflow for Record create and Records field change(to be retired), change status of product to "Retired"

    Imported the updated sheet and all the needed items were retired!

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans