HcmApplicationBasketLocationView::primaryLocationExist Method
Determines whether any primary location exists for an individual other than the supplied location record ID.
Syntax
client server public static boolean primaryLocationExist(
HrmApplicationBasketRecId _applicationBasketRecId,
LogisticsLocationRecId _location,
[boolean _isPostal,
LogisticsElectronicAddressMethodType _methodType,
boolean _showErrorWhenPrivate])
Run On
Called
Parameters
- _applicationBasketRecId
Type: HrmApplicationBasketRecId Extended Data Type
The record ID of the HRMApplicationBasket table for which other primary locations are to be found.
- _location
Type: LogisticsLocationRecId Extended Data Type
The record ID of the location which is used to find other primary locations.
- _isPostal
Type: boolean
A Boolean value that indicates whether to check for postal locations.
- _methodType
Type: LogisticsElectronicAddressMethodType Enumeration
A value that indicates the communication type which is used to check for other primary communication information.
- _showErrorWhenPrivate
Type: boolean
Return Value
Type: boolean
true if other primary location exists other than the supplied location record ID for the supplied entity; otherwise, false.