Renaming Items in bulk

sunnyksunnyk Member Posts: 280
Hello,
Is it Possible to rename Items in bulk(50 Plus) by running a process report in Dynamics NAV 2016 and then Creating the Same Item code again for the purpose of changing the Costing method. Do i Need to publish this report or i can run the report from Development Environment itself.
Here is the code what we wrote on Item.

Best Answer

Answers

  • sunnyksunnyk Member Posts: 280
    Thank you Mohan.
  • KishormKishorm Member Posts: 921
    edited 2016-11-23
    You may want to add a COMMIT after each item - this should make it a little quicker and also means you and stop / continue at a later point if it is taking too long. Obviously only do this if you don't mind the possibility of having some items renamed and others not yet.

    If you did this thought then you would need to add a bit of extra code to check if the blocked item (-BLK) already exists for the item you are about to rename and if it does then skip it.
  • sunnyksunnyk Member Posts: 280
    Hello Kishrom, thanks for the suggestion. But I am already using String '|' on the dataItemView for the Items to be changed.
Sign In or Register to comment.