RHRMReport_T2::findPostalAddressByRole Method [AX 2012]

Finds a postal address for a party of a certain purpose.

Syntax

server public static LogisticsPostalAddress findPostalAddressByRole(DirPartyRecId _partyRecId, [LogisticsLocationRoleType _role])

Run On

Server

Parameters

Return Value

Type: LogisticsPostalAddress Table
A LogisticsElectronicAddress table buffer that is based on the search criteria.

Remarks

If no primary address is found, this method returns the first record.

See Also

Reference

RHRMReport_T2 Class