Quintiq file version 2.0
#parent: pnlToolbar/btnSend
Response OnClick () id:Response_pnlToolbar_btnSend_OnClick
{
  #keys: '[136398.1.388477463]'
  Body:
  [*
    shadowSnapshot :=  dhSnapshot.Data()
    nvt := Kpi_GlobalState.ConvertShadowSnapshotDataToNvt( shadowSnapshot );
    KpiTracker.SnapshotStorage().StoreSnapshot( nvt );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    FeedbackObject::AddHard( not isnull( KpiTracker ), Translations::Kpi_NoDatasetSelected() );
    FeedbackObject::AddHard( not isnull( dhSnapshotSet.Data() ), "Please make sure you have a KpiSnapshotSetData dataset selected." );
    return FeedbackObject::IsAllowed();
  *]
}
