Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes a relation between a person and vendor from the VendPersonExternalParty table.
Syntax
server public static boolean removeRelation(
    UserId _userId, 
    UserExternalPartyEntityType _entityType, 
    DirPartyRecId _externalParty, 
   [DataAreaId _dataAreaId])
Run On
Server
Parameters
- _userId
 Type: UserId Extended Data Type
 The ID of the user for which to remove the relation.
- _entityType
 Type: UserExternalPartyEntityType Enumeration
 The entity type of the external party.
- _externalParty
 Type: DirPartyRecId Extended Data Type
 The external party related to the user.
- _dataAreaId
 Type: DataAreaId Extended Data Type
 The legal entity of the external entity.
Return Value
Type: boolean
true if the relation is successfully removed; otherwise, false