O'Reilly logo

Mastering Microsoft Dynamics AX 2012 R3 Programming by Mat Fergusson, Simon Buxton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a drop dialog to change vehicle group

We can use a similar pattern to use a drop dialog to update data on a record, the vehicle group in this case.

To do this, the contract and update classes are nearly identical to the earlier status change logic. We are simply updating the vehicle group. The steps required for this are similar as before, except that we will use a drop dialog form instead of menu items. It is not ideal to use menu items, as vehicle groups are defined in data. It is, therefore, far more natural to select the vehicle group with a drop-down list control.

We will be following the same pattern as before, so a summary of the first part of this task is listed as follows:

  1. Create a data contract class called ConFMSVehicleGroupChangeContract ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required