Hi Michael,
I had to go back and check this ;-) CRM_BUPA_HIERARCHY_SEARCH_NODE might help, by specifying the business partner number as one of the search parameters, the logic takes care of converting it to a customer number and then finding the node corresponding to that customer. I'm not sure if it will work for your case, but it will be worth a try.
Vijayalakshmi