Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

Import data (Data Management) - set lookup field to empty/null

Posted on by 5

Hi,

After many google searches, I am unable to find an answer to what I suspect is a simple question.

As part of our Business Central integration, I need to delete all pricelists in CRM.

To do this, I need to update all existing orders to have an empty pricelist.

I can do this manually - however there are 24,000 orders in the system.

SO I exported all orders (including pricelist column) to excel.

Changed all pricelist columns to have no value and did the import.

All orders still had a pricelist :-(

Can anyone advise how to update the pricelist to be empty via data import?

I could do it via flow but...

I would have to write it

I suspect it will take a looooong time.

Stan

Categories:
  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 6,407 Moderator on at
    RE: Import data (Data Management) - set lookup field to empty/null

    Hello Stan,

    You can use "Bulk Data Updater" in the XRM Toolbox it will take probably less time than power automated flow to update this records.

    Thank you,

    Amit Katariya

    Please mark it as Verified, if your issue is resolved.

  • Suggested answer
    Mohsin Ali Profile Picture
    Mohsin Ali 3,610 on at
    RE: Import data (Data Management) - set lookup field to empty/null

    I am suspecting in addition to existing, new orders might have been created without pricelist.

    So make sure you have extracted the orders as dynamic worksheet instead of normal static sheet.

    Additionally I would recommend to use instant power automate flow to clear pricelist from all the orders.

    Lastly, make sure there is no business rule, plugin or workflow (including power automate) is active that is setting the default values to the Pricelist field.

  • Suggested answer
    Stan_W_Gifford Profile Picture
    Stan_W_Gifford 5 on at
    RE: Import data (Data Management) - set lookup field to empty/null

    Hmmm - may be premature - Turns out I had a business rule that set the pricelist on the order if the pricelist was null - so it distracted me when I looked at the order - and I assumed the data import had not worked!

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,570 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,683 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans