Quintiq file version 2.0
#parent: ListConversionFactor
Response OnClick (
  UnitOfMeasure_MP masterselection
) id:Response_ListConversionFactor_MenuNewConversionFactor_OnClick
{
  #keys: '[113694.1.905879013]'
  Body:
  [*
    // New conversion factor
    dlg := construct( DialogCreateEditConversionFactor );
    dlg.NewConversionFactor( this, masterselection, null( UnitOfMeasure_MP ), false );
    
    Form.ForceRepaintMatrixEditor();
  *]
  CanBindMultiple: false
  DefinitionID => /ListConversionFactor/Responsedef_ListConversionFactor_Menu_OnClick
  Initiator: 'MenuNewConversionFactor'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback )
           and BaseConversionFactor::CanCreate( MacroPlan, feedback );
  *]
}
