Quintiq file version 2.0
#parent: #root
Method EnableDisableMaxQuantity (
  String text
) id:Method_DialogCreateEditCampaignType_EnableDisableMaxQuantity
{
  #keys: '[146140.2.68279201]'
  Body:
  [*
    // Reset the default max quantity value if it is unchecked
    
    if( text = Translations::MP_WebDesigner_Disable() )
    {
      EditFieldDefaultMaxQty.Text( '0' );
    }
    
    EditFieldDefaultMaxQty.Enabled( text = Translations::MP_WebDesigner_Enable(), '' );
  *]
}
