LogisticsAddressDistrict::findBestMatch Method
Finds the best available LogisticsAddressDistrict record, depending on the specified inputs.
Syntax
client server public static LogisticsAddressDistrict findBestMatch(
LogisticsAddressDistrictName _districtName,
LogisticsAddressCityRecId _cityId,
LogisticsAddressCountryRegionId _countryRegionId,
[boolean _forUpdate])
Run On
Called
Parameters
- _districtName
Type: LogisticsAddressDistrictName Extended Data Type
The name of the district.
- _cityId
Type: LogisticsAddressCityRecId Extended Data Type
The record ID of the city.
- _countryRegionId
Type: LogisticsAddressCountryRegionId Extended Data Type
The record ID of the country or region.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: LogisticsAddressDistrict Table
A LogisticsAddressDistrict record.