Bojensen Blogs

Kategori: Microsoft Dynamics Ax

How To: Directing Reports to Email

Dynamics AX 2012 Sharing reports via Email has never been easier. The following exercise outlines the process for developing a reporting solution that includes automatic distribution using Email without prompting the user for additional parameter information. Step 1/2: Create a session management class To send reports via Email from code you can use the new…

Sending email via SMTP using X++ and .NET Framework in Dynamics AX

Sending custom email notifications is a very common requirement for Dynamics AX. The code sample included in this post contains the following features: attaching files, designating email priority setting, specifying To/From/CC recipients, and populating the subject line and body of the email. It’s assumed that you already have an operational SMTP server which is accessible…

There was an error while trying to deserialize parameter http://tempuri.org/:queryBuilderArgs.

  There was an error while trying to deserialize parameter http://tempuri.org/:queryBuilderArgs. The InnerException message was ‘Element ‘http://tempuri.org/:queryBuilderArgs’ contains data from a type that maps to the name ‘http://schemas.datacontract.org/2004/07/XppClasses:SRSQueryBuilderArgs’………………………………….Some times we get the above error while running reports in Axapta 2012. To resolve this issue we need to delete usage data in the AOSserver.