DirParty::findElectronicAddressByRole Method [AX 2012]
Finds the contact information for a party of a certain type and purpose.
server public static LogisticsElectronicAddress findElectronicAddressByRole(
DirPartyRecId _partyRecId,
[LogisticsElectronicAddressMethodType _type,
LogisticsLocationRoleType _role])
Run On
ServerParameters
- _partyRecId
- Type: DirPartyRecId Extended Data Type
The DirPartyRecId value of the party to which the contact information is related.
- _type
- Type: LogisticsElectronicAddressMethodType Enumeration
The LogisticsElectronicAddressMethodType base value of the contact information for which to search; optional
- _role
- Type: LogisticsLocationRoleType Enumeration
The LogisticsLocationRoleType value of the purpose of the contact information for which to search; optional.
Return Value
Type: LogisticsElectronicAddress TableA LogisticsElectronicAddress table buffer that is based on the search criteria.
Show: