ClassFactory.countryInfo Method [AX 2012]

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

public LogisticsAddressCountryRegionISOCode countryInfo([DataAreaId _dataArea])

Run On

Called

Parameters

_dataArea
Type: DataAreaId Extended Data Type
The DataAreaId value of the legal entity.

Return Value

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

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.

Community Additions

ADD
Show: