Quintiq file version 2.0
#parent: #root
Method ValidateInput (
  String label,
  Number value,
  output String feedback_o
) as Boolean id:Method_ScenarioManager_DialogResourceManager_ValidateInput
{
  #keys: '[127238.1.248308885]'
  Body:
  [*
    // Validate editor
    
    valid := true;
    
    if ( value <= 0 )
    {
      //Remove &( mnemonic ) from the label
      label := label.ReplaceAll( "&", "");
      feedback_o:= Translations::MP_Designer_ValidateResourceManagerQuantity( label ) ;
      valid := false
    }
    
    return valid;
  *]
}
