W042: Unlink contact from entity
Removes a contact-to-entity association without deleting the contact. Triggered from Customer or Vendor detail.
Steps
-
Load the link. Call
Contacts.getLinkById. -
Unlink. Call
Contacts.unlink(linkId).
Returns
Nothing.
Business rules
- The contact survives. Unlinking removes the association only; the contact itself stays in the pool and may still be linked to other entities.
Errors
NotFoundError. The link was not found.