Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[139394.0.546866663]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    sanitycheckfeedback := '';
    return UnitOfMeasure_MP::ValidateInput( feedback,
                                            sanitycheckfeedback,
                                            MacroPlan,
                                            EditFieldName.Text(),
                                            guard( DataHolderDialogData.Data().WrappedInstance(), null( UnitOfMeasure_MP ) ),
                                            true /*checkunique*/,
                                            ApplicationMacroPlanner.FormatStringToReal( EditFieldFactor.Text(), log( -1.0 ) )
                                           );
  *]
  QuillAction
  {
    Body:
    [*
      // On ok
      Form.OnOK();
    *]
    GroupServerCalls: false
  }
}
