replace a partner with another one when the user changes the category
I have a unique requirement to replace a partner with another one when the user changes the category of the service order.
Please suggest a FM that will be appropriate for this functionality. I've tried to use FUNCTION 'CRM_PARTNER_MAINTAIN_SINGLE_OW'. It didn't work. Instead of replacing it, it is adding a new partner with same partner function.
Or may be there is a way to delete it.
Please provide your suggetions how can I proceed further.
Thanks and regards,