Share via


LogisticsEntityLocationFormHandler.primaryLocationExist Method [AX 2012]

Determines whether any primary location exists for an entity other than the specified location record ID.

Syntax

public boolean primaryLocationExist(
    TableId _entityLocationTableId, 
    RecId _entity, 
    LogisticsLocationRecId _location, 
   [boolean _isPostal, 
    LogisticsElectronicAddressMethodType _methodType, 
    boolean _showErrorWhenPrivate])

Run On

Called

Parameters

  • _isPostal
    Type: boolean
    A Boolean value that specifies whether to check for postal locations.
  • _showErrorWhenPrivate
    Type: boolean

Return Value

Type: boolean
true if a primary location exists other than the specified location record ID for the specified entity; otherwise, false.

See Also

Reference

LogisticsEntityLocationFormHandler Class