Showing posts with label ax7. Show all posts
Showing posts with label ax7. Show all posts

Wednesday, 11 January 2017

Install an application x++ hotfix [AX7]

Microsoft has document this well on the wiki but can be confusing for first time. Also, things are improving and sometimes hard to keep up.

This is what you see on LCS when updates are available.

image

This wiki page walks you through the steps for applying a Microsoft Dynamics AX deployable package on a Dynamics AX system. This package can be either a binary hotfix for Application Object Server (AOS) or a deployable package that was created in your development environment.

Apply a deployable package on a Dynamics AX system



The most misunderstood part is the application x++ updates. What you are downloading from LCS is the x++ code. You are not downloading a deployable packages. A deployable package is a compile output that you can use to install to your none development machines.

Below link guides you how to install it.

Install a metadata hotfix


Below is how you do it using the visual studio addin rather than command line. Saves you a bit of time.

Click on Addins > Apply Hotfix

image

It defaults the parameters but you have to browse and select your file.

image

Visual studio will try to process. You can see Task manager to see that it has kicked it off.

image

It may take a few minutes but you will get a message.

image

Check that it has been applied.

image

Important:
  • Addins can change at any time. So, learn the proper way from the Microsoft Wikis. Know what it is doing.
  • You can create your own addins to improve tooling. That is why Visual studio is so great.

Install an application x++ hotfix [AX7]

Microsoft has document this well on the wiki but can be confusing for first time. Also, things are improving and sometimes hard to keep up.

This is what you see on LCS when updates are available.

image

This wiki page walks you through the steps for applying a Microsoft Dynamics AX deployable package on a Dynamics AX system. This package can be either a binary hotfix for Application Object Server (AOS) or a deployable package that was created in your development environment.

Apply a deployable package on a Dynamics AX system



The most misunderstood part is the application x++ updates. What you are downloading from LCS is the x++ code. You are not downloading a deployable packages. A deployable package is a compile output that you can use to install to your none development machines.

Below link guides you how to install it.

Install a metadata hotfix


Below is how you do it using the visual studio addin rather than command line. Saves you a bit of time.

Click on Addins > Apply Hotfix

image

It defaults the parameters but you have to browse and select your file.

image

Visual studio will try to process. You can see Task manager to see that it has kicked it off.

image

It may take a few minutes but you will get a message.

image

Check that it has been applied.

image

Important:
  • Addins can change at any time. So, learn the proper way from the Microsoft Wikis. Know what it is doing.
  • You can create your own addins to improve tooling. That is why Visual studio is so great.

AX 7 Working with Version control

This is the landing page for setting up your development environment with version control.


This is relatively easy and setting up a new solution/project works without a problem. In this post,I want to highlight a little gotcha. If you open up a solution and notice the project isn’t bound to version control. i.e. No padlock icon, not able to check out

Then it looks like you may have to bind the solution. Open up the solution using source control explorer. You should get this message asking you to bind it. Click on Yes and follow it.

image

Following screen you get.

image

Otherwise, create a new solution that and make sure to tick the “Add to version control” flag in the dialog.

AX 7 Working with Version control

This is the landing page for setting up your development environment with version control.


This is relatively easy and setting up a new solution/project works without a problem. In this post,I want to highlight a little gotcha. If you open up a solution and notice the project isn’t bound to version control. i.e. No padlock icon, not able to check out

Then it looks like you may have to bind the solution. Open up the solution using source control explorer. You should get this message asking you to bind it. Click on Yes and follow it.

image

Following screen you get.

image

Otherwise, create a new solution that and make sure to tick the “Add to version control” flag in the dialog.

Dynamics AX 7 Development I – Create a model

With the recent release of AX7 CTP8 public preview there are a lot of things to learn. I thought I would do some basic series of tutorials to explain a few concepts and how to get around for developers.
In this first one I will explain how to create a model.

Click on Dynamics AX > Model Management > Create model

image_thumb12

Follow the wizard by entering a name and a publisher

image_thumb4

This is very important if you want to create extensions or if you want to customise existing functionality by over-layering (which we try to avoid as much as we can).

image_thumb6

After you finished you can create a new project in that model.

image_thumb8

In the Application Explorer there are two views
  • Model View – Shows the AOT divided into its models. Each model has its own subset of the AOT (elements that belong in the model)
  • Classic View – Shows a single AOT classic view we are used to
You will notice in the Packages folder that the model folder was created under the application suite.

image_thumb13

Good reference material available under the wiki site

Dynamics AX 7 Development I – Create a model

With the recent release of AX7 CTP8 public preview there are a lot of things to learn. I thought I would do some basic series of tutorials to explain a few concepts and how to get around for developers.
In this first one I will explain how to create a model.

Click on Dynamics AX > Model Management > Create model

image_thumb12

Follow the wizard by entering a name and a publisher

image_thumb4

This is very important if you want to create extensions or if you want to customise existing functionality by over-layering (which we try to avoid as much as we can).

image_thumb6

After you finished you can create a new project in that model.

image_thumb8

In the Application Explorer there are two views
  • Model View – Shows the AOT divided into its models. Each model has its own subset of the AOT (elements that belong in the model)
  • Classic View – Shows a single AOT classic view we are used to
You will notice in the Packages folder that the model folder was created under the application suite.

image_thumb13

Good reference material available under the wiki site

Thursday, 17 November 2016

Payment advice in AX7

Payment advice has now been added to the Print management setup now. This is a nice addition.

image

New button under the payment journal lines form. Payment advice button is only enabled if the Payment status is sent.

image

Dialog populates with the Vendor and Bank but you can clear it out to run for all lines.

image

Payment advice report on screen.

image

Payment advice in AX7

Payment advice has now been added to the Print management setup now. This is a nice addition.

image

New button under the payment journal lines form. Payment advice button is only enabled if the Payment status is sent.

image

Dialog populates with the Vendor and Bank but you can clear it out to run for all lines.

image

Payment advice report on screen.

image

Schedule Azure machines on and off

image
I friend of mine recommended this cool tool for scheduling machines on Azure. This is really good for saving Azure credit. You can schedule to turn on a machine before you start work and turn it off after work. Make sure it turns off over the week, incase you have forgotten.
Here is how simple it is. Connect up and select your machine. Then schedule.


Plus they have a FREE plan.

Schedule Azure machines on and off

image
I friend of mine recommended this cool tool for scheduling machines on Azure. This is really good for saving Azure credit. You can schedule to turn on a machine before you start work and turn it off after work. Make sure it turns off over the week, incase you have forgotten.
Here is how simple it is. Connect up and select your machine. Then schedule.


Plus they have a FREE plan.

Install an application x++ hotfix [AX7]

Microsoft has document this well on the wiki but can be confusing for first time. Also, things are improving and sometimes hard to keep up.

This is what you see on LCS when updates are available.

image

This wiki page walks you through the steps for applying a Microsoft Dynamics AX deployable package on a Dynamics AX system. This package can be either a binary hotfix for Application Object Server (AOS) or a deployable package that was created in your development environment.

Apply a deployable package on a Dynamics AX system

https://ax.help.dynamics.com/en/wiki/apply-a-deployable-package-on-a-dynamics-ax-system/
The most misunderstood part is the application x++ updates. What you are downloading from LCS is the x++ code. You are not downloading a deployable packages. A deployable package is a compile output that you can use to install to your none development machines.
Below link guides you how to install it.

Install a metadata hotfix

https://ax.help.dynamics.com/en/wiki/configuring-and-installing-a-metadata-hotfix-package/
Below is how you do it using the visual studio addin rather than command line. Saves you a bit of time.

Click on Addins > Apply Hotfix
image

It defaults the parameters but you have to browse and select your file.

image

Visual studio will try to process. You can see Task manager to see that it has kicked it off.

image

It may take a few minutes but you will get a message.

image

Check that it has been applied.

image
Important:
  • Addins can change at any time. So, learn the proper way from the Microsoft Wikis. Know what it is doing.
  • You can create your own addins to improve tooling. That is why Visual studio is so great.

Change password of web config file [AX 7]

It is good practice to change the Administrator password. You might want to be extra secure and also change the other accounts (service accounts).

You will notice that the web config file is encrypted when it comes to passwords.

image
You can use the following commands to encrypt/decrypt the file.


To decrypt run this command:
C:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Framework.ConfigEncryptor.exe -decrypt C:\AOSService\webroot\web.config


To encrypt run this command:
C:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Framework.ConfigEncryptor.exe -encrypt C:\AOSService\webroot\web.config

If you make changes you may need to reboot the machine. Restarting IIS didnt work for me when I changed the passwords.

Change password of web config file [AX 7]

It is good practice to change the Administrator password. You might want to be extra secure and also change the other accounts (service accounts).

You will notice that the web config file is encrypted when it comes to passwords.

image
You can use the following commands to encrypt/decrypt the file.


To decrypt run this command:
C:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Framework.ConfigEncryptor.exe -decrypt C:\AOSService\webroot\web.config


To encrypt run this command:
C:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Framework.ConfigEncryptor.exe -encrypt C:\AOSService\webroot\web.config

If you make changes you may need to reboot the machine. Restarting IIS didnt work for me when I changed the passwords.

Install an application x++ hotfix [AX7]

Microsoft has document this well on the wiki but can be confusing for first time. Also, things are improving and sometimes hard to keep up.

This is what you see on LCS when updates are available.

image

This wiki page walks you through the steps for applying a Microsoft Dynamics AX deployable package on a Dynamics AX system. This package can be either a binary hotfix for Application Object Server (AOS) or a deployable package that was created in your development environment.

Apply a deployable package on a Dynamics AX system

https://ax.help.dynamics.com/en/wiki/apply-a-deployable-package-on-a-dynamics-ax-system/
The most misunderstood part is the application x++ updates. What you are downloading from LCS is the x++ code. You are not downloading a deployable packages. A deployable package is a compile output that you can use to install to your none development machines.
Below link guides you how to install it.

Install a metadata hotfix

https://ax.help.dynamics.com/en/wiki/configuring-and-installing-a-metadata-hotfix-package/
Below is how you do it using the visual studio addin rather than command line. Saves you a bit of time.

Click on Addins > Apply Hotfix
image

It defaults the parameters but you have to browse and select your file.

image

Visual studio will try to process. You can see Task manager to see that it has kicked it off.

image

It may take a few minutes but you will get a message.

image

Check that it has been applied.

image
Important:
  • Addins can change at any time. So, learn the proper way from the Microsoft Wikis. Know what it is doing.
  • You can create your own addins to improve tooling. That is why Visual studio is so great.