Tag Archives: AX2012

AX 2012 R3: Purpose in Edit Address Form – Roles and description not showing label text.

Problem: AX 2012 R3: Purpose in Edit Address Form – Roles and description not showing label text.

MS AX Versions: Microsoft Dynamics AX 2012 R3 CU12

The purpose field is showing label id instead of showing the correct label text, like image below:

purpose-roles-and-description-not-showing-label

Did anyone encountered above issues, we will be happy if you can share with us.

 

Wish you the best,

Ariston Javier

 

 

Advertisements

AX 2012: Get Exchange Rates

 

Get Exchange Rates in AX 2012

Parameters are CurrencyCode and TransDate.

 

public ExchRate getExchRateFind(CurrencyCode _currencyCode = ”, TransDate _transDate = systemDateGet())
{
ExchangeRateType ExchangeRateType;
ExchangeRateCurrencyPair ExchangeRateCurrencyPair;
ExchangeRateHelper exchangeRateHelper;
CurrencyExchangeRate exchangeRate1;
CurrencyExchangeRate exchangeRate;
;

exchangeRateHelper = ExchangeRateHelper::newExchangeDate(Ledger::current(), _currencyCode, _transDate);
exchangeRate1 = exchangeRateHelper.getExchangeRate1();
exchangeRate = exchangeRateHelper.displayStoredExchangeRate(exchangeRate1);

return exchangeRate;
}