Axaptapedia has an excellent article on how to send data between forms. http://www.axaptapedia.com/Passing_values_between_forms
Tag: AX2012
Microsoft Dynamics Ax
X++ code to create and post Inventory Movement Journal
by Bo Jensen •
Following is the sample job to show how we can create and post movement journal by making use of available api’s in the Dynamics Ax.
Microsoft Dynamics Ax
Loop through elements in AOT in AX 2012
by Bo Jensen •
Today I received a request from one of our consultants, who needed an overview of tables in AX 2012 belonging to the “Transactions” tablegroup. So I made this little job, that loops through elements in the AOT, and retrieves the table properties, and then lists tables with tablegroup “Transactions”:
Microsoft Dynamics Ax
Displaying and Saving a Query
by Bo Jensen •
Sometimes it might be useful to display a query you have created in the AOT to the user. After this the user makes changes to the query (adds ranges and sort fields) and you would like to save the query (as changed by the user) to a table in the database, therefore saving the state…
Microsoft Dynamics Ax
Using RunBaseBatchPrintable class
by Bo Jensen •
RunBase framework is used when we develop a class to run an operation within Dynamics AX, such as posting a sales order or used in any data manipulation operation. If we need to batch the operation, we will commonly use the RunBaseBatch framework by extending the RunBaseBatch class. Dialog for a class that extends RunBaseBatch…
Microsoft Dynamics Ax
Sending emails from Dynamics AX
by Bo Jensen •
It’s a common requirement to have Dynamics AX to send emails as part of the business processes such as delivering the invoice/statement to customers by email. Out of box Dynamics AX already has the framework provided in X++ classes for developers to send email using X++ code. There are currently three ways to do so…
Microsoft Dynamics Ax
How To: Directing Reports to Email
by Bo Jensen •
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…
Microsoft Dynamics Ax
Run, Save and Email Purchase order report through X++ code
by Bo Jensen •
Hi Friends, In this post I will demonstrate how to do below through X++ code. We will take Purchase order report as an example 1. Run a report 2. Save as PDF at local drive 3. Email this report 4. Delete from local drive after email. To perform above task , create a new class…
Microsoft Dynamics Ax
How to send a report via email from Microsoft Dynamics AX
by Bo Jensen •
Hi all! Today I want to show you how to send a custom report via email from AX (it works with an AX client installation and it’s tested for Microsoft Outlook and Novell GroupWise).
Microsoft Dynamics Ax
Sending email via SMTP using X++ and .NET Framework in Dynamics AX
by Bo Jensen •
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…
Microsoft Dynamics Ax
How to use X++ Delegates in Dynamics AX 2012
by Bo Jensen •
In this post I want to cover some of the core functional aspects of the new delegates feature introduced in AX 2012. X++ delegates expose the publisher -subscriber pattern where a delegate defines a clear contract in a publisher class. This contract is used when an event occurs where the event can be a change…
Business Intelligence, Microsoft Dynamics Ax
Filter Second lookup based on First Value – Ax 2012 SSRS | Vasanth Arivali’s Space
by Bo Jensen •
Hi Folks, I got one requirement to get invoices of a customer on the particular month range in SSRS Report Dialog. I have achieved that and want share. Here we go…..
Microsoft Dynamics Ax
Ronnie H. Hegelund: AX 2012 X++ compilation from a .NET developers perspective
by Bo Jensen •
The last month or two I have been “forced” to look at X++ and AX2012, and getting started writing X++ is easy, if you have a background as a .NET developer.When you start writing and compiling code in AX, you quickly get frustrated as a .NET developer. Why does it not work, – my “compilation”…
Microsoft Dynamics Ax
There was an error while trying to deserialize parameter http://tempuri.org/:queryBuilderArgs.
by Bo Jensen •
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.
Microsoft Dynamics Ax
How do I set AX 2012 SSRS report to a specific language?
by Bo Jensen •
set the current session language and set the rendering language of the report in Controller . Check if this works controllerobj.parmReportContract().parmRdlCOntract().parmLanguageID(‘Language ID you want ‘) before calling the report ‘s start operation method. this is actually passed to your report from the client during the execution. You need to create labels used in the report…
Microsoft Dynamics Ax
Creating Product Master with configuration and it’s variant, then releasing it
by Bo Jensen •
Here is an example I found on GitHub on how to create a new Product Master with variants and then release it in AX2012.
Microsoft Dynamics Ax
Reset program cache file for all clients | Thomas Widmer’s AX Blog
by Bo Jensen •
Microsoft Dynamics Ax, Enterprise Portal
How to setup a Public site on Enterprise portal in AX2012 « codeDAX
by Bo Jensen •
How to setup a Public site on Enterprise portal in AX2012
Microsoft Dynamics Ax
SQL Server Data Tools for SQL Server 2014 is available – SQL Server Data Tools Team Blog
by Bo Jensen •
See more here: SQL Server Data Tools for SQL Server 2014 is available – SQL Server Data Tools Team Blog – Site Home – MSDN Blogs
Microsoft Dynamics Ax
Getting addresses by type X++ | Microsoft Dynamics AX & CRM | AXPulse
by Bo Jensen •
This post shows the code which helps in retrieving the address of Party (Customer, Vendor etc.) by providing the type of addresses.