Quintiq file version 2.0
#parent: grpSnapshotGenerators/btnCreateSnapshotFromPointer
Response OnClick (
  structured[KpiSnapshotGeneratorPointer] selection
) id:Response_grpSnapshotGenerators_btnCreateSnapshotFromPointer_OnClick_980
{
  #keys: '[136398.1.627167017]'
  Body:
  [*
    traverse( selection, Elements, pointer )
    {
      pointer.CreateSnapshot();
    }
  *]
  CanBindMultiple: false
  DefinitionID => /grpSnapshotGenerators/Responsedef_grpSnapshotGenerators_btnCreateSnapshotFromPointer_OnClick
  Precondition:
  [*
    FeedbackObject::AddHard( selection.Size() > 0, "Please select a generator from the list." );
    return FeedbackObject::IsAllowed();
  *]
}
