RetailTransactionService::getCityRecId_RU Method [AX 2012]

Gets primary key value for Cities table based on natural key fields

client server private static LogisticsAddressCityRecId getCityRecId_RU(
    LogisticsAddressCountryRegionId _countryRegionId, 
    LogisticsAddressStateId _stateId, 
    LogisticsAddressCountyId _countyId, 
    LogisticsAddressCityName _cityName)

Run On

Called

Parameters

_countryRegionId
Type: LogisticsAddressCountryRegionId Extended Data Type
Country code
_stateId
Type: LogisticsAddressStateId Extended Data Type
State code
_countyId
Type: LogisticsAddressCountyId Extended Data Type
County code
_cityName
Type: LogisticsAddressCityName Extended Data Type
City name

Return Value

Type: LogisticsAddressCityRecId Extended Data Type
Record Id of city

City table has no natural key [country/state/county/city] Assumption that there are no two cities with same name for given combination of country/state/county was made for Russia

Show: