Quintiq file version 2.0
#parent: abgRequirementPreprocessing/dhRequirementImportExecutionStatus
Response OnDataChanged () id:Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecutionStatus_OnDataChanged
{
  #keys: '[414996.0.387621135]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
  QuillAction
  {
    Body:
    [*
      if ( not isnull( this.Data() ) ) {
        ries := this.Data();
        
        if ( ries.ExecutionCode() = 200 ) {
          WebMessageBox::Success( ries.ExecutionRespMessage() );
          bRequirementUpload.Image( "FLASH" );
          bRequirementUpload.Enabled( true, "" );
        } else if ( ries.ExecutionCode() = 500 ) {
          WebMessageBox::Error( ries.ExecutionRespMessage() );
          bRequirementUpload.Image( "FLASH" );
          bRequirementUpload.Enabled( true, "" );
        } else if ( ries.ExecutionCode() = 501 ) {
          dlg := construct( DialogOverwriteFile );
          ApplicationMacroPlanner.ShowFormModal( dlg );
          bRequirementUpload.Image( "FLASH" );
          bRequirementUpload.Enabled( true, "" );
        } else if ( ries.ExecutionCode() = -1 ) {
          bRequirementUpload.Image( "APPLICATION_STOP" );
          bRequirementUpload.Enabled( false, "" );
        }
        
        this.Data().Delete();
      }
    *]
    GroupServerCalls: false
  }
}
