Changing the Name of All Nodes Representing a Business Object

You can change the name of all nodes that represent a business object.

To change the name of all nodes representing a business object (for instance, all nodes that point to Part-5000), use:

[Tree].getObject(String objectID).changeName(String newName,  

       boolean refresh);

The following method is deprecated. If existing custom code uses it, the code will work for now, but the method will be eliminated eventually so you should no longer use it.

[Tree].getObject(String objectID).changeObjectName(String 
newName,  

          boolean refresh);