Share via


ClassFactory.countryInfo Method [AX 2012]

Gets the country and region ISO code that is associated with a legal entity.

Syntax

public LogisticsAddressCountryRegionISOCode countryInfo([DataAreaId _dataArea])

Run On

Called

Parameters

Return Value

Type: LogisticsAddressCountryRegionISOCode Extended Data Type
A country and region ISO code, if a code is found; otherwise, an empty string.

Remarks

If the DataArea value does not represent a legal entity, or if the country or region information has not been set up, this call returns an empty string.

See Also

Reference

ClassFactory Class