Showing posts with label AX. Show all posts
Showing posts with label AX. Show all posts

Wednesday, April 16, 2008

What are ADO files

What are ADO files ?

ADO stands for Application Data Object and holds the application code for a
layer. You have an ADO file for each layer you have modified in your system.
Per defaul it is locaed in C:\program files\Microsoft Dynamics
AX\40\Application\Standard . There will be at least a axSYS.aod and an
axSYP.aod . Where the axSYS.aod is the SYS layer and axSYP.aod the SYS-Patch
(SYP) layer.

Monday, March 31, 2008

Dynamic languages

Dynamic languages are one of the most interesting fields in programming, because it gives the developer more functionality & flexibility in developing applications.

The reasons of this are
The ability to modify the code in runtime, which saves the time of compiling, linking and building the application.You can imagine editing the code that runs on a robot walking on Mars from earth, this actually happened in NASA using LISP, and imagine how difficult this can be if you were using compiled languages.

Usually the dynamic language codes are less complicated than static language codes.
Usually dynamic languages support both Object Oriented and Functional Oriented models of programming.

Portability level is always higher in interpreted languages

Dynamic language syntax is usually easier and shorter if compared with equivalent codes in other compiled language

Monday, February 11, 2008

How to run AX after changing the network domain

Question : I have a system with a clean installation of AX , after I change the domain I am not able to run AX. So i have to reinstall the AX.

Answer :I solved it by editing the UserInfo table, replacing theNetwork user, Network domain and SID fields with values from a user in thenew domain.

Monday, September 10, 2007

Question :
When using index (not using hint) in a select statement without 'GroupBy' or
'OrderBy' in what sequence do the records occur

Answer:
When using Index hint, the index chosen is hinted to the SQL server as the
one that should be used for the query.
(you shouldn't use this unless you are very sure that's the best selective
index there ever will be for the table)

the index (without hint) is interpreted into a simple ORDER BY clause, so
the records will be ordered in the order of the fields from the index.

( you can turn on logging SQL statements and see the actual query being sent
to the server)

More RecId and Id

A RecId is a unique identifier for any record in:
a table (for DAX 4.0)
the entire company (DAX 3.0 and earlier)

RecId is assigned to every record by the kernel of Dynamics AX each time a
record is created.

an ID is not a standard name in DAX, so it's either a customized field added
into the table you are looking into, or just an identifier of an object.

For example, there is a TABLE ID, which is the number of each table in DAX.
A FIELD ID is an integer identifing a field in a table.

etc.

You can make your IDs string as well, for example the NumberSequences work
this way.