Share via


CurrencyExchangeHelper Class [AX 2012]

This CurrencyExchangeHelper class manages calculations between currencies.

Syntax

class CurrencyExchangeHelper

Run On

Called

Methods

  Method Description
Gg760655.privmethod(en-us,AX.60).gif calculate
Gg760655.pubmethod(en-us,AX.60).gif calculateAccountingToReportingAdjustment Calculates the reporting currency amount from the specified accounting currency amount.
Gg760655.pubmethod(en-us,AX.60).gif calculateAccountingToTransaction Calculates the transaction currency amount from the specified accounting currency amount.
Gg760655.pubmethod(en-us,AX.60).gif calculateCurrencyToCurrency Calculates the amount between the original currency and the resulting currency.
Gg760655.pubmethod(en-us,AX.60).gif calculateTransactionToAccounting Calculates the accounting currency amount from the specified transaction currency amount.
Gg760655.pubmethod(en-us,AX.60).gif calculateTransactionToReporting Calculates the reporting currency amount from the specified transaction currency amount.
Gg760655.pubmethod(en-us,AX.60).gif calculateTransactionToTransaction Calculates the transaction currency amount from the specified transaction currency amount.
Gg760655.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg760655.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg760655.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg760655.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg760655.protmethod(en-us,AX.60).gif handleError Handles the error that is encountered, by using the value of the parmErrorType property.
Gg760655.protmethod(en-us,AX.60).gif init Initializes the class variables of the current instance.
Gg760655.protmethod(en-us,AX.60).gif new Initializes a new instance of the CurrencyExchangeHelper class.
Gg760655.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.)
Gg760655.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.)
Gg760655.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg760655.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg760655.pubmethod(en-us,AX.60).gif parmErrorType Gets or sets the value of the ErrorType property.
Gg760655.pubmethod(en-us,AX.60).gif parmExchangeDate Gets or sets the value of the ExchangeDate property.
Gg760655.pubmethod(en-us,AX.60).gif parmExchangeRate1 Gets or sets the value of the ExchangeRate1 property.
Gg760655.pubmethod(en-us,AX.60).gif parmExchangeRate2 Gets or sets the value of the ExchangeRate2 property.
Gg760655.pubmethod(en-us,AX.60).gif parmExchangeRateTypeRecId Gets or sets the ExchangeRateTypeRecId parameter.
Gg760655.pubmethod(en-us,AX.60).gif parmLedgerRecId Gets or sets the LedgerRecId parameter.
Gg760655.pubmethod(en-us,AX.60).gif parmReportingExchangeRate1 Gets or sets the ReportingExchangeRate1 parameter.
Gg760655.pubmethod(en-us,AX.60).gif parmReportingExchangeRate2 Gets or sets the ReportingExchangeRate2 parameter.
Gg760655.pubmethod(en-us,AX.60).gif parmRoundingRuleType Gets or sets the RoundingRuleType parameter.
Gg760655.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg760655.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg760655.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.)
Gg760655.privmethod(en-us,AX.60).gif validateLedger
Gg760655.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg760655.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg760655.pubmethod(en-us,AX.60).gif Gg760655.static(en-us,AX.60).gif ::calculateAmount Calculates the amount by using the specified the amount and exchange rate.
Gg760655.pubmethod(en-us,AX.60).gif Gg760655.static(en-us,AX.60).gif ::calculateExchangeRate Calculates the exchange rate that corresponds to the specified amounts.
Gg760655.pubmethod(en-us,AX.60).gif Gg760655.static(en-us,AX.60).gif ::construct Creates a new instance of the CurrencyExchangeHelper class that has default information.
Gg760655.pubmethod(en-us,AX.60).gif Gg760655.static(en-us,AX.60).gif ::newExchangeDate Creates an instance of the CurrencyExchangeHelper class.
Gg760655.pubmethod(en-us,AX.60).gif Gg760655.static(en-us,AX.60).gif ::newLedger Creates an instance of the CurrencyExchangeHelper class.
Gg760655.pubmethod(en-us,AX.60).gif Gg760655.static(en-us,AX.60).gif ::round Rounds the specified amount based on the general rounding settings of the provided currency.
Gg760655.pubmethod(en-us,AX.60).gif Gg760655.static(en-us,AX.60).gif ::roundWithRule Rounds the specified amount based on the specified rounding rules.
Gg760655.pubmethod(en-us,AX.60).gif Gg760655.static(en-us,AX.60).gif ::roundWithRuleType Rounds the specified amount based on the rounding rule type of the currency.
Gg760655.pubmethod(en-us,AX.60).gif Gg760655.static(en-us,AX.60).gif ::roundWithRuleTypeCurrencyTable Rounds the specified amount based on the rounding rules that are specified on the Currency table buffer.

Top

Inheritance Hierarchy

Object Class
  CurrencyExchangeHelper Class