Tax.setExchRates Method [AX 2012]

Gets and sets the currency and exchange rate information about tax.

public void setExchRates(
   [CurrencyCode _sourceCurrencyCode, 
    ExchRate _exchRate, 
    ExchRate _exchRateSecond, 
    ExchRatesTriangulation _exchRatesTriangulation, 
    TransDate _exchRateDate])

Run On

Server

Parameters

_sourceCurrencyCode
Type: CurrencyCode Extended Data Type
The currency code of the transaction; optional.
_exchRate
Type: ExchRate Extended Data Type
The primary exchange rate that will be used for currency conversions between transactional and master currency; optional.
_exchRateSecond
Type: ExchRate Extended Data Type
The secondary exchange rate that will be used for currency conversions between transactional and master currency; optional.
_exchRatesTriangulation
Type: ExchRatesTriangulation Extended Data Type
A Boolean value that specifies whether triangulation is required; optional.
_exchRateDate
Type: TransDate Extended Data Type
The date for the given exchange rate; optional.

Reference

Community Additions

ADD
Show: