Get previous page selected record(context) in EP page in AX 2009
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.
Subscribe to be the first to learn about a new blog post. Sign up today!
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.
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…
Hi folks……… If you would like to link two Enterprise Portal web pages in AX 2009 having different/same datasets then it is very simple. You have to create the two web controls using the two different/same datasets. Add it to the two different web pages and link the second web page using the url menuitem….
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 this post, I am going to discuss about how to rename a primary key in AX. The renaming can be done for any record using the CCPrimaryKey Class. Let us suppose, if Customer Id 1000 has to be renamed as Cust_1000 then it will be renamed in all the tables(SalesTable, CustTable, SalesQuotationTable etc.,) wherever…
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 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…