DirParty::primaryElectronicAddressLocator Method [AX 2012]

Retrieves the primary electronic address locator.

server public static str primaryElectronicAddressLocator(DirPartyRecId _partyRecId, [LogisticsElectronicAddressMethodType _type])

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.

Return Value

Type: str
The electronic address.

Only one email address is primary so at most only one email address is returned.

Show: