Quintiq file version 2.0
#parent: CheckBoxDefaultMaxQuantity
Response OnUserChange () id:Response_DialogCreateEditTransitionType_CheckBoxDefaultMaxQuantity_OnUserChange
{
  #keys: '[143600.0.1231619699]'
  Body:
  [*
    //Reset the default max quantity value if it is unchecked
    
    if( not this.Checked() )
    {
      EditorDefaultMaxQuantity.Text( '0' );
      Dialog.Data().DefaultMaxQuantity( 0 );
    }
    
    EditorDefaultMaxQuantity.Enabled( this.Checked() );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_CheckBox_OnUserChange'
}
