Share via


LogisticsLocationEntity::findLocation Method [AX 2012]

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

Syntax

server public static LogisticsLocationEntity findLocation(
    Common _common, 
    LogisticsLocationRoleType _roleType, 
   [TransDateTime _transDateTime, 
    boolean usePrimary])

Run On

Server

Parameters

  • _common
    Type: Common Table
    The entity for which to find the location.
  • usePrimary
    Type: boolean
    A Boolean value that specifies whether to return the primary location for the entity.

Return Value

Type: LogisticsLocationEntity Class
A LogisticsLocationEntity object that corresponds to the location that was found.

See Also

Reference

LogisticsLocationEntity Class