Share via


LogisticsLocationEntity::findPostalAddress Method [AX 2012]

Finds a postal address for the specified common for a specified LogisticsLocationRoleType sequencing, that is, private, primary, or public.

Syntax

server public static LogisticsPostalAddress findPostalAddress(
    Common _common, 
    LogisticsLocationRoleType _roleType, 
   [TransDateTime _transDateTime, 
    boolean _usePrimary])

Run On

Server

Parameters

  • _common
    Type: Common Table
    An entity for which to find a postal address.
  • _usePrimary
    Type: boolean
    A Boolean value that indicates whether to return the primary location for the entity.

Return Value

Type: LogisticsPostalAddress Table
A LogisticsPostalAddress record for the entity.

See Also

Reference

LogisticsLocationEntity Class