Deleting All Nodes Representing a Business Object

You can delete all nodes for a business object from trees.

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

[Tree].deleteObject(String objectID, boolean refresh);