Indlæg

Viser indlæg fra 2016

Axapta Manager (AxDynManagerV1.02)

Billede
I previously made a program to list, start and stop Dynamics AX Services. But i always thought that is missed a few features, so now I am starting on this new version. (Download link
This is version 1.02 see change list at the end of the post.
This version will still handle list, start and stop of services, but also restart of services, and it will also support multiple servers.
And as something new i have added the possibility to start your Dynamics AX from the program, supporting multiple configurations.

The program is tested for AX 2009 and AX 2012.
When you start the program this is what you will see:
On the left you will see the list of services that you have, and on the right the list of possible AX configurations.
Config menu.
Under the menu item, Tools/Config, you can change the programs settings.
Here you can add/remove computers to look for services on.
To remove a computer from the list, double click on the item. To add a computer, input its name in the text box, and press the &qu…

Axapta Manager (AxDynManagerV1.01)

Billede
I previously made a program to list, start and stop Dynamics AX Services. But i always thought that is missed a few features, so now I am starting on this new version. (Download link
This is version 1.01 see change list at the end of the post.
This version will still handle list, start and stop of services, but also restart of services, and it will also support multiple servers.
And as something new i have added the possibility to start your Dynamics AX from the program, supporting multiple configurations.

The program is tested for AX 2009 and AX 2012.
When you start the program this is what you will see:
On the left you will see the list of services that you have, and on the right the list of possible AX configurations.
Config menu.
Under the menu item, Tools/Config, you can change the programs settings.
Here you can add/remove computers to look for services on.
To remove a computer from the list, double click on the item. To add a computer, input its name in the text box, and press the &qu…

Axapta Manager (AxDynManagerV1.00)

Billede
I previously made a program to list, start and stop Dynamics AX Services. But i always thought that is missed a few features, so now I am starting on this new version. (Download link)
This version will still handle list, start and stop of services, but also restart of services, and it will also support multiple servers.
And as something new i have added the possibility to start your Dynamics AX from the program, supporting multiple configurations.

The program is tested for AX 2009 and AX 2012.
When you start the program this is what you will see:
On the left you will see the list of services that you have, and on the right the list of possible AX configurations.
Config menu.
Under the menu item, Tools/Config, you can change the programs settings.
Here you can add/remove computers to look for services on.
To remove a computer from the list, double click on the item. To add a computer, input its name in the text box, and press the "Add" button, or enter. The refresh field controls how …

Show AX Compile progress (AXCompileProgressV1.00)

Billede
For some time now i wanted a tool that would show me the progress of a Compilation in AX, so i made this little tool.

It uses the AOT compile log, that you can enable in AX2012, by going to Tools\Options\Development\Compiler


And put a tick in AOT log:
Ax will now generate a compilation log in the given folder named AOTComp.log
Now my program will look at that logfile and from that calculate and show a progress bar for the compilation progress.
Right now the program might be very buggy since this is the first version, and also it will only look for the logfile under the current users Microsoft\Dynamics AX\Log folder, but i will change that in later versions.
Also the program needs to "run as Administrator", i will see if i can fix that also.

You can download the program from this link (AXCompileProgressV1.00.zip)

Please do leave a comment if you find the program useful, have a bug or a suggestion for a change.

Dynamics AX use of the startupcmd parameter

If you start ax32.exe with -startupcmd you can use this to automate some tasks.

Like for instance this command will perform a full compile of all elements in AX.
ax32.exe -startupcmd=CompileAll

Here is a full list of all the startupcmd parameters in AX2009 and AX2012.
The code that controls this can be found in Class SysStartupCmd method construct.
You can also add your own commands by adding them to this method.


Command AX2009 Command AX2012 Usage setbuildno setbuildno Updates the version information text in the About Microsoft Dynamics AX dialog  updatebuildno updatebuildno Synchronize the Build Number Between the Application and Database  synchronize synchronize Synchronizes the data dictionary  compileall compileall Compiles the application  compilepartial Compiles the application and updates Crossreference  compilemodel Compiles a specific model

Define Elements in Excel and create them in AX. (DevCreateV1.06)

Just a quick update of this project to V1.06, so the code is now tested on AX2012.
It might also work on AX4, but did not test that.

As always you are welcome to leave a comment to tell me what you think.
All suggestions for improvements or other projects are welcome.

Download from here (link)
File contains one AX2009 private project.
After import look at job DevCreate_NOTES for documentation.

Define Elements in Excel and create them in AX. (DevCreateV1.05)

I made this little tool that creates Elements in AX based on definitions in an Excel sheet.

I found that when I was creating Tables for solutions I always liked to define them in an Excel sheet first, to get an overview before actually creating the elements in AX.

And then when I was done defining the solution, and had to create the Elements by hand in AX, I always thought if only I could feed this Excel sheet to AX, and create the elements automatically.

So well the idea of this tool was born, and now I have the first version of it ready.

Now it might be a little buggy still, and the code is not all that nice, but it's better than nothing.

And also I have only tested in on AX2009 for now. (AX2012 coming ASAP and then perhaps AX7)

As always you are welcome to leave a comment to tell me what you think.
All suggestions for improvements or other projects are welcome.

Download from here (link)
File contains one AX2009 private project, after import look at job DevCreate_NOTES for docum…

Export Elements Tools V1.06

This Class is made to Export all or most recent changes to element in Dynamics AX.

The Class runs through UtilElements and selects records based on Current User, modifiedDateTime and createdDateTime and then exports the changed elements to a folder.

The file name of the exported elements are based on Element type, Element name, version and export version. (Version is taken from UtilElements, and export version is an internal variable that is incremented with each export.)

When running the class you are prompted for Directory (Where to put the exported file) and Processing Date (Used to query against modifiedDateTime and createdDateTime)

The Class saves some data in SysLastValue

----------- SETUP -----------
In classDeclaration there is a macro #AXVER that has to be set to the right version of AX, to make the class work.

---------- DOWNLOAD ----------
You can download the latest version of the Class here, works on AX4, AX2009 and AX2012
Download Link

---------- CHANGELOG ----------
1.00…