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.
Indicates whether a relation exists between a specified user and a vendor.
Syntax
server public static boolean existRelation(
    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 check for a relation.
- _entityType
 Type: UserExternalPartyEntityType Enumeration
 The entity type of the external party.
- _externalParty
 Type: DirPartyRecId Extended Data Type
 The party for which to check for a relation.
- _dataAreaId
 Type: DataAreaId Extended Data Type
 The legal entity of the external entity.
Return Value
Type: boolean
true if a relation exists between the user and the vendor; otherwise, false.