Compare Web / EP Objects using compare tool in AX 2009
Hi folks,
Subscribe to be the first to learn about a new blog post. Sign up today!
Hi folks,
Hi Folks, In AX, using SysMailer class we can compose a mail and send it through code in AX but if we would like to populate the outlook client by creating a mail item then attaching a report and also attaching the sender’s email address as well as subject to it then here is the…
Hi All, If you would like to get the previous page’s selected record (Context) in EP in AX 2009 then you can use the following method in visual studio for it. AxTableContext context = AxBaseWebPart.GetWebpart(this).ExternalContext; if (context != null && context.TableId == TableMetadata.TableNum(AxBaseWebPart.GetWebpart(this).Session, “MainTable”)) { string TestField = context.DataKey.GetRecord(this.AxSession).GetField(“TestField”).ToString(); …
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…
Inserting/Deleting/Updating records into an external SQL database from AX 2009 using x++ can be done using ADO Classes in AX. This can be told from the following code snippet. In the below code snippet CCADOConnection is used to establish a connection with the external database and CCADOCommand is used to execute the command on the…
I have come across many people having a problem in printing the AX reports into the file system of server using batch job scheduling………… The main problem is in configuration……… The solution is pretty simple and is as follows: As AX batch job scheduling always runs on the server, the below configuration has to be…
If you want to get all the error messages in the infolog in a desired language then just put this small code snippet and run it in a job. infolog.language(LanguageId); then whole UI of AX Client will be changed to the desired language and we will get the error messages into the infolog in that…