Dream come true
Microsft Rocksssssssssss.
Subscribe to be the first to learn about a new blog post. Sign up today!
Here, I am telling you about how to register a COM wrapper dll and then extract & use it in AX. (i) Install the COM Wrapper DLL Files, into the bin directory of the AOS. (ii) Register it with the following Command,%WINDIR%Microsoft.NETFrameworkv2.0.50727regasm.exe Test.Wrapper.DLL /tlb:Test.Wrapper.tlb (iii) Now, After Successful Registration, Follow the below path and click…
In AX 2009, you can merge two records by using the merge() function in a table. For Example if you have posted a project with different department dimensions and now if you would like to merge two records of department dimension then this merge function can be helpful. The sample code is here as follows:…
1. To send an email through AX, Initially we need to configure the e-mail parameters in the administration module. 2. If you want to configure an email template. That can also be done from the basic module. LanguageId LanguageId; FilePath FilePath; SysMailer mailer; SysEmailAddress ToAddress; SysEmailId EmailId; new InteropPermission(InteropKind::ComInterop).assert(); FilePath = @’//10.0.23.25/AOSPrintShare/TestSalesOrder.pdf; mailer = New…
Hi Folks, In this post, I am going to explain you on how to read a CSV file in AX 2009. 1. First of all, make sure that the file is accessible and has sufficient permissions to read the file. 2. Now follow the below code which reads the file, reads all the lines in…
Till AX 2009 version whenever the configuration key is disabled for a table the underlying table was dropped. But now when you disable the configuration key for a table that is listed in the AOT in AX 2012, the corresponding table in the underlying database management system is not dropped. Now when you modify a…
Here is a code snippet to convert any file into a base64 string in x++ using some dot net inbuilt classes in AX. To convert it, initially clrinterop permission must be granted to access the dot net inbuilt classes then load the file into file info, initialize the byte array with the length of file,…