Quintiq file version 2.0
#parent: ListComponentPosition
Response OnClick (
  structured[LibOpt_BreakpointPosition] selection
) id:Response_ListComponentPosition_MenuSetConditionalDatasetCopy_OnClick_933
{
  #keys: '[141860.2.216800969]'
  Body:
  [*
    dlg := construct( LibOpt_DialogConditionalTypes );
    type := dlg.SelectConditionalType( this,
                                       typeof( LibOpt_DatasetCopyConditional ),
                                       typeof( LibOpt_DatasetCopyConditionalNotSelectable ) 
                                       );
    if( not isnull( type ) )
    {
      LibOpt_BreakpointPosition::SetDatasetCopy( selection, type.Name() );
    }
  *]
  CanBindMultiple: false
  DefinitionID => /ListComponentPosition/Responsedef_ListComponentPosition_Menu_OnClick
  Initiator: 'MenuSetConditionalDatasetCopy'
  Precondition:
  [*
    return LibOpt_BreakpointPosition::SetDatasetCopyAllowed( selection );
  *]
}
