DirParty::electronicAddressLocatorsByRole Method [AX 2012]

Retrieves the electronic locator for a party and role.

server public static container electronicAddressLocatorsByRole(
    DirPartyRecId _partyRecId, 
   [LogisticsElectronicAddressMethodType _type, 
    LogisticsLocationRoleName _role])

Run On

Server

Parameters

_partyRecId
Type: DirPartyRecId Extended Data Type
The RecId for the DirParty table.
_type
Type: LogisticsElectronicAddressMethodType Enumeration
The type of electronic address.
_role
Type: LogisticsLocationRoleName Extended Data Type
The address's role name.

Return Value

Type: container
A container of electronic address locators.
Show: