Quintiq file version 2.0
#parent: #root
Method OnUserUpdateUI (
  Unit unit
) id:Method_DialogCreateEditCampaignType_OnUserUpdateUI
{
  #keys: '[139394.0.1629064358]'
  Body:
  [*
    // When user changes fields in the dialog
    ApplicationMacroPlanner.SetID( EditFieldName,
                                   unit.Name(),
                                   EditFieldName.Text(),
                                   DropDownListUnit.Data().Name() );
    // Update uom
    this.UpdateUoM();
  *]
}
