LogisticsElectronicAddress::findPrimary Method
Finds the primary record in the LogisticsElectronicAddress table that corresponds with the specified LogisticsElectronicAddressMethodType value.
Syntax
client server public static LogisticsElectronicAddress findPrimary(
LogisticsLocationRecId _location,
LogisticsElectronicAddressMethodType _type,
[boolean _forUpdate])
Run On
Called
Parameters
- _location
Type: LogisticsLocationRecId Extended Data Type
The location record ID of the record to find.
- _type
Type: LogisticsElectronicAddressMethodType Enumeration
The LogisticsElectronicAddressMethodType of the record to find.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: LogisticsElectronicAddress Table
A record in the LogisticsElectronicAddress table.