LogisticsAddresssCity::findCity Method
Find LogisticsAddresssCity based on search parameters.
Syntax
client server public static LogisticsAddresssCity findCity(
LogisticsAddressCity _cityName,
[LogisticsAddressCountryRegionId _countryRegionId,
LogisticsAddressCountyId _countyId,
LogisticsAddressStateId _stateId,
boolean _forUpdate])
Run On
Called
Parameters
- _cityName
Type: LogisticsAddressCity Extended Data Type
Name of city to find.
- _countryRegionId
Type: LogisticsAddressCountryRegionId Extended Data Type
Country/region of city to find. Optional.
- _countyId
Type: LogisticsAddressCountyId Extended Data Type
County of city to find. Optional.
- _stateId
Type: LogisticsAddressStateId Extended Data Type
State of city to find. Optional.
- _forUpdate
Type: boolean
true if returned record needs to be updatable; otherwise, false.
Return Value
Type: LogisticsAddresssCity Table
A LogisticsAddresssCity record matching search criteria if found; otherwise, an empty LogisticsAddressCity record.