Abhi,
While searching through the net I found your code, I am looking to delete a partner from the approved vendor list so our requirement is nearly the same. However, when I try to delete I get an error:
Status and active flag in one item do not match
It suggests a simple issue with matching somewhere but I haven't been able to resolve, do you happen to have an example of where you deleted a partner from an existing AVL?
Many Thanks,
Colm