ExchangeRateHelper Class [AX 2012]
The ExchangeRateHelper class manages the retrieval of exchange rate information.
Syntax
class ExchangeRateHelper
Run On
Called
Methods
Method | Description | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
defaultAndValidateExchangeRateType | ||
defaultAndValidateToCurrency | ||
determineTriangulationInformation | ||
displayStoredExchangeRate | Retrieves an exchange rate that can be displayed to the user. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getCrossRate | Retrieves a direct cross rate between the from currency and to currency that factors in triangulation. | |
getCrossRateReciprocal | Retrieves a direct cross rate between the to currency and from currency that factors in triangulation. | |
getExchangeRate1 | Retrieves an exchange rate. | |
getExchangeRate2 | Retrieves an exchange rate that is used in the second half of a Euro triangulation calculation. | |
getExchangeRateDisplayFactor | ||
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
handleError | Handles the error encountered that is based on the value of the parmErrorType property. | |
init | Initializes the class variables of the current instance. | |
isExchangeRate1Editable | Determines whether an exchange rate is editable. | |
isExchangeRate2Editable | Determines whether the exchange rate that is used in the second half of a Euro triangulation calculation is editable. | |
new | Initializes a new instance of the ExchangeRateHelper class. | |
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.) | |
parmErrorType | Gets or sets the ErrorType parameter. | |
parmExchangeDate | Gets or sets the ExchangeDate parameter. | |
parmExchangeRateTypeRecId | Gets or sets the ExchangeRateTypeRecId parameter. | |
parmFromCurrency | Gets or sets the FromCurrency parameter. | |
parmLedgerRecId | Gets or sets the LedgerRecId parameter. | |
parmToCurrency | Gets or sets the ToCurrency parameter. | |
prepareExchangeRateForStorage | Retrieves an exchange rate that can be stored in the database. | |
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.) | |
validateFromCurrency | ||
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::calculateCrossRate | Calculates a direct cross rate that is between the provided exchange rates. | |
::calculateReciprocalExchangeRate | Calculates the reciprocal exchange rate of a stored exchange rate. | |
::construct | Creates a new instance of the ExchangeRateHelper class that has default information. | |
::displayStoredExchangeRate_Static | Retrieves an exchange rate that can be displayed to the user. | |
::getCrossRate_Static | Retrieves a triangulated exchange rate for translating the specified currency to monetary standard (MST) currency. | |
::getCrossRateReciprocal_Static | Retrieves a triangulated exchange rate for translating monetary standard (MST) currency to a currency. | |
::getCustomsExchangeRate_IN | Retrieves the customs exchange rate. | |
::getExchangeRate1_Static | Retrieves an exchange rate that is based on the specified parameters. | |
::getExchangeRate2_Static | Retrieves an exchange rate to use in the second half of a Euro triangulation calculation. | |
::getNumericDisplayFactor | ||
::isExchangeRate1Editable_Static | Determines whether an exchange rate can be edited, based on the specified parameters. | |
::isExchangeRate2Editable_Static | Determines whether the exchange rate that is used in the second half of a Euro triangulation calculation is editable. | |
::MCRGetExchangeRate | Gets the exchange rate for the passed currencies. | |
::newCurrency | Creates an instance of the ExchangeRateHelper class. | |
::newCurrencyToCurrency | Creates an instance of the ExchangeRateHelper class. | |
::newExchangeDate | Creates an instance of the ExchangeRateHelper class. | |
::prepareExchangeRateForStorage_Static | Retrieves an exchange rate that can be stored in the database. |
Top
Inheritance Hierarchy
Object Class
ExchangeRateHelper Class