Skip to main content

Posts

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...

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

Layers In Ax 2012

There are three layers available only to Microsoft to deliver the base application. Layer SYS, SYP System layer: The standard application is developed in this lowest layer. This includes the core application and the localization for most countries. GLS, GLP Globalization layer: Includes features developed for some countries that were not yet moved into the SYS layer. FPK, FPP Feature Pack layer: Includes industry feature packs that are controlled by Microsoft. There are three layers available to partners and ISVs. Layers SLN, SLP Solution layer: Includes Microsoft endorsed industry solutions. ISV, ISP Independent Software Vendor layer: Includes generic or vertical solutions developed by ISV's. VAR,VAP Value Added Reseller layer:  Includes multi-customer solutions developed by VAR's. There are two layers available to both partners and customers who have a license to access the AX source code. Layer CUS, CUP Customer layer: Includes customer specific ...

Code to save the SSRS report to PDF/HTML in dynamics ax 2012

If you want to  to save the SSRS report to PDF/HTML in dynamics ax 2012 then you can try following code SrsReportRun srsReportRun; srsReportRun = new SrsReportRun("testReport.PrecisionDesign1"); srsReportRun.init(); srsReportRun.reportCaption("testReport.PrecisionDesign1"); srsReportRun.reportParameter("id").value("123"); srsReportRun.showDialog(false); srsReportRun.printDestinationSettings().printMediumType(SRSPrintMediumType::File); srsReportRun.printDestinationSettings().fileFormat(SRSReportFileFormat::PDF); srsReportRun.printDestinationSettings().overwriteFile(true); srsReportRun.printDestinationSettings().fileName(@"C:\testReport.pdf"); if( srsReportRun ) { srsReportRun.executeReport(); }