Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How can I remove all duplicate item masters..?

(0) ShareShare
ReportReport
Posted on by 414

Hi,

Please tell me how can I remove all duplicate items masters in one time. Instead of doing manually one by one.

*This post is locked for comments

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: How can I remove all duplicate item masters..?

    Hi Shambhu,

    Are you uploading the Item ? Or do you want to change the existing data in system ?

    If yes then it is better to block those duplicate item so in future nobody will be used and they can identify

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: How can I remove all duplicate item masters..?

    Standard NAV does not allow mass deletion of items. This is done because each time an item is deleted, the system performs a variety of verifications on whether the item can be deleted or not. So the standard functionality is to delete it one by one.

    It is not recommended to delete them in bulk using SQL as you might accidentally delete those items that should not be deleted (have open item entries) and thus you would ruin database integrity.

  • Mr D365 Profile Picture
    Mr D365 414 on at
    RE: How can I remove all duplicate item masters..?

    Thank you for your advice.

  • Mr D365 Profile Picture
    Mr D365 414 on at
    RE: How can I remove all duplicate item masters..?

    Thank you

  • ManishKutar Profile Picture
    ManishKutar 36 on at
    RE: How can I remove all duplicate item masters..?

    Hi,

    Its always risky to delete Item master, there are chances that Item may be already in use or may had been used in past. It is suggested to BLOCK the Item instead of deleting them.

    Removal of duplicate Item name can be tricky depending on which duplicate item you need to BLOCK or DELETE.

    For example, if there are below three items

    | Item."No." | Item.Name |

    | A | TESTITEM |

    | B | TESTITEM |

    | C | TESTITEM |

    And every time you need to DELETE or BLOCK all items except first item then task can be little easy.

    However, if you need to DELETE or BLOCK selected items from duplicate items list then you need to consider other conditions there.

    Hope, I've not confused you! :-)

    Best Regards,

    Manish Kutar

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 60,161 Super User 2025 Season 1 on at
    RE: How can I remove all duplicate item masters..?

    Please contact your partner or take technical training.

    please try something and let us know what you are facing while writing code.

    forum is not to write code for you and do your job..sorry..

  • Mr D365 Profile Picture
    Mr D365 414 on at
    RE: How can I remove all duplicate item masters..?

    Yes based on name we identify it. Please tell me how to right It I don't  have idea about code

  • RE: How can I remove all duplicate item masters..?

    Hi,

    How do you identify duplicate items? Are the Item names similar ? If so you can write your code in Codeunit and remove the duplicates at once.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans