How to populate an Outlook Client by Creating a Mail Item, Attach a Report, and Send the Mail through AX 2009
Hi Folks,
Subscribe to be the first to learn about a new blog post. Sign up today!
Hi Folks,
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(); …
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 observed that lot of developers face difficulty in printing the Sales Invoice report into file system through code. Here is the code snippet for it. SalesFormLetter salesFormLetter; PrintJobSettings printJobSettings; CustInvoiceJour custInvoiceJour; SalesId salesId; #File salesid = “SO-100010”; salesFormLetter = SalesFormLetter::construct(DocumentStatus::Invoice,false); printJobSettings = new PrintJobSettings(); printJobSettings.setTarget(PrintMedium::File); printJobSettings.format(PrintFormat); printJobSettings.fileName( ‘//10.0.57.22/AOSPrintShare//’ + salesId+#pdf ); printJobSettings.warnIfFileExists(false); SalesFormLetter.updatePrinterSettingsFormLetter(printJobSettings.packPrintJobSettings());…
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:…
Hi, In this post, I would like to explain you my experiences on the data upgrade from AX 3.0 and AX 4.0 to AX 2009. Please post your comments if you have any doubts on this…….. Data Upgrade from AX 3.0 to AX 2009 Perform the Consistency Check for all the required modules in AX…
Last month, I have found a problem after installing RU-7 kernel update to one of our Customer and thats very strange. We were not able to build a project for a layer using Project Filter( i.e., to automatically get all the objects of a layer into a project) even after putting the layer in the…
Thanks for the code! 😉