Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method EnableDisableComponents ( 
 | 
  Boolean enableproductselection 
 | 
) id:Method_DialogCreateEditProductInTrip_EnableDisableComponents 
 | 
{ 
 | 
  #keys: '[133968.0.256820539]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Enable disable components based on dialog mode 
 | 
    if( not enableproductselection ) 
 | 
    { 
 | 
      SelectionProduct.DisableWithUserFeedback( Translations::MP_Designer_DialogCreateEditProductInTrip_DisableProductSelection() ) 
 | 
    } 
 | 
  *] 
 | 
} 
 |