Posts

Showing posts from November, 2012

Full CIL Generation from X++

This post describes one of the many strange errors which might occur if the CIL Generation was not done properly.   If you want to know more about CIL generation . Go here: X++ compiled to .Net CIL[Ax2012] In Microsoft Dynamics AX, scheduled batch jobs written in X++ must first be compiled into the common intermediate language (CIL) of the .NET Framework. I faced this one issue when I was trying to do a Full CIL Generation after fixing an Over-layering issue (which occurred due to some project related update installation) . Error message was “Type name does not exist. The VendRequestAuditContract.getAttribute() reflection API could not create and return the AifCollectionTypeAttribute object. Please check the parameters.” Before looking into more details, I followed the below best practises suggested when working with CIL generation. 1.       Stop AOS. 2.      Delete all files from path C:\Program Files\Microsoft Dynamic...

Extended Architecture of Dynamics Ax 2012

Image
In Dynamics Ax 2012, there are many structural changes in the Database storage level and in the ways of Communication between various components. The below Extended Architecture will allow us to understand the components involved, behaviour and an overall design typically followed with Dyanmics Ax. This should help in better understanding which is much required to component choosing and Hardware sizing way before actual start of your project Implementation.  

What and how to create a load balancing cluster [AX 2012]

You can distribute the user load in Microsoft Dynamics AX across multiple instances of Application Object Server (AOS) by creating a load balancing cluster. Microsoft Dynamics AX offers two types of load balancing clusters: 1.       A cluster that includes a load balancer the load balancing AOS instance is dedicated to distributing the user load. And this load balancing AOS instance does not process MS DAX business logic or data. 2.       A cluster that does not include a load balancer you must set up client configurations to connect to the load balancing AOS instance. When a client starts, it connects to the load balancing AOS instance. The load balancing AOS instance returns a list of active AOS instances in the cluster, sorted by workload. The client attempts to connect to the first AOS instance in the list. If that connection fails, the client attempts to connect to the second AOS instance in the list, and so on. Befor...

How to Configure an AOS to access a different database [AX 2012]

Image
You can connect an instance of Application Object Server (AOS) to a different database. You may want to do this in the following situations: You are moving from a development or staging environment to a production environment. You are upgrading a Microsoft Dynamics AX system. Before you can connect an AOS instance to a different database, you must make sure that the AOS account is the domain account or Network Service account that is associated with the AOS service. Connect to a different database: Open the server configuration utility. Click Start > Administrative Tools > Microsoft Dynamics AX 2012 Server Configuration.  Verify that the AOS instance and configuration that you want to modify are selected. O n the Database Connection tab, use the lists to select a server, database, and baseline database, and then click OK. When you are prompted, click Yes to restart the AOS instance. If you do not restart the AOS instance, it does not connect to the new ...

Installation of multiple AOS instances [AX 2012]

This topic describes how to install multiple instances of Application Object Servers (AOS) for Microsoft Dynamics AX 2012. Few Important points to be noted while installing Multiple AOS instances are as below: ·         You can install up to 99 AOS instances in your environment. And each AOS instance installed is automatically assigned a number between 01 and 99 ·         After you install and start an AOS instance, and before you complete any other tasks in Microsoft Dynamics AX, you must run the initialization checklist. ·         You must install an initial AOS instance and complete the Initialization checklist on that instance before you install additional AOS instances. If you install additional AOS instances before you have completed the Initialization checklist those AOS instances will not start. ·         The process of manu...

Understanding basics of Supply Chain Management

Supply Chain management can be understood better as "The Management of the Chain of Supplies". It is the managing of upstream and downstream value added flow of materials, final goods and related information amoung suppliers, company, resellers and final consumers. In simple terms, the management of the below to manufacture Product or Service, * buy things/services * make things/services * move things/services * sell things/services * service things/services (helpdesk, replacement of damaged..) And a Supply Chain Manager should be able to do all the above flawlessly and still manage to make good profit. In Microsoft Dynamics Ax 2012, many new features are introduced to handle SCM effectively. Below are few listed: Product Information Management introduction of Creating and Releasing products/product masters Product: is a uniquely identifiable product. Product master: A standard or functional product representation Product variant: is the configuration of ...

Few facts about Dynamics Ax Classes

Image
X++ is an Object Oriented Programming language and a class an important part of X++ langauge. A class can be defined as a collection of methods. Compared to table methods, using a methods in class makes reusing your code easier and this is because of the below two reasons: Classes can be inherited A class method can refer to other methods within a class Dynamics AX has two main categories of classes: Application classes - We use application classes for constructing our application. Only these classes can be created or modified. System classes - These are primarily used for doing runtime changes to the user interface. Methods: Classes are divided into methods, where each method should be doing a single task. The code in a method consists of 4 blocks: Identification, variable declaration, code lines and return value. Identification: In the top of a method is the identification of the method which has the following sytax: <modifiers> <return type...

About Internet Protocol, IPV4 and IPV6

Image
[NDR – Non Dynamics related Topic] What is Internet Protocol - IP? IP specifies the technical format of packets and the addressing scheme for computers to communicate over a network. It can be compared to something like the postal system. It allows you to address a package and drop it in the system, but there's no direct link between you and the recipient. What is TCP/IP? Most networks combine IP with a higher-level protocol called Transmission Control Protocol (TCP), which establishes a virtual connection between a destination and a source. TCP/IP establishes a connection between two hosts so that they can send messages back and forth for a period of time. There are currently two version of Internet Protocol (IP): IPv4 and a new version IPv6. What is IPv4 -- Internet Protocol Version 4? IPv4 is the fourth revision of the Internet Protocol (IP) used to identify devices on a network through an addressing system. The Internet Protocol is designed for use in interconnected syste...

Basic and minimum requirements for installation of MS Dynamics Ax

Network requirement and N/w response time:     The minimum network requirements for the connection between the client and the AOS and the connection between the AOS and the database in a Microsoft Dynamics AX system is as below:   Value Client to AOS AOS to database Bandwidth (b) 100 megabits/sec 100 mbps   Total response time for a task in MS Dynamics Ax is expressed by formula: Response time = (No. of calls to and fro server * Latency) + Number of bytes sent/bandwidth Note: The higher the Latency (is a measure of time delay experienced in a system), the longer the response time Domain Requirements:   Consider the following domain requirements when you install Microsoft Dynamics AX: Computers that run Microsoft Dynamics AX components must belong to an Active Directory domain, and Active Directory must be configured in native mode. Computers that run Microsoft Dynamics AX components must have access to othe...