Share via


RetailTransactionServiceCustomer::getCityRecId_RU Method [AX 2012]

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

Syntax

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

Run On

Called

Parameters

Return Value

Type: LogisticsAddressCityRecId Extended Data Type
Record Id of city.

Remarks

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.

See Also

Reference

RetailTransactionServiceCustomer Class