send e-mail through code with attachments in AX
2. If you want to configure an email template. That can also be done from the basic module.
Subscribe to be the first to learn about a new blog post. Sign up today!
2. If you want to configure an email template. That can also be done from the basic module.
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…
Hi Folks, Once I have compiled the complete AX 2009 environment on the Server where AOS is installed and found that there was a compilation issue in the Class declaration of SysReportLibraryExport class but it seems to be fine with other environments. I couldn’t get any clue why this happened suddenly and atlast I tried opening AX client of this…
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…
Hi All, The user can create a timesheet but cannot submit a timesheet on the Enterprise Portal website, as the Submit button is not available. To be able to submit the timesheet, you have to go to the previous page of Timesheet List and then reopen the timesheet, then the Submit button appears. However, the Submit button should…
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());…
Hi Everyone, Finally the day has come………………. AX 2012 technical and functional materials and AX 2012 beta VPC has been released in the partner source/ customer source. To get these, you need to have access to either partner source/customer source. To install the VPC, you must have Windows Server 2008 Standard Edition, Enterprise Edition, Web…
Hi,
your blogs are really interesting.
One thing i would like to know that how can i check in AX whther outlook is installed on a machine or not, if yes then wether it is configured for sending mails or not. please let me know any code regarding that.
Hi,
your blogs are really interesting.
One thing i would like to know that how can i check in AX whther outlook is installed on a machine or not, if yes then wether it is configured for sending mails or not. please let me know any code regarding that.
Thanks,
Yasir