ExpressionCurrencyDefaultProvider.ConvertAmountValue Method [AX 2012]

Gets the amount from the LHS field and converts it to an amount in the specified currency.

Syntax

public Amount ConvertAmountValue(
    Amount fromAmount, 
    CLRObject fromField, 
    CurrencyCode toCurrencyCode, 
    RecId recID)

Run On

Called

Parameters

  • fromField
    Type: CLRObject Class
    The field that has the amount to be converted.

Return Value

Type: Amount Extended Data Type
The converted amount.

Remarks

This method is used during the evaluation of field-to-value conditions.

See Also

Reference

ExpressionCurrencyDefaultProvider Class