Quintiq file version 2.0
#parent: ListLibOpt_SnapshotReplannable
Response OnClick (
  structured[LibOpt_SnapshotReplannableCopyDataset] selection
) id:Response_ListLibOpt_SnapshotReplannable_MenuUnloadDataset_OnClick
{
  #keys: '[141860.2.581305957]'
  Body:
  [*
    // Unload the datasets that are attached to the LibOpt_SnapshotReplannableCopyDatasets
    LibOpt_GlobalState.UnloadDataset( selection );
  *]
  CanBindMultiple: false
  DefinitionID => /ListLibOpt_SnapshotReplannable/Responsedef_ListLibOpt_SnapshotReplannable_Menu_OnClick
  Initiator: 'MenuUnloadDataset'
  Precondition:
  [*
    return LibOpt_GlobalState.UnloadDatasetAllowed( selection );
  *]
}
