SysCountryRegionCode Class [AX 2012]
The SysCountryRegionCode class is used to obtain a country code of a party ID, a location ID, or a data area ID.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the Object class. (Inherited from Object.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::countryInfo | Gets the country and region ISO code that is associated with a legal entity. |
| ::getCachedLegalEntityISO | Retrieves the cached unique country/region code that is associated with the current company. |
| ::getCountryRegionContextByName | Retrieves a unique country code by determining whether the context belongs to a dataAreaID or partyID value. |
| ::getCountryRegionIdByIsoCode | Retrieves the LogisticsAddressCountryRegionId value for the specified LogisticsAddressCountryRegionISOCode value. |
| ::getLocationIsoCode | |
| ::getPartyIsoCode | |
| ::isAnyLegalEntityInCountryRegion | Indicates whether any legal entity is defined in a country/region code. |
| ::isLegalEntityInConsolidatedCountryRegion | Indicates whether the current country/region context is part of the consolidation group of countries. |
| ::isLegalEntityInCountryRegion | Indicates whether the ISO code of a legal entity matches any ISO code supplied in the _isoCountryCodes parameter. |
| ::isLocationInCountryRegion | Checks whether the ISO code that is associated with the location of the entity matches any of the ISO codes that are supplied in the specified container. |
| ::isPartyInCountryRegion | Indicates whether the ISO code that is associated with the primary address of the party matches any of the specified ISO codes. |
| ::locationCountryInfo | Gets the country and region ISO code that is associated with the address of a location. |
| ::locationCountryRegionChanged | Invalidates the cache for the location and invalidates the relevant country/region context caches if the location is used as the primary address for any parties. |
| ::partyCountryInfo | Gets the country and region ISO code that is associated with the primary address of a party. |
| ::primaryAddressForPartyChanged | Invalidates the relevant country/region context caches if the country/region of the primary address has changed because a new primary address has been designated. |
Community Additions
ADD
Show: