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
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
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
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.
Thank you for your advice.
Thank you
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
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..
Yes based on name we identify it. Please tell me how to right It I don't have idea about code
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.
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,409
Most Valuable Professional
nmaenpaa
101,156