CurrencyExchangeHelper Class [AX 2012]
This CurrencyExchangeHelper class manages calculations between currencies.
| Method | Description | |
|---|---|---|
| calculate | |
| calculateAccountingToReportingAdjustment | Calculates the reporting currency amount from the specified accounting currency amount. |
| calculateAccountingToTransaction | Calculates the transaction currency amount from the specified accounting currency amount. |
| calculateCurrencyToCurrency | Calculates the amount between the original currency and the resulting currency. |
| calculateTransactionToAccounting | Calculates the accounting currency amount from the specified transaction currency amount. |
| calculateTransactionToReporting | Calculates the reporting currency amount from the specified transaction currency amount. |
| calculateTransactionToTransaction | Calculates the transaction currency amount from the specified transaction currency amount. |
| 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.) |
| handleError | Handles the error that is encountered, by using the value of the parmErrorType property. |
| init | Initializes the class variables of the current instance. |
| new | Initializes a new instance of the CurrencyExchangeHelper 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 value of the ErrorType property. |
| parmExchangeDate | Gets or sets the value of the ExchangeDate property. |
| parmExchangeRate1 | Gets or sets the value of the ExchangeRate1 property. |
| parmExchangeRate2 | Gets or sets the value of the ExchangeRate2 property. |
| parmExchangeRateTypeRecId | Gets or sets the ExchangeRateTypeRecId parameter. |
| parmLedgerRecId | Gets or sets the LedgerRecId parameter. |
| parmReportingExchangeRate1 | Gets or sets the ReportingExchangeRate1 parameter. |
| parmReportingExchangeRate2 | Gets or sets the ReportingExchangeRate2 parameter. |
| parmRoundingRuleType | Gets or sets the RoundingRuleType parameter. |
| 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.) |
| validateLedger | |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::calculateAmount | Calculates the amount by using the specified the amount and exchange rate. |
| ::calculateExchangeRate | Calculates the exchange rate that corresponds to the specified amounts. |
| ::construct | Creates a new instance of the CurrencyExchangeHelper class that has default information. |
| ::newExchangeDate | Creates an instance of the CurrencyExchangeHelper class. |
| ::newLedger | Creates an instance of the CurrencyExchangeHelper class. |
| ::round | Rounds the specified amount based on the general rounding settings of the provided currency. |
| ::roundWithRule | Rounds the specified amount based on the specified rounding rules. |
| ::roundWithRuleType | Rounds the specified amount based on the rounding rule type of the currency. |
| ::roundWithRuleTypeCurrencyTable | Rounds the specified amount based on the rounding rules that are specified on the Currency table buffer. |
Community Additions
ADD
Show: