To delete all nodes representing a business object (for instance, all nodes that point to Part-5000) in both the structure tree, use: top.deleteObjectFromTrees(String objectId, 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. top.deleteStructureNode(String objectId, Boolean refresh); |