Quantcast
Channel: Microsoft Dynamics Ax
Browsing all 181 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Dynamics AX: On Hand Inventory

MS Dynamics AX 2009 has a very detailed information about inventory items; it gives a comprehensive information regarding stock which gives a clear vision about what in stock, what is reserved for...

View Article


Image may be NSFW.
Clik here to view.

Finding all data sources in a form through Job

Hi ,Here is small trick to find the datasource in form. Open job node , and a new job and copy paste following code over there,.....static void AllDataSourcesInForm(Args _args){    Args args = new...

View Article


How to refresh the data source of caller form using X++ in AX 2009?

In many cases you need to refresh the data source of the caller form when you finishing work with the current form like when you using posting form you need to refresh the data source of the caller...

View Article

Invoking a method on a field in a form's datasource

I needed to call the modified method on a form's datasource's field to invoke the logic, which updated a couple of fields on the form. I had defaulted a value in the field on the table's...

View Article

How to updated the caller Form/DataSource

If we need to notify events to the caller form we can try this pattern:In the child form, make a method named updateCaller and invoke it when you want to notify the parent:void updateCaller(){ Common...

View Article


Calling methods on a caller form

Due to the poor design on some form I have to make changes to, I needed this thing here. I replaced a button on the form with code behind it (yes, business logic behind a button is a BAD practice !) by...

View Article

Image may be NSFW.
Clik here to view.

Event Handling in X++

When you are writing code in C# you can create events and define delegate methods that will be called when the event is triggered. Unfortunately, this is not implemented in the X++ language.I have read...

View Article

Image may be NSFW.
Clik here to view.

PublicTocken=31bf3856ad364e35' package did not load correctly

Hi Everyone, I installed Ax2012 R2.When i open the application explorer in Visual Studio,I am getting below error.I couldnot access the Application explorer.Before R2 installation it was working...

View Article


Dynamics AX Tutorials - Tutorial 2 - Classes\Box

Here is a small project demonstrating capabilities of the class BOX in Dynamics AX.Specifically, the following is covered in this tutorial:A short description of the system class BOXCreating a form...

View Article


How to delete or truncate all transaction from table

Sometimes it's take long time when you delete record with the instruction MyTable.delete() or Delete_From My Table.Then it is better to delete from SQL instruction.For that you can create one class and...

View Article

A Now() or GetDate() Method for AX

It should be noted, that after I made this post, it was revealed to me that the DateTimeUtil::utcNow() method accomplishes this goal...Today I simply have a quick tip. I needed to be able to obtain the...

View Article

Timing an axapta x++ operation in milliseconds

TimeInMS        startTime, endTime;;startTime = WinAPI::getTickCount();//[PERFORM OPERATION]endTime = WinAPI::getTickCount();info(strfmt("Execution time: %1 seconds.",(endTime-startTime) div...

View Article

Debugging Error: 'The X++ debugger work only for users who are in the...

In the following sections, you determine which AOS service account to debug the RDP class in and add the account to the Microsoft Dynamics AX Debugging Users group. You create a server configuration...

View Article


Image may be NSFW.
Clik here to view.

How to Enable Remote Errors for SQL Server Reporting Services

Enabling remote errors for SQL Server Reporting Services means setting EnableRemoteErrors Reporting Services system property to TrueThere are two ways to set the EnableRemoteErrors property to true for...

View Article

Dynamics AX Call Non-Static Method Dynamically

I want to make a class that has the ability to dynamically call methods in other classes by name. Ideally, it would accept the class and method names as well as a collection of parameters. dictClass...

View Article


Image may be NSFW.
Clik here to view.

Dynamics AX batch job relative day parameter

When we add batch job into batch list, it is quite often we need to enter a date into the query. Sometimes we wanted to add them once and works forever, we doesn't want to manually edit the query value...

View Article

X++ code to write data to XML File

static void CreateXml(Args _args){XmlDocument xmlDoc; //to create blank XMLDocumentXmlElement xmlRoot; // XML root nodeXmlElement xmlField;XmlElement xmlRecord;XMLWriter xmlWriter;InventTable...

View Article


Iterate XML file in X++/Axapta

XML file is a very common method of interaction when we are dealing with any kind of third party software. We can create the XML file in X++ and send it as parameters to the third party software. In...

View Article

Microsoft Dynamics AX 2012 Xpp – Vendors Import

Purpose: The purpose of this document is to illustrate how to write X++ code in Microsoft Dynamics AX 2012 in order to import Vendors with addresses and contact details.Challenge: Data model changes in...

View Article

How to Get Vendor(Supplier) Information

This is like get information from custTable, get vendor information(vendTable) is soo easy too. It will be illustrated on a job below :static void GetVendorInfo(Args _args){    VendTable       Vendor;...

View Article
Browsing all 181 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>