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: