UserExternalParty::createRelation Method
Creates a new relation between a user and a vendor.
Syntax
server public static void createRelation(
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 create a relation.
- _entityType
Type: UserExternalPartyEntityType Enumeration
The entity type of the external party.
- _externalParty
Type: DirPartyRecId Extended Data Type
The party for which to create a relation.
- _dataAreaId
Type: DataAreaId Extended Data Type
The legal entity of the external entity.