Quintiq file version 2.0
#parent: PanelButtons/ButtonOK
Response OnClick () id:Response_PanelButtons_ButtonOK_OnClick
{
  #keys: '[136398.1.659162286]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  Precondition:
  [*
    data := DataHolderKpiMetaData.Data();
    return KpiMetaData::CanSave( KpiTracker.KpiMetaDataFactory(), 
                                 data.WrappedInstance(), 
                                 EditFieldName.Text(), 
                                 EditFieldDisplayName.Text(),
                                 EditDescription.Text(),
                                 data.IsMaximize(),
                                 data.IsMinimize(),
                                 EditFieldUnitOfMeasure.Text() );
  *]
  UserRequiresReadWrite: true
  QuillAction
  {
    Body:
    [*
      Form.ApplyChanges();
      data := DataHolderKpiMetaData.Data();
      data.Commit();
      Form.Close();
    *]
  }
}
