Share via


AxMapPolicy Class [AX 2012]

Used for holding the map policy which is defining how value mapping should be handled in an Ax<table>-class.

Syntax

class AxMapPolicy

Run On

Called

Methods

  Method Description
Gg887526.pubmethod(en-us,AX.60).gif barCodeSetupId Returns the BarCodeSetupId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif countryRegionExtCodeId Returns the CountryRegionExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif countyExtCodeId Returns the CountyExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif currencyExtCodeId Returns the CurrencyExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif custAccountExtCodeId Returns the CustAccountExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif defaulting Returns the Defaulting field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif dlvModeExtCodeId Returns the DlvModeExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif dlvTermExtCodeId Returns the DlvTermExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif itemExtCodeId Returns the ItemExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif markupExtCodeId Returns the MarkupExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif recordExist Indicates whether this class was constructed by using the newAifEndpointActionValueMap static method.
Gg887526.privmethod(en-us,AX.60).gif setAifEndpointActionValueMap Sets the AifEndpointActionValueMap table record from which the class should return values.
Gg887526.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif stateExtCodeId Retrieves the StateExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif taxExtCodeId Retrieves the TaxExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif unitExtCodeId Retrieves the UnitExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif validateInput Returns the ValidateInput field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif vendAccountExtCodeId Returns the VendAccountExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg887526.pubmethod(en-us,AX.60).gif xMLMapCountryRegion Returns the XMLMapCountryRegion field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xMLMapCounty Returns the XMLMapCounty field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xMLMapCurrencyCode Returns the XMLMapCurrencyCode field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xMLMapCustAccount Returns the XMLMapCustAccount field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xMLMapDlvMode Returns the XMLMapDlvMode field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xMLMapDlvTerm Returns the XMLMapDlvTerm field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xMLMapItemId Returns the XMLMapItemId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xMLMapMarkup Returns the XMLMapMarkup field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xMLMapState Returns the XMLMapState field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xMLMapTaxCode Returns the XMLMapTaxCode field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xmlMapUnitOfMeasureSymbol Retrieves the value of the XMLMapUnitOfMeasureSymbol field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xMLMapVendAccount Returns the XMLMapVendAccount field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif xMLMapZipCode Returns the XMLMapZipCode field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif zipCodeExtCodeId Returns the ZipCodeExtCodeId field from the embedded AifEndpointActionValueMap record.
Gg887526.pubmethod(en-us,AX.60).gif Gg887526.static(en-us,AX.60).gif ::construct Initializes a new instance of the AxMapPolicy class.
Gg887526.pubmethod(en-us,AX.60).gif Gg887526.static(en-us,AX.60).gif ::newAifEndpointActionValueMap

Top

Remarks

The AxMapPolicy class is made because the internal Ax<table> classes should not have a reference to a specific AifEndpointActionValueMap record so this class is created for passing on an AifEndpointActionValueMap record to the Ax<table> classes so that they can perform value mapping based on the policy defined in this class.

The map policy is a record from the AifEndpointActionValueMap table. This class has a method for each field in the AifEndpointActionValueMap table for fields that are being used in the Ax<table> classes.

Examples

The following example shows how to construct this class by using an AifEndpointActionValueMap record and how to use it.

AifEndpointActionValueMap aifEndpointActionValueMap; 
AxMapPolicy               axMapPolicy; 
 
// Finding a record holding policies for value mapping of different fields. 
select firstonly aifEndpointActionValueMap; 
 
// Constructing class containing the policies for value  mapping 
axMapPolicy = AxMapPolicy::newAifEndpointActionValueMap(aifEndpointActionValueMap); 
 
info(strfmt("Value mapping for customer account is using external code '%1'",axMapPolicy.custAccountExtCodeId()));

Inheritance Hierarchy

Object Class
  AxMapPolicy Class