web
You’re offline. This is a read only version of the page.
close
Skip to main content
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 444

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

I have the same question (0)
  • Suggested answer
    Amol Salvi Profile Picture
    18,698 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
    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.

  • S Shambhu Profile Picture
    444 on at
    RE: How can I remove all duplicate item masters..?

    Thank you for your advice.

  • S Shambhu Profile Picture
    444 on at
    RE: How can I remove all duplicate item masters..?

    Thank you

  • ManishKutar Profile Picture
    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
    60,939 Super User 2025 Season 2 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..

  • S Shambhu Profile Picture
    444 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

  • Community Member Profile Picture
    on at
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#2
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans