Quintiq file version 2.0
#parent: PanelVersionOfSOPHeader/ButtonVersionOfSOPHeaderFresh
Response OnClick () id:Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderFresh_OnClick
{
  #keys: '[412960.0.133611384]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      owner := GlobalOTDTable;
      rootversionid := VersionControl::GetSOPVersionInfo( owner ).Element( 0 );
      DataExtractorVersionOfSOPDetails.FixedFilter( "object.VersionID().FindString( " + rootversionid.AsQUILL() + ", 0 ) = 0" );
      rootversionname := VersionControl::GetSOPVersionInfo( owner ).Element( 1 );
      LabelVersionOfSOPHeader.Text( rootversionname );
      VersionStatus::GetBusinessTypeStatus( owner, rootversionid );
    *]
    GroupServerCalls: false
  }
}
