Skip to main content

Posts

Showing posts from March, 2012

Specifications and pre-requisites which were a part of AX 2009 and now not in AX 2012

 Server and Client operating system Server OS :-  MSD AX 2009 supported Windows Server 2003, however MSD AX 2012 only supports 64-bit versions of Windows Server 2008 and the supported versions are Windows Server 2008 R2 Standard Edition, Enterprise Edition, Web Edition, Data center Edition Windows Server 2008 with Service Pack 2 Standard Edition, Enterprise Edition, Web Edition, Data center Edition  Client OS:- MSD AX 2009 client can be installed on Windows XP, however MSD AX 2012 requires either Windows 7 or Windows Vista OS (Both 32-bit and 64-bit versions of Windows 7  and Windows Vista are supported ). The supported versions are Windows 7 Professional Edition, Ultimate Edition, or Enterprise Edition Windows Vista Business Edition, Ultimate Edition, or Enterprise Edition, with Service Pack 2.  Enterprise Portal Server and Client Server :- In Microsoft Dynamics AX 2012, Enterprise Portal can be installed only on 64-bit server operating systems because the supported v

How to find exchange rate in ax 2012

How to find exchange rate in ax 2012 ExchangeRateHelper exchangeRateHelper; TransDate transactiondate; CurrencyCode transactionCurrency='CAD'; CurrencyExchangeRate exchangeRate1; CurrencyExchangeRate exchangeRate2; ; transactiondate = mkdate(21,2,2012); exchangeRateHelper = ExchangeRateHelper::newExc​hangeDate(Ledger::current(​),transactionCurrency,tran​sactiondate); exchangeRate1 = exchangeRateHelper.getExch​angeRate1(); exchangeRate2 = exchangeRateHelper.getExch​angeRate2(); info(num2str(exchangeRate1​,2,2,1,1));

Error object does not have method parm AIF in Axapta

How this error may occur: IF you need to outbound few information along with customer table whereas those fields are not a part of custTable. Somewhere it said that, adding a parm<someName>() in the AxCustTable will make the <someName> available as a field in the outbound document policy in AIF and it worked. But during sending document for outbound, an error throws as follows. Error executing code: AxCustTable object does not have method 'parm<someName>' How to handle this when we need to send these kind of info, display/calculated, using XML file adapter in Ax 2012. Solution:  Try deleting the AIF service and regenerate the service altogether. It should create the parm methods for all the fields including customized too and probably work for you too. Don't forget to compile and compile forward the class.  - Take proper backup of the objects before performing the above steps